From dcac775cad285b607f6e536320ecb17b52e5c60f Mon Sep 17 00:00:00 2001 From: Guilherme Dantas Date: Wed, 10 Apr 2024 20:41:43 -0300 Subject: [PATCH] fix: proof generation system --- onchain/rollups/test/foundry/dapp/CartesiDApp.t.sol | 3 +++ onchain/rollups/test/foundry/dapp/helper/update-proofs.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/onchain/rollups/test/foundry/dapp/CartesiDApp.t.sol b/onchain/rollups/test/foundry/dapp/CartesiDApp.t.sol index 6a385af8..4607dacc 100644 --- a/onchain/rollups/test/foundry/dapp/CartesiDApp.t.sol +++ b/onchain/rollups/test/foundry/dapp/CartesiDApp.t.sol @@ -97,6 +97,9 @@ contract CartesiDAppTest is TestBase { readFinishEpochResponse(); } + /// @dev Used by the proof generation system + function testNothing() public pure {} + function testConstructorWithOwnerAsZeroAddress( bytes32 _templateHash ) public { diff --git a/onchain/rollups/test/foundry/dapp/helper/update-proofs.sh b/onchain/rollups/test/foundry/dapp/helper/update-proofs.sh index 36947c71..151fcb68 100755 --- a/onchain/rollups/test/foundry/dapp/helper/update-proofs.sh +++ b/onchain/rollups/test/foundry/dapp/helper/update-proofs.sh @@ -83,7 +83,7 @@ echo forge test -vv \ --match-contract CartesiDAppTest \ - --match-test setUp > /dev/null || true + --match-test testNothing > /dev/null || true echo3 $GREEN "Running Docker image..." echo