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] e2e test to ensure setting Chain ID works #1031

Open
gztensor opened this issue Nov 27, 2024 · 1 comment
Open

[EVM] e2e test to ensure setting Chain ID works #1031

gztensor opened this issue Nov 27, 2024 · 1 comment
Assignees

Comments

@gztensor
Copy link
Contributor

The JS test is needed to verify that the new extrinsic in admin-utils pallet set_evm_chain_id in fact changes the chain ID that Ethereum RPC returns for eth_chainId request. Currently the verification is done manually using this cli command:

curl http://localhost:9944/ -X POST -H "Content-Type: application/json" --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}'
@open-junius open-junius self-assigned this Nov 28, 2024
@open-junius
Copy link
Contributor

New test case is added in substrate js test repo, the e2e test is ok against feat/admin-set-evm-chain-id branch.

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

No branches or pull requests

2 participants