Skip to content

Commit

Permalink
Apply cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Ulesykiy committed Nov 17, 2022
1 parent 010d718 commit 1935499
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions core/primitives/src/views.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ use crate::sharding::{
ShardChunkHeaderV3,
};
use crate::transaction::{
Action, AddKeyAction, CreateAccountAction, DelegateAction, DeleteAccountAction, DeleteKeyAction,
DeployContractAction, ExecutionMetadata, ExecutionOutcome, ExecutionOutcomeWithIdAndProof,
ExecutionStatus, FunctionCallAction, PartialExecutionOutcome, PartialExecutionStatus,
SignedDelegateAction,SignedTransaction, StakeAction, TransferAction,
Action, AddKeyAction, CreateAccountAction, DelegateAction, DeleteAccountAction,
DeleteKeyAction, DeployContractAction, ExecutionMetadata, ExecutionOutcome,
ExecutionOutcomeWithIdAndProof, ExecutionStatus, FunctionCallAction, PartialExecutionOutcome,
PartialExecutionStatus, SignedDelegateAction, SignedTransaction, StakeAction, TransferAction,
};
use crate::types::{
AccountId, AccountWithPublicKey, Balance, BlockHeight, CompiledContractCache, EpochHeight,
Expand Down
7 changes: 5 additions & 2 deletions runtime/runtime/src/actions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
use crate::config::{safe_add_gas, RuntimeConfig, total_prepaid_exec_fees, total_prepaid_gas, total_prepaid_send_fees};
use crate::config::{
safe_add_gas, total_prepaid_exec_fees, total_prepaid_gas, total_prepaid_send_fees,
RuntimeConfig,
};
use crate::ext::{ExternalError, RuntimeExt};
use crate::{metrics, ActionResult, ApplyState};
use borsh::{BorshDeserialize, BorshSerialize};
Expand All @@ -7,7 +10,7 @@ use near_primitives::account::{AccessKey, AccessKeyPermission, Account};
use near_primitives::checked_feature;
use near_primitives::config::ViewConfig;
use near_primitives::contract::ContractCode;
use near_primitives::errors::{ActionError, ActionErrorKind, RuntimeError, InvalidAccessKeyError};
use near_primitives::errors::{ActionError, ActionErrorKind, InvalidAccessKeyError, RuntimeError};
use near_primitives::hash::CryptoHash;
use near_primitives::receipt::{ActionReceipt, Receipt, ReceiptEnum};
use near_primitives::runtime::config::AccountCreationConfig;
Expand Down

0 comments on commit 1935499

Please sign in to comment.