SetAccountParams
SetAccountParams<
TThrowOnFail
>:BaseParams
<TThrowOnFail
> &object
Tevm params to set an account in the vm state all fields are optional except address
Type declaration
address
readonly
address:Address
Address of account
balance?
readonly
optional
balance:bigint
Balance to set account to
deployedBytecode?
readonly
optional
deployedBytecode:Hex
Contract bytecode to set account to
nonce?
readonly
optional
nonce:bigint
Nonce to set account to
state?
key-value mapping to override all slots in the account storage before executing the calls
stateDiff?
key-value mapping to override individual slots in the account storage before executing the calls
storageRoot?
readonly
optional
storageRoot:Hex
Storage root to set account to
Type Parameters
• TThrowOnFail extends boolean
= boolean