-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Unable to send transactions using cast send
on Arbitrum One and Arbitrum Testnet
#1461
Comments
Does your ledger support Arbitrum One? It seems this error is directly from your ledger |
Yes. I tested sending the same transaction to Arbitrum One using (ethers.js + Ledger) and (remix + Metamask (+ledger)) stacks, and it was successful. I use Ledger Nano S with Ethereum App for signing. The error above came from RPC node after |
I have found the issue. It is about I also have proposed a solution in this PR, gakonst/ethers-rs#1204, which is the same solution used by Ledger's JavaScript Library. |
I tested on Arbitrum testnet and Rinkeby and it was successful 🎉 . I am going to close the issue for now, but feel free to re-open it if the issue still persist. cast send --chain="arbitrum-testnet" --rpc-url="https://rinkeby.arbitrum.io/rpc" --gas=2000000 --ledger --hd-path="m'/44'/60'/3'/0/0" 0x0000000000000000000000000000000000000066 "register(address)" 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac
cast send --chain="rinkeby" --rpc-url="https://rinkeby.infura.io/v3/<api>" --gas=2000000 --ledger --hd-path="m'/44'/60'/3'/0/0" --value=0.001ether vitalik.eth |
I think the |
Ah yes, I copied the command that was used before found the cause of this issue just for controlling variables. |
Component
Cast
Have you ensured that all of these are up to date?
What version of Foundry are you on?
cast 0.2.0 (dda0189 2022-04-30T00:13:42.850610+00:00)
What command(s) is the bug in?
cast send --chain "arbitrum" --rpc-url "https://arb1.arbitrum.io/rpc" --ledger --hd-path "m'/44'/60'/3'/0/0" --value 0.001ether [Receiver Address]
Operating System
macOS (M1)
Describe the bug
When
cast send
is used to send an arbitrary transaction e.g. send some ether to someone, it always fail on Arbitrum One and Arbitrum testnet chains. The Error after senteth_sendRawTransaction
request is as follow.I'm not sure whether transaction encoding format used by Arbitrum is different from other chains.
The text was updated successfully, but these errors were encountered: