fix: typo initialise to initialize (#17851)

Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com>
This commit is contained in:
Jack Drogon
2025-08-14 01:09:59 +08:00
committed by GitHub
parent 5dda39dd8d
commit 1cdc43d79c
4 changed files with 4 additions and 4 deletions

View File

@@ -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())],

View File

@@ -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())],

View File

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

View File

@@ -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();