Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip multicall
Browse files Browse the repository at this point in the history
xenoliss committed Nov 22, 2024
1 parent a7f5da8 commit 626d349
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mainnet/2024-11-18-increase-max-gas-limit/Makefile
Original file line number Diff line number Diff line change
@@ -32,4 +32,4 @@ sign-upgrade-cb:
.PHONY: run-upgrade
run-upgrade:
forge script --rpc-url $(L1_RPC_URL) UpgradeSystemConfig \
--sig "run()" -i 1 --broadcast
--sig "run(bytes)" $(SIGNATURES) -i 1 --broadcast
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ interface IProxyAdmin {
function upgradeTo(address _implementation) external;
}

contract TransferSystemConfigOwner is MultisigBuilder {
contract UpgradeSystemConfig is MultisigBuilder {
address internal SYSTEM_CONFIG_OWNER = vm.envAddress("SYSTEM_CONFIG_OWNER");
address internal SYSTEM_CONFIG_ADDRESS = vm.envAddress("SYSTEM_CONFIG_ADDRESS");
address internal NEW_IMPLEMENTATION = vm.envAddress("NEW_IMPLEMENTATION");
@@ -22,8 +22,9 @@ contract TransferSystemConfigOwner is MultisigBuilder {
}

function _buildCalls() internal view override returns (IMulticall3.Call3[] memory) {
IMulticall3.Call3[] memory calls = new IMulticall3.Call3[](1);
IMulticall3.Call3[] memory calls = new IMulticall3.Call3[](3);

// FIXME: Doe snot work as the SystemConfig is gated by `proxyCallIfNotAdmin`.
calls[0] = IMulticall3.Call3({
target: SYSTEM_CONFIG_ADDRESS,
allowFailure: false,

0 comments on commit 626d349

Please sign in to comment.