fix: Update ExtraEIP parameter format for EVM v0.2.0 compatibility #118
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Problem
Following the migration from
pushchain/evmv0.1.0 to v0.2.0, the format for passingExtraEIPparameters has changed, causing EVM transaction failures.Previous format (v0.1.0):
New format (v0.2.0):
Impact
The format mismatch caused the EVM interpreter to misinterpret the string
"ethereum_3855"as individual ASCII character codes (101, 104, 114, 117, 95, 56, 53), resulting in multiple EIP activation failures:Solution
Updated EVM parameters to use the new integer-based format for EIP specification. Modified the upgrade handler to properly handle this breaking change from the EVM library migration.
References
Changes
ExtraEIPparameter format to match v0.2.0 specificationTesting
go test ./...Checklist