fix(contracts): change type of layer2ChainId to uint64 (#591)

This commit is contained in:
Xi Lin
2023-06-23 02:14:04 +08:00
committed by GitHub
parent 7a1992ba91
commit bd9fdf885f

View File

@@ -45,7 +45,7 @@ contract ScrollChain is OwnableUpgradeable, IScrollChain {
*************/
/// @notice The chain id of the corresponding layer 2 chain.
uint32 public immutable layer2ChainId;
uint64 public immutable layer2ChainId;
/*************
* Variables *
@@ -97,7 +97,7 @@ contract ScrollChain is OwnableUpgradeable, IScrollChain {
* Constructor *
***************/
constructor(uint32 _chainId) {
constructor(uint64 _chainId) {
layer2ChainId = _chainId;
}