diff --git a/crates/e2e/src/contract_results.rs b/crates/e2e/src/contract_results.rs index cba5dfb02a..6c8baa7f5d 100644 --- a/crates/e2e/src/contract_results.rs +++ b/crates/e2e/src/contract_results.rs @@ -85,7 +85,7 @@ pub struct ContractResult { /// [`Self::result`] is `Err`. This is because on error all storage changes are /// rolled back including the payment of the deposit. pub storage_deposit: StorageDeposit, - /// The maximal storage deposit amount that occured at any time during the execution. + /// The maximal storage deposit amount that occurred at any time during the execution. /// This can be higher than the final storage_deposit due to refunds /// This is always a StorageDeposit::Charge(..) pub max_storage_deposit: StorageDeposit, diff --git a/crates/env/src/api.rs b/crates/env/src/api.rs index f1ce8dc252..91963abcd9 100644 --- a/crates/env/src/api.rs +++ b/crates/env/src/api.rs @@ -131,7 +131,7 @@ pub fn base_fee() -> U256 { ::on_instance(TypedEnvBackend::base_fee) } -/// Returns the origin address (initator of the call stack). +/// Returns the origin address (initiator of the call stack). /// This is akin to the EVM [ORIGIN](https://www.evm.codes/?fork=cancun#32) opcode. /// /// # Errors diff --git a/crates/env/src/backend.rs b/crates/env/src/backend.rs index 6c0048d3ed..a5df1f116d 100644 --- a/crates/env/src/backend.rs +++ b/crates/env/src/backend.rs @@ -331,7 +331,7 @@ pub trait TypedEnvBackend: EnvBackend { /// For more details visit: [`base_fee`][`crate::base_fee`] fn base_fee(&mut self) -> U256; - /// Returns the origin address (initator of the call stack). + /// Returns the origin address (initiator of the call stack). /// This is akin to the EVM [ORIGIN](https://www.evm.codes/?fork=cancun#32) opcode. /// /// # Errors diff --git a/crates/ink/src/env_access.rs b/crates/ink/src/env_access.rs index 1fc931acce..58e52288f5 100644 --- a/crates/ink/src/env_access.rs +++ b/crates/ink/src/env_access.rs @@ -377,7 +377,7 @@ where ink_env::base_fee() } - /// Returns the origin address (initator of the call stack). + /// Returns the origin address (initiator of the call stack). /// This is akin to the EVM [ORIGIN](https://www.evm.codes/?fork=cancun#32) opcode. /// /// # Example