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
2 changes: 1 addition & 1 deletion crates/e2e/src/contract_results.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub struct ContractResult<R, Balance> {
/// [`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<Balance>,
/// 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<Balance>,
Expand Down
2 changes: 1 addition & 1 deletion crates/env/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pub fn base_fee() -> U256 {
<EnvInstance as OnInstance>::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
Expand Down
2 changes: 1 addition & 1 deletion crates/env/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/ink/src/env_access.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading