Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 293 Bytes

set-nonce.md

File metadata and controls

19 lines (12 loc) · 293 Bytes

setNonce

Signature

function setNonce(address account, uint64 nonce) external;

Description

Sets the nonce of the given account.

The new nonce must be higher than the current nonce of the account.

Examples

vm.setNonce(address(100), 1234);