Skip to content

Commit

Permalink
chore: remove stale references to near-runtime-utils (near#4774)
Browse files Browse the repository at this point in the history
`near-runtime-utils` was removed in favor of `near-account-id`, remove old references to it.
  • Loading branch information
miraclx authored Sep 1, 2021
1 parent 9481ef2 commit 00819f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/primitives/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ impl std::error::Error for StorageError {}
pub enum InvalidTxError {
/// Happens if a wrong AccessKey used or AccessKey has not enough permissions
InvalidAccessKeyError(InvalidAccessKeyError),
/// TX signer_id is not in a valid format or not satisfy requirements see `near_runtime_utils::utils::is_valid_account_id`
/// TX signer_id is not a valid AccountId
InvalidSignerId { signer_id: String },
/// TX signer_id is not found in a storage
SignerDoesNotExist { signer_id: AccountId },
/// Transaction nonce must be account[access_key].nonce + 1
InvalidNonce { tx_nonce: Nonce, ak_nonce: Nonce },
/// Transaction nonce is larger than the upper bound given by the block height
NonceTooLarge { tx_nonce: Nonce, upper_bound: Nonce },
/// TX receiver_id is not in a valid format or not satisfy requirements see `near_runtime_utils::is_valid_account_id`
/// TX receiver_id is not a valid AccountId
InvalidReceiverId { receiver_id: String },
/// TX signature is not valid
InvalidSignature,
Expand Down

0 comments on commit 00819f0

Please sign in to comment.