From 372d84d802b25b688cbbeccc09fe4487c9333768 Mon Sep 17 00:00:00 2001 From: vladbochok Date: Wed, 12 Jun 2024 18:16:58 +0200 Subject: [PATCH] Make ERA_CHAIN_ID public --- l2-contracts/contracts/bridge/L2SharedBridge.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l2-contracts/contracts/bridge/L2SharedBridge.sol b/l2-contracts/contracts/bridge/L2SharedBridge.sol index 61222abc0..a96b45252 100644 --- a/l2-contracts/contracts/bridge/L2SharedBridge.sol +++ b/l2-contracts/contracts/bridge/L2SharedBridge.sol @@ -41,7 +41,7 @@ contract L2SharedBridge is IL2SharedBridge, Initializable { /// @dev Contract is expected to be used as proxy implementation. /// @dev Disable the initialization to prevent Parity hack. - uint256 internal immutable ERA_CHAIN_ID; + uint256 public immutable ERA_CHAIN_ID; constructor(uint256 _eraChainId) { ERA_CHAIN_ID = _eraChainId;