-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
enhancementNew feature or improvement.New feature or improvement.
Description
ethers.js/src.ts/utils/transaction.ts
Line 71 in 9b118af
| { name: 'gasLimit', maxLength: 32 }, |
https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sendtransaction
https://wiki.parity.io/JSONRPC-eth-module#eth_sendtransaction
https://wiki.parity.io/JSONRPC-eth-module#eth_signtransaction
Notice that both Geth and Parity documentation call the parameter gas, but Ethers calls it gasLimit. This means if I construct a transaction such that Geth or Parity will accept it, I cannot use Ethers wallet to sign it. Inversely, if I construct a transaction such that Ethers can sign it, Geth/Parity will not accept it as valid (I believe, I haven't tested giving them gasLimit instead of gas).
I believe MetaMask also expects gas for signing, but I have not confirmed this.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement.New feature or improvement.