-
Notifications
You must be signed in to change notification settings - Fork 998
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
Set execution params to presets #2702
Conversation
Second thought: the assertion would be incorrect if minimal preset value is different from the mainnet preset value. I can revert it if they are likely to be changed. |
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.
nice work!
i agree w/ you that we would need to extend the hardcoded constants handling to respect presets
and in my opinion doing that work doesn't pull its own weight
the other change should definitely be merged in -- nice catch!
@@ -64,7 +63,7 @@ Additionally, this upgrade introduces the following minor changes: | |||
| `Transaction` | `ByteList[MAX_BYTES_PER_TRANSACTION]` | either a [typed transaction envelope](https://eips.ethereum.org/EIPS/eip-2718#opaque-byte-array-rather-than-an-rlp-array) or a legacy transaction| | |||
| `ExecutionAddress` | `Bytes20` | Address of account on the execution layer | | |||
|
|||
## Constants | |||
## Preset |
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.
ah nice catch on these!
@ralexstokes Thanks for the review! I reverted the |
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.
thanks for the update!
lgtm!
Spec builder fixes:
Add spec builder assertions to avoid Update max transaction size in setup.py #2701 issue happening againIt will addassert MAX_BYTES_PER_TRANSACTION == uint64(1073741824)
to the spec.