Skip to content

gasLimit should be gas #299

@MicahZoltu

Description

@MicahZoltu

{ 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

No one assigned

    Labels

    enhancementNew feature or improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions