Module forest_filecoin::eth::eip_155_transaction
source · Structs§
- Description from Lotus:
EthLegacyEip155TxArgs
is a legacy Ethereum transaction that uses the EIP-155 chain replay protection mechanism by incorporating theChainId
in the signature. See how theV
value in the signature is derived from theChainId
at https://github.com/ethereum/go-ethereum/blob/86a1f0c39494c8f5caddf6bd9fbddd4bdfa944fd/core/types/transaction_signing.go#L424 ForEthLegacyEip155TxArgs
, the digest that is used to create a signed transaction includes theChainID
but the serializedRLP
transaction does not include theChainID
as an explicit field. Instead, theChainID
is included in the V value of the signature as mentioned above. - Builder for
EthLegacyEip155TxArgs
.
Enums§
- Error type for EthLegacyEip155TxArgsBuilder
Constants§
Functions§
- Returns the valid signature lengths for EIP-155 transactions. The length is based on the chain ID and the V value in the signature.