-
Notifications
You must be signed in to change notification settings - Fork 3
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
added tests for batch operations #331
Conversation
df600e6
to
d089113
Compare
""" | ||
account = self.accounts[0] | ||
evm_version: Version = self.web3_client.get_evm_version_number() | ||
data_or_input_field_name = "data" if evm_version < Version("1.13.0") else "input" |
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.
Can you please explain why this condition is here?
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.
the up-to-date documentation states that eth_call params expect field "input"
https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_call
but it turned out that with older evm versions, the field has to be "data"
ethereum/go-ethereum#28608 (comment)
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.
but it's not our evm version
it's go ethereum
You check version or neon evm
You can check here only current behavior
self, | ||
request: pytest.FixtureRequest, | ||
common_contract, | ||
json_rpc_client: JsonRPCSession, |
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.
looks like you don't use json_rpc_client here and common_contract
d089113
to
f63acae
Compare
8abef21
to
8417e07
Compare
8417e07
to
4d725a8
Compare
No description provided.