mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
docs: correct encode_for_signing docs (#7973)
This commit is contained in:
@ -193,7 +193,7 @@ impl TxEip1559 {
|
|||||||
self.input.len() // input
|
self.input.len() // input
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Encodes the legacy transaction in RLP for signing.
|
/// Encodes the EIP-1559 transaction in RLP for signing.
|
||||||
///
|
///
|
||||||
/// This encodes the transaction as:
|
/// This encodes the transaction as:
|
||||||
/// `tx_type || rlp(chain_id, nonce, max_priority_fee_per_gas, max_fee_per_gas, gas_limit, to,
|
/// `tx_type || rlp(chain_id, nonce, max_priority_fee_per_gas, max_fee_per_gas, gas_limit, to,
|
||||||
|
|||||||
@ -157,7 +157,7 @@ impl TxEip2930 {
|
|||||||
TxType::Eip2930
|
TxType::Eip2930
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Encodes the legacy transaction in RLP for signing.
|
/// Encodes the EIP-2930 transaction in RLP for signing.
|
||||||
///
|
///
|
||||||
/// This encodes the transaction as:
|
/// This encodes the transaction as:
|
||||||
/// `tx_type || rlp(chain_id, nonce, gas_price, gas_limit, to, value, input, access_list)`
|
/// `tx_type || rlp(chain_id, nonce, gas_price, gas_limit, to, value, input, access_list)`
|
||||||
|
|||||||
@ -291,7 +291,7 @@ impl TxEip4844 {
|
|||||||
TxType::Eip4844
|
TxType::Eip4844
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Encodes the legacy transaction in RLP for signing.
|
/// Encodes the EIP-4844 transaction in RLP for signing.
|
||||||
///
|
///
|
||||||
/// This encodes the transaction as:
|
/// This encodes the transaction as:
|
||||||
/// `tx_type || rlp(chain_id, nonce, max_priority_fee_per_gas, max_fee_per_gas, gas_limit, to,
|
/// `tx_type || rlp(chain_id, nonce, max_priority_fee_per_gas, max_fee_per_gas, gas_limit, to,
|
||||||
|
|||||||
Reference in New Issue
Block a user