Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/ethrex/l2/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -609,15 +609,15 @@ impl Command {
info!("Pausing contract {}", opts.contract_address);
opts.call_contract(PAUSE_CONTRACT_SELECTOR, vec![])
.await
.inspect(|_| info!("Succesfully paused contract"))?;
.inspect(|_| info!("Successfully paused contract"))?;
}
Command::Unpause {
contract_call_options: opts,
} => {
info!("Unpausing contract {}", opts.contract_address);
opts.call_contract(UNPAUSE_CONTRACT_SELECTOR, vec![])
.await
.inspect(|_| info!("Succesfully unpaused contract"))?;
.inspect(|_| info!("Successfully unpaused contract"))?;
}
Command::Deploy { options } => {
deploy_l1_contracts(options).await?;
Expand Down Expand Up @@ -684,7 +684,7 @@ async fn delete_batch_from_rollup_store(batch: u64, rollup_store_dir: &Path) ->
.and_then(|kept_blocks| kept_blocks.iter().max().cloned())
.unwrap_or(0);
rollup_store.revert_to_batch(batch).await?;
info!("Succesfully deleted batch from rollup store");
info!("Successfully deleted batch from rollup store");
Ok(last_kept_block)
}

Expand Down
2 changes: 1 addition & 1 deletion crates/common/trie/trie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ impl Trie {
}

/// Remove a value from the trie given its RLP-encoded path.
/// Returns the value if it was succesfully removed or None if it wasn't part of the trie
/// Returns the value if it was successfully removed or None if it wasn't part of the trie
pub fn remove(&mut self, path: &PathRLP) -> Result<Option<ValueRLP>, TrieError> {
self.dirty.insert(Nibbles::from_bytes(path));
if !self.root.is_valid() {
Expand Down
4 changes: 2 additions & 2 deletions crates/networking/p2p/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ pub async fn update_pivot(

// Reward peer
peers.peer_table.record_success(&peer_id).await?;
info!("Succesfully updated pivot");
info!("Successfully updated pivot");
let block_headers = peers
.request_block_headers(block_number + 1, pivot.hash())
.await?
Expand Down Expand Up @@ -1229,7 +1229,7 @@ pub async fn validate_state_root(store: Store, state_root: H256) -> bool {

let tree_validated = state_root == computed_state_root;
if tree_validated {
info!("Succesfully validated tree, {state_root} found");
info!("Successfully validated tree, {state_root} found");
} else {
error!(
"We have failed the validation of the state tree {state_root} expected but {computed_state_root} found"
Expand Down
2 changes: 1 addition & 1 deletion crates/networking/rpc/engine/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ async fn try_execute_payload(
Err(RpcErr::Internal(e.to_string()))
}
Ok(()) => {
info!("Block with hash {block_hash} executed and added to storage succesfully");
info!("Block with hash {block_hash} executed and added to storage successfully");
Ok(PayloadStatus::valid_with_hash(block_hash))
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/vm/backends/levm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ pub fn generic_system_contract_levm(
..Default::default()
};

// This check is not necessary in practice, since contract deployment has succesfully happened in all relevant testnets and mainnet
// This check is not necessary in practice, since contract deployment has successfully happened in all relevant testnets and mainnet
// However, it's necessary to pass some of the Hive tests related to system contract deployment, which is why we have it
// The error that should be returned for the relevant contracts is indicated in the following:
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7002.md#empty-code-failure
Expand Down
Loading