From d706fbf9e7fcd4b3fc205499b1e3fb1174b098a3 Mon Sep 17 00:00:00 2001
From: pcw109550 <pcw109550@gmail.com>
Date: Wed, 14 Feb 2024 16:29:56 +0900
Subject: [PATCH] Add step contract test template

---
 rvsol/test/Step.t.sol | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 rvsol/test/Step.t.sol

diff --git a/rvsol/test/Step.t.sol b/rvsol/test/Step.t.sol
new file mode 100644
index 00000000..08611c8d
--- /dev/null
+++ b/rvsol/test/Step.t.sol
@@ -0,0 +1,18 @@
+pragma solidity 0.8.15;
+
+import {Test} from "forge-std/Test.sol";
+import {Step} from "src/Step.sol";
+import {PreimageOracle} from "@optimism/packages/contracts-bedrock/src/cannon/PreimageOracle.sol";
+
+contract Step_Test is Test {
+    PreimageOracle internal oracle;
+    Step internal step;
+
+    function setUp() public {
+        oracle = new PreimageOracle(0, 0, 0);
+        step = new Step(oracle);
+        vm.store(address(step), 0x0, bytes32(abi.encode(address(oracle))));
+        vm.label(address(oracle), "PreimageOracle");
+        vm.label(address(step), "Step");
+    }
+}