mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-10 15:58:27 -05:00
fix: typo initialise to initialize (#17851)
Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com>
This commit is contained in:
@@ -558,7 +558,7 @@ mod tests {
|
||||
use alloy_primitives::{bytes, Address, LogData, B256};
|
||||
|
||||
#[test]
|
||||
fn test_initialisation() {
|
||||
fn test_initialization() {
|
||||
// Create a new BundleState object with initial data
|
||||
let bundle = BundleState::new(
|
||||
vec![(Address::new([2; 20]), None, Some(AccountInfo::default()), HashMap::default())],
|
||||
|
||||
@@ -550,7 +550,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_initialisation() {
|
||||
fn test_initialization() {
|
||||
// Create a new BundleState object with initial data
|
||||
let bundle = BundleState::new(
|
||||
vec![(Address::new([2; 20]), None, Some(AccountInfo::default()), HashMap::default())],
|
||||
|
||||
@@ -42,7 +42,7 @@ pub(crate) struct TxLegacy {
|
||||
value: U256,
|
||||
/// Input has two uses depending if transaction is Create or Call (if `to` field is None or
|
||||
/// Some). pub init: An unlimited size byte array specifying the
|
||||
/// EVM-code for the account initialisation procedure CREATE,
|
||||
/// EVM-code for the account initialization procedure CREATE,
|
||||
/// data: An unlimited size byte array specifying the
|
||||
/// input data of the message call, formally Td.
|
||||
input: Bytes,
|
||||
|
||||
@@ -1341,7 +1341,7 @@ mod tests {
|
||||
async fn test_canon_state_subscriptions() -> eyre::Result<()> {
|
||||
let factory = create_test_provider_factory();
|
||||
|
||||
// Generate a random block to initialise the blockchain provider.
|
||||
// Generate a random block to initialize the blockchain provider.
|
||||
let mut test_block_builder = TestBlockBuilder::eth();
|
||||
let block_1 = test_block_builder.generate_random_block(0, B256::ZERO);
|
||||
let block_hash_1 = block_1.hash();
|
||||
|
||||
Reference in New Issue
Block a user