Skip to content

Commit 8b6cd8d

Browse files
authored
Merge branch 'tempo' into georgen/update-tempo-deps-7985fa2
2 parents 7e2fdd8 + 8a8c8d8 commit 8b6cd8d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/scripts/tempo-check.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,12 @@ if [[ "$HARDFORK" == "T2" ]]; then
173173
--private-key "$PK"
174174
else
175175
# TIP-1011 (T3+): authorizeKey takes a KeyRestrictions struct
176+
# KeyRestrictions = (uint64 expiry, bool enforceLimits, TokenLimit[] limits, bool allowAnyCalls, CallScope[] allowedCalls)
177+
# TokenLimit = (address token, uint256 amount, uint64 period)
178+
# CallScope = (address target, SelectorRule[] selectorRules)
179+
# SelectorRule = (bytes4 selector, address[] recipients)
176180
cast send --rpc-url "$ETH_RPC_URL" 0xAAAAAAAA00000000000000000000000000000000 \
177-
'authorizeKey(address,uint8,(uint64,bool,(address,uint256)[],bool,(address,bytes4)[]))' \
181+
'authorizeKey(address,uint8,(uint64,bool,(address,uint256,uint64)[],bool,(address,(bytes4,address[])[])[])) ' \
178182
"$ACCESS_KEY_ADDR" 0 "(1893456000,false,[],true,[])" \
179183
--private-key "$PK"
180184
fi

0 commit comments

Comments
 (0)