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

ethclient: apply accessList field in toCallArg #28832

Merged
merged 3 commits into from
Jan 19, 2024
Merged

Conversation

colinlyguo
Copy link
Contributor

@colinlyguo colinlyguo commented Jan 18, 2024

This PR aims to add support for the accessList field in the eth_call and eth_estimateGas Ethereum JSON-RPC methods. According to the JSON-RPC specification, the input parameter named Transaction for both eth_call and eth_estimateGas is $ref: '#/components/schemas/GenericTransaction', which can include the accessList field.

ref:
eth_call: https://github.com/ethereum/execution-apis/blob/main/src/eth/execute.yaml#L7
eth_estimateGas: https://github.com/ethereum/execution-apis/blob/main/src/eth/execute.yaml#L22
accessList in GenericTransaction: https://github.com/ethereum/execution-apis/blob/main/src/schemas/transaction.yaml#L404

ethclient/ethclient.go Outdated Show resolved Hide resolved
@fjl fjl changed the title feat: add accessList field in toCallArg ethclient: apply accessList field in toCallArg Jan 19, 2024
@fjl fjl added this to the 1.13.11 milestone Jan 19, 2024
@fjl fjl merged commit 1c48829 into ethereum:master Jan 19, 2024
2 of 3 checks passed
Dergarcon pushed a commit to specialmechanisms/mev-geth-0x2mev that referenced this pull request Jan 31, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 6, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 9, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 9, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 9, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 10, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 12, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 12, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 12, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 19, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 19, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 19, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 21, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 22, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 22, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 23, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 23, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 26, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 26, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Sep 27, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Oct 9, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Oct 17, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Oct 18, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Oct 25, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Oct 25, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Oct 29, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Oct 30, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Oct 31, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Oct 31, 2024
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Nov 1, 2024
wanwiset25 pushed a commit to XinFinOrg/XDPoSChain that referenced this pull request Nov 13, 2024
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.

2 participants