-
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
Handle unknown transaction variants gracefully (consensus params, tx types, block headers) #1477
Comments
6 tasks
@Voxelot Is the idea here to ignore unsupported items and print a warning?
|
4 tasks
This was referenced Sep 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are numerous areas of the transaction format that are extendable / upgradeable. Without proper handling, any new types added onto the spec could cause total failure for SDK users on older versions.
Nonexhaustive list of additive changes that could break existing SDK versions:
Without handling for these new and unknown types in the SDKs, a purely additive network change could instantly break apps like:
On the Rust side, this likely requires something along the lines of a default unknown enum variant such as:
TODO:
The text was updated successfully, but these errors were encountered: