Skip to content
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

evm: Add input to eth_call #2051

Merged
merged 4 commits into from
Jun 12, 2023
Merged

evm: Add input to eth_call #2051

merged 4 commits into from
Jun 12, 2023

Conversation

shohamc1
Copy link
Contributor

@shohamc1 shohamc1 commented Jun 12, 2023

@shohamc1 shohamc1 requested a review from Jouzo June 12, 2023 08:07
Jouzo
Jouzo previously approved these changes Jun 12, 2023
@shohamc1 shohamc1 requested review from Jouzo and prasannavl June 12, 2023 08:38
lib/ain-grpc/src/rpc/eth.rs Outdated Show resolved Hide resolved
@kuegi
Copy link
Contributor

kuegi commented Jun 12, 2023

IMHO input is also needed for a normal SC transaction. web3.js sends it on every txs alongside data

@prasannavl
Copy link
Member

Thanks for this catch @kuegi. Yes, input seems to be the new data type. data is just maintained for compatibility.

This is will amended throughout the usages of Txs in the spec. Just going ahead and merging call part at the moment.

@prasannavl prasannavl merged commit b6fc510 into master Jun 12, 2023
@prasannavl prasannavl deleted the evm/call-input branch June 12, 2023 15:19
kuegi added a commit to kuegi/ain that referenced this pull request Jun 14, 2023
prasannavl added a commit that referenced this pull request Jun 16, 2023
* add `input` to eth_sendTransaction

same reason as in #2051

* fmt

* cleaner way

---------

Co-authored-by: Prasanna Loganathar <[email protected]>
canonbrother pushed a commit that referenced this pull request Jun 19, 2023
* add `input` to eth_sendTransaction

same reason as in #2051

* fmt

* cleaner way

---------

Co-authored-by: Prasanna Loganathar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EVM: standard (?) field input not allowed in eth transaction
4 participants