Skip to content

Commit

Permalink
Fixes to script and makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
stevieraykatz committed Mar 26, 2024
1 parent 11d2843 commit 37c53d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sepolia/2024-03-26-increase-gas-limit/.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ BASE_CONTRACTS_COMMIT=56d8f40b48795663fa88366d762161af5a1ba5d5
# https://sepolia.etherscan.io/address/0xf272670eb55e895584501d564AfEB048bEd26194
L1_SYSTEM_CONFIG_ADDRESS=0xf272670eb55e895584501d564AfEB048bEd26194
OWNER_ADDRESS=0x608081689Fe46936fB2fBDF7552CbB1D80ad4822
GAS_LIMIT=45000000
GAS_LIMIT=45000000
2 changes: 1 addition & 1 deletion sepolia/2024-03-26-increase-gas-limit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ include .env

.PHONY: update-gas-config
update-gas-config:
@forge script --rpc-url $(L1_RPC_URL) UpdateGasLimit --private-key $(PRIVATE_KEY) --broadcast
@forge script --rpc-url $(L1_RPC_URL) UpdateGasLimitSepolia --private-key $(PRIVATE_KEY) --broadcast
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "forge-std/Script.sol";

contract UpdateGasLimitSepolia is Script {
address internal L1_SYSTEM_CONFIG = vm.envAddress("L1_SYSTEM_CONFIG_ADDRESS");
uint256 internal GAS_LIMIT = vm.envUint("GAS_LIMIT");
uint64 internal GAS_LIMIT = uint64(vm.envUint("GAS_LIMIT"));
address internal OWNER = vm.envAddress("OWNER_ADDRESS");

function _postCheck() internal view {
Expand Down

0 comments on commit 37c53d3

Please sign in to comment.