diff --git a/onchain/test/Simulations.t.sol b/onchain/test/Simulations.t.sol index 7b32bd8..a20fb02 100644 --- a/onchain/test/Simulations.t.sol +++ b/onchain/test/Simulations.t.sol @@ -209,7 +209,7 @@ contract SimulationsTest is UniswapTestBase, CSVManager { } function testGeneration() public { - string memory json = vm.readFile("out/scenarios.json"); + string memory json = vm.readFile("test/data/scenarios.json"); bytes memory data = vm.parseJson(json); Scenario memory scenario = abi.decode(data, (Scenario)); diff --git a/onchain/test/data/scenarios.json b/onchain/test/data/scenarios.json new file mode 100644 index 0000000..f5c1d2c --- /dev/null +++ b/onchain/test/data/scenarios.json @@ -0,0 +1,9 @@ +{ + "VWAP": 0, + "comEthBal": 0, + "comHarbBal": 0, + "comStakeShare": 0, + "txns": [], + "time": 0, + "liquidity": [] +}