Virtual TestNet Cheatcodes Available in the Dashboard

May 29, 2025 • 20 days ago

Virtual TestNet Cheatcodes Available in the Dashboard

Frontend, backend, and QA teams can stage and test custom contract executions on Virtual TestNets using Tenderly cheatcodes directly in the UI. 

Instead of relying on protocol engineers to configure Virtual TestNets, FE, BE, and QA teams can now do it directly in the Tenderly Dashboard. Without needing Solidity knowledge, these teams can now prototype, test, and validate protocol functionalities more easily. 

For instance, less technical teams can now validate:

  • Multichain swaps between L1 and L2 networks 
  • The logic of claim rewards and read contracts to ensure consistent behavior 
  • Multistep transactions with interdependent contracts, such as proxy implementations
  • DAO proposal executions that requires time-locking with custom timestamps

Mine blocks instantly 

Click the Quick mine action on the Explorer page to instantly mine an empty block. Once you mine a new block, the transaction will be added to the transaction list. 

Configure new blocks

Configure new blocks on Virtual TestNets to manipulate block.timestamp. This way, you can set unique timestamps when, for example, testing DAO governance proposals. 

To do this, open the Explorer page on the Virtual TestNet and click the Configure block button on the Explorer page:

  • Add blocks by specifying how many blocks you want to add to the current value.
  • Manipulate time by increasing time or setting the UNIX timestamp. 

You can Mine now to immediately set the new values, or Mine with the next transactions to configure the values in the next block, giving you the same functionality as Foundry’s and Hardhat's setnextblocktimestamp.

Additionally, you can configure new blocks when sending or simulating a transaction on Virtual TestNets.

Find all cheatcodes in the list

Get a list of all the made cheatcode requests in the transaction list. You can choose between All, Standard, and Cheatcodes views in the tab. 

Revert transactions

Revert an action by opening a transaction and clicking Revert. You can revert only the latest transactions.

 You can also see the reverted transactions in the transaction history. Navigate to Filter and tick off the revert RPC method.

Open a dedicated cheatcode page

Get a detailed overview of the cheatcode method by opening the cheatcode transaction. On this page, find all the details you need about the cheatcode, including request and response examples, and code snippets to easily integrate the method into your workflows. 

Use cheatcodes via the RPC Builder

Open the RPC Builder of your Virtual TestNet to use the cheatcodes by sending requests through the builder. You can also find the list of all Virtual TestNet cheatcodes with explanations in the RPC list.

Run on VNet

Aside from manipulating Virtual TestNet state, you can also run any transaction or simulation on Virtual TestNets. This way, you can test how complex transactions would execute on a Virtual TestNet with custom parameters. To do this, you can: 

  • Click the Run on VNet button on the selected transaction or simulation
  • Choose a project where you’d like to continue testing
  • Create a new Virtual TestNet for this specific test
  • Choose an existing Virtual TestNet to test against custom conditions

To get started, head over to Tenderly and fork a chain with Virtual TestNets!