-
Notifications
You must be signed in to change notification settings - Fork 581
feat(avm): mutate global gas fees and timestamp #19500
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
feat(avm): mutate global gas fees and timestamp #19500
Conversation
de767ba to
9c68c49
Compare
e517ae5 to
2b391cc
Compare
9c68c49 to
fe0022e
Compare
2b391cc to
71f03ad
Compare
fe0022e to
ed25916
Compare
71f03ad to
34a2239
Compare
Flakey Tests🤖 says: This CI run detected 2 tests that failed, but were tolerated due to a .test_patterns.yml entry. |
ed25916 to
23929ad
Compare
34a2239 to
09fab16
Compare
| // This is just mutating the gas values and timestamp | ||
| mutate_uint64_t(tx_data.global_variables.timestamp, rng, BASIC_UINT64_T_MUTATION_CONFIGURATION); | ||
| mutate_gas_fees(tx_data.global_variables.gas_fees, rng); | ||
| // This must be less than or equal to the tx max fees per gas |
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.
Modulo instead of min?
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.
i think i want min so that gas_fees <= max_fees_per_gas
09fab16 to
f02fa60
Compare
23929ad to
ed98aa8
Compare
5864a4d to
4221ba3
Compare
4221ba3 to
a21f4d8
Compare

Very very simple mutations for globals