---
title: "Discussion on \"Zero to Hero in Foundry - Part 6: Time Travel & Events in Tests\" | Hashnode"
description: "Discussion on \"Zero to Hero in Foundry - Part 6: Time Travel & Events in Tests\". Learn about time travel in blockchain testing using Foundry’s `vm.warp()` and `vm.expectEmit()` to simulate events and audit the Auction.sol contract"
url: "https://hashnode.com/posts/foundry-part-6/68a7051aa8b5b27b2d1a10d9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Zero to Hero in Foundry - Part 6: Time Travel & Events in Tests](https://blog.bitcodex.tech/foundry-part-6?utm_source=hashnode&utm_medium=feed)

Learn about time travel in blockchain testing using Foundry’s \`vm.warp()\` and \`vm.expectEmit()\` to simulate events and audit the Auction.sol contract

Aug 21, 2025 · 6 min read · blog.bitcodex.tech  
Read the article

-   [#web3](https://hashnode.com/tag/web3)
-   [#solidity](https://hashnode.com/tag/solidity)
-   [#blockchain](https://hashnode.com/tag/blockchain)
-   [#foundry](https://hashnode.com/tag/foundry)

## Written by

[Abhiram A](https://hashnode.com/@bitc0dex)

@bitc0dex

  
[View profile](https://hashnode.com/@bitc0dex)

Crafting immutable codices

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
