Skip to content

Commit

Permalink
Formatting corrcetions at account_provider.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
MOZGIII committed Sep 11, 2024
1 parent 5daaffe commit c546f17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions primitives/evm/src/account_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pub trait AccountProvider {
///
/// Represent the account itself in accounts records.
type AccountId;

/// Account nonce type.
///
/// The number that helps to ensure that each transaction in the network is unique
Expand All @@ -43,14 +44,17 @@ pub trait AccountProvider {
///
/// The account associated with new created address EVM.
fn create_account(who: &Self::AccountId);

/// Removes an account from accounts records.
///
/// The account associated with removed address from EVM.
fn remove_account(who: &Self::AccountId);

/// Return current account nonce value.
///
/// Used to represent account basic information in EVM format.
fn account_nonce(who: &Self::AccountId) -> Self::Nonce;

/// Increment a particular account's nonce value.
///
/// Incremented with each new transaction submitted by the account.
Expand Down

0 comments on commit c546f17

Please sign in to comment.