-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hyperspace nv20: upgrade and migration. #10243
Hyperspace nv20: upgrade and migration. #10243
Conversation
1f175fe
to
bd63953
Compare
We probably want the non-Hyperspace specific parts of this commit on release/v1.20.0, as it cleans up event handling more generally.
00b191e
to
e8fd766
Compare
e43a1cc
to
f189abf
Compare
Otherwise we may, e.g., try to estimate gas on a message to an f4 address before the nv18 migration. I'm _not_ checking the "prior messages" here as this is just a sanity check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broadly looks good to me -- didn't look too closely at the events changes, but everything else looks like this will be a successful upgrade :)
return nil, nil | ||
} | ||
|
||
// Hyperspace nv20: we peek into the events array to figure out if these |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is highlighting an issue with this API. I'm not sure what the right fix is, but this is going to be painful going forward if/when we change the events structure.
Co-authored-by: Łukasz Magiera <[email protected]> Co-authored-by: Raúl Kripalani <[email protected]>
…ge-validity fix: stmgr: check message validity before invoking vm
This: - Improves error handling when the FFI is passed invalid messages. - Updates the FVM.
chore: ffi: update the FFI
This reverts commit 2bbd1fb.
fix: stmgr: copy the message before modifying it
This PR adds support for Hyperspace's network version 20.
Depedencies-wise:
Functionality-wise:
ChainGetEvents
to load events. This makes it easy to centralise the "upgrade" logic when reading old events from the store.Test plan:
See #10240.