docs: correct encode_for_signing docs (#7973)

This commit is contained in:
Oliver Nordbjerg
2024-04-29 23:44:44 +02:00
committed by GitHub
parent 593b2b6d04
commit 6619faf42b
3 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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)`

View File

@ -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,