Closed lucas2brh closed 1 month ago
We didn’t return the canceller here, which might be the reason why the role granting failed.
Additionally, I tested with the proposer wallet to cancel the schedule and confirmed it’s working.
Canceller: ${proposer_wallet}
Has CANCELLER_ROLE: true
Transaction canceled successfully, Tx Hash: 0x5ca2f9975e9d708054f1fefdc425358919c4a25ff0eb06be7f63ae0c82832416
Transaction hash (schedule): 0xb4295d601bdc580d66bdb804179fad88e45e9862e3597dc1ab1c4c3882c1533f
Test passed: Proposer schedule setFee call.
Transaction hash (cancel): 0x5ca2f9975e9d708054f1fefdc425358919c4a25ff0eb06be7f63ae0c82832416
Test passed: Canceller can cancel the scheduled call.
✔ Step 01: schedule setFee and then cancel (16751ms)
Having the test case Timelock-04 and confirmed passed, closing.
Description and context
Notice that the wallet lacks the role of canceller when testing Canceller can cancel calls before the executor executes.
Timelock-04: Canceller can cancel calls before executor executes
Steps to reproduce
Experienced behavior
Expected behavior
Solution recommendation