-
Notifications
You must be signed in to change notification settings - Fork 11
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: implement 0x4a: blob_base_fee #247
base: main
Are you sure you want to change the base?
Conversation
837cba5
to
f93ed0b
Compare
local state: model.State*; | ||
%{ block %} | ||
%{ state %} | ||
// Given |
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.
// Given |
def test_should_push_blob_base_fee(self, cairo_run): | ||
block_ = block() | ||
[blob_base_fee] = cairo_run( | ||
"test__exec_blob_base_fee", block=block_, state=State.model_validate({}) |
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.
Why pass an empty State and call the %{ state %}
hint ? Seems not necessary
You could add in the cairo code let state = State.init()
directly
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 don't want to introduce reliance on the Cairo function to generate an empty state, I want to be able to pass any state from python
Closes #167