-
Notifications
You must be signed in to change notification settings - Fork 14
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: calldata environment opcodes #504
base: main
Are you sure you want to change the base?
Conversation
48f35b7
to
11fe8e1
Compare
message_empty_except_calldata = st.builds( | ||
Message, | ||
caller=st.just(address_zero), | ||
target=st.just(address_zero), | ||
current_target=st.just(address_zero), | ||
gas=st.just(Uint(0)), | ||
value=st.just(U256(0)), | ||
data=code, | ||
code_address=st.none(), | ||
depth=st.just(0), | ||
should_transfer_value=st.booleans(), | ||
is_static=st.booleans(), | ||
accessed_addresses=st.just(set()), | ||
accessed_storage_keys=st.just(set()), | ||
parent_evm=st.none(), | ||
) | ||
|
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.
should we do a MessageBuilder instead?
and call EvmBuilder().with_message(Message_builder.with_calldata(code).build).build()) ?
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.
Indeed, might be better
Will work on it
Closes #481