File tree 2 files changed +2
-2
lines changed
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 {
14
14
vm.startBroadcast ();
15
15
z = new Zenith (defaultRollupChainId, withdrawalAdmin, sequencerAdmin);
16
16
// 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 );
18
18
}
19
19
20
20
// 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";
7
7
/// and enables Builders to fulfill requests to exchange tokens on the Rollup for tokens on the Host.
8
8
contract Passage {
9
9
/// @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;
11
11
12
12
/// @notice The address that is allowed to withdraw funds from the contract.
13
13
address public immutable withdrawalAdmin;
You can’t perform that action at this time.
0 commit comments