فهرست منبع

fix timelockcontroller

Hadrien Croubois 2 سال پیش
والد
کامیت
150edce57b
2فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 1 1
      certora/scripts/passes/verifyTimelock.sh
  2. 2 1
      certora/specs/TimelockController.spec

+ 1 - 1
certora/scripts/passes/verifyTimelock.sh

@@ -7,5 +7,5 @@ certoraRun \
     --verify TimelockControllerHarness:certora/specs/TimelockController.spec \
     --optimistic_loop \
     --loop_iter 3 \
-    --settings -byteMapHashingPrecision=32 \
     $@
+#    --settings -byteMapHashingPrecision=32 \

+ 2 - 1
certora/specs/TimelockController.spec

@@ -11,8 +11,9 @@ methods {
 
     isOperationReady(bytes32) returns(bool)
     cancel(bytes32)
-    schedule(address, uint256, bytes32, bytes32, bytes32, uint256)
+    schedule(address, uint256, bytes, bytes32, bytes32, uint256)
     execute(address, uint256, bytes, bytes32, bytes32)
+		scheduleBatch(address[], uint256[], bytes[], bytes32, bytes32, uint256)
     executeBatch(address[], uint256[], bytes[], bytes32, bytes32)
     _checkRole(bytes32) => DISPATCHER(true)
 }