Skip to content

Commit

Permalink
Updated sigs
Browse files Browse the repository at this point in the history
  • Loading branch information
yahgwai committed Oct 3, 2024
1 parent d1ff738 commit b057634
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
31 changes: 31 additions & 0 deletions test/signatures/ArbitrumTimelock
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"CANCELLER_ROLE()": "b08e51c0",
"DEFAULT_ADMIN_ROLE()": "a217fddf",
"EXECUTOR_ROLE()": "07bd0265",
"PROPOSER_ROLE()": "8f61f4f5",
"TIMELOCK_ADMIN_ROLE()": "0d3cf6fc",
"cancel(bytes32)": "c4d252f5",
"execute(address,uint256,bytes,bytes32,bytes32)": "134008d3",
"executeBatch(address[],uint256[],bytes[],bytes32,bytes32)": "e38335e5",
"getMinDelay()": "f27a0c92",
"getRoleAdmin(bytes32)": "248a9ca3",
"getTimestamp(bytes32)": "d45c4435",
"grantRole(bytes32,address)": "2f2ff15d",
"hasRole(bytes32,address)": "91d14854",
"hashOperation(address,uint256,bytes,bytes32,bytes32)": "8065657f",
"hashOperationBatch(address[],uint256[],bytes[],bytes32,bytes32)": "b1c5f427",
"initialize(uint256,address[],address[])": "7fbc79c6",
"isOperation(bytes32)": "31d50750",
"isOperationDone(bytes32)": "2ab0f529",
"isOperationPending(bytes32)": "584b153e",
"isOperationReady(bytes32)": "13bc9f20",
"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)": "bc197c81",
"onERC1155Received(address,address,uint256,uint256,bytes)": "f23a6e61",
"onERC721Received(address,address,uint256,bytes)": "150b7a02",
"renounceRole(bytes32,address)": "36568abe",
"revokeRole(bytes32,address)": "d547741f",
"schedule(address,uint256,bytes,bytes32,bytes32,uint256)": "01d5062a",
"scheduleBatch(address[],uint256[],bytes[],bytes32,bytes32,uint256)": "8f2a0bb0",
"supportsInterface(bytes4)": "01ffc9a7",
"updateDelay(uint256)": "64d62353"
}
4 changes: 4 additions & 0 deletions test/signatures/SecurityCouncilManager
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"COHORT_REPLACER_ROLE()": "279684e2",
"DEFAULT_ADMIN_ROLE()": "a217fddf",
"DOMAIN_TYPE_HASH()": "c0993eea",
"MAX_SECURITY_COUNCILS()": "c7b3f5ca",
"MEMBER_ADDER_ROLE()": "ab738506",
"MEMBER_REMOVER_ROLE()": "b8df7c7f",
"MEMBER_REPLACER_ROLE()": "8e8c3210",
"MEMBER_ROTATOR_ROLE()": "903e7ad6",
"MIN_ROTATION_PERIOD_SETTER_ROLE()": "5db9bf4e",
"NAME_HASH()": "04622c2e",
"RETRYABLE_TICKET_MAGIC()": "3994073d",
"TYPE_HASH()": "64d4c819",
"VERSION_HASH()": "9e4e7318",
"addMember(address,uint8)": "62d0d1c3",
"addSecurityCouncil((address,address,uint256))": "6eaff79e",
"cohortIncludes(uint8,address)": "f5f4fde0",
Expand Down
2 changes: 1 addition & 1 deletion test/signatures/test-sigs.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
output_dir="./test/signatures"
for CONTRACTNAME in SecurityCouncilManager L1ArbitrumTimelock L2ArbitrumTimelock L2ArbitrumGovernor L2ArbitrumToken L1ArbitrumToken FixedDelegateErc20Wallet UpgradeExecutor SecurityCouncilMemberElectionGovernor SecurityCouncilMemberRemovalGovernor SecurityCouncilNomineeElectionGovernor
for CONTRACTNAME in SecurityCouncilManager L1ArbitrumTimelock ArbitrumTimelock L2ArbitrumGovernor L2ArbitrumToken L1ArbitrumToken FixedDelegateErc20Wallet UpgradeExecutor SecurityCouncilMemberElectionGovernor SecurityCouncilMemberRemovalGovernor SecurityCouncilNomineeElectionGovernor
do
echo "Checking for signature changes in $CONTRACTNAME"
[ -f "$output_dir/$CONTRACTNAME" ] && mv "$output_dir/$CONTRACTNAME" "$output_dir/$CONTRACTNAME-old"
Expand Down

0 comments on commit b057634

Please sign in to comment.