Test runs

Shadow's test run feature allows you to preview shadow events for confirmed transactions, before actually deploying changes to your shadow fork.

This makes it easier to:

  • Iterate on your shadow contract changes

  • Verify that you're getting the data you expect

  • Inspect particularly complex transactions

Steps

  1. Open editor mode for a contract and make changes

  2. Compile your shadow contract

  3. Click "test run" and paste in a transaction hash

  4. Preview your shadow event data

  5. If you're happy with the data results, deploy the contract