Skip to main content

Module validator

Module validator 

Source

Structs§

TempoTransactionValidator
Validator for Tempo transactions.

Constants§

AA_VALID_BEFORE_MIN_SECS 🔒
DEFAULT_AA_VALID_AFTER_MAX_SECS
Default maximum allowed valid_after offset for AA txs (in seconds).
DEFAULT_MAX_TEMPO_AUTHORIZATIONS
Default maximum number of authorizations allowed in an AA transaction’s authorization list.
MAX_AA_CALLS
Maximum number of calls allowed per AA transaction (DoS protection).
MAX_ACCESS_LIST_ACCOUNTS
Maximum number of accounts in the access list (DoS protection).
MAX_ACCESS_LIST_STORAGE_KEYS_TOTAL
Maximum total number of storage keys across all accounts in the access list (DoS protection).
MAX_CALL_INPUT_SIZE
Maximum size of input data per call in bytes (128KB, DoS protection).
MAX_STORAGE_KEYS_PER_ACCOUNT
Maximum number of storage keys per account in the access list (DoS protection).
MAX_TOKEN_LIMITS
Maximum number of token limits in a KeyAuthorization (DoS protection).

Functions§

ensure_intrinsic_gas_tempo_tx
Ensures that gas limit of the transaction exceeds the intrinsic gas of the transaction.