mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-11 06:58:20 -05:00
fix(contracts): change type of layer2ChainId to uint64 (#591)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user