From 46615835aaa92a7c534c2a96a67b636410a5ba25 Mon Sep 17 00:00:00 2001 From: gzeon Date: Thu, 25 Apr 2024 00:14:05 +0800 Subject: [PATCH] chore: add OneStepProofEntry to test --- test/signatures/OneStepProofEntry | 9 +++++++++ test/signatures/test-sigs.bash | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 test/signatures/OneStepProofEntry diff --git a/test/signatures/OneStepProofEntry b/test/signatures/OneStepProofEntry new file mode 100644 index 00000000..404d208c --- /dev/null +++ b/test/signatures/OneStepProofEntry @@ -0,0 +1,9 @@ +{ + "getEndMachineHash(uint8,bytes32)": "d8558b87", + "getStartMachineHash(bytes32,bytes32)": "04997be4", + "proveOneStep((uint256,address),uint256,bytes32,bytes)": "5d3adcfb", + "prover0()": "30a5509f", + "proverHostIo()": "5f52fd7c", + "proverMath()": "66e5d9c3", + "proverMem()": "1f128bc0" +} diff --git a/test/signatures/test-sigs.bash b/test/signatures/test-sigs.bash index 4ff16cc3..70193d7f 100755 --- a/test/signatures/test-sigs.bash +++ b/test/signatures/test-sigs.bash @@ -1,6 +1,6 @@ #!/bin/bash output_dir="./test/signatures" -for CONTRACTNAME in Bridge Inbox Outbox RollupCore RollupUserLogic RollupAdminLogic SequencerInbox ChallengeManager ERC20Bridge ERC20Inbox ERC20Outbox BridgeCreator DeployHelper RollupCreator +for CONTRACTNAME in Bridge Inbox Outbox RollupCore RollupUserLogic RollupAdminLogic SequencerInbox ChallengeManager ERC20Bridge ERC20Inbox ERC20Outbox BridgeCreator DeployHelper RollupCreator OneStepProofEntry do echo "Checking for signature changes in $CONTRACTNAME" [ -f "$output_dir/$CONTRACTNAME" ] && mv "$output_dir/$CONTRACTNAME" "$output_dir/$CONTRACTNAME-old"