File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ contract ZenithScript is Script {
1414 vm.startBroadcast ();
1515 z = new Zenith (defaultRollupChainId, withdrawalAdmin, sequencerAdmin);
1616 // send some ETH to newly deployed Zenith to populate some rollup state
17- payable ( address (z)). transfer ( 0.00123 ether);
17+ z. enter {value: 0.00123 ether }(z. defaultRollupChainId (), msg . sender );
1818 }
1919
2020 // NOTE: script must be run using SequencerAdmin key
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import {IERC20} from "openzeppelin-contracts/contracts/token/ERC20/IERC20.sol";
77/// and enables Builders to fulfill requests to exchange tokens on the Rollup for tokens on the Host.
88contract Passage {
99 /// @notice The chainId of rollup that Ether will be sent to by default when entering the rollup via fallback() or receive().
10- uint256 immutable defaultRollupChainId;
10+ uint256 public immutable defaultRollupChainId;
1111
1212 /// @notice The address that is allowed to withdraw funds from the contract.
1313 address public immutable withdrawalAdmin;
You can’t perform that action at this time.
0 commit comments