Skip to content

Commit ff4e5f1

Browse files
committed
fix(NetworkConfig): add chain id
1 parent 46822c4 commit ff4e5f1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

script/interfaces/configs/INetworkConfig.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ interface INetworkConfig {
88
struct NetworkData {
99
TNetwork network;
1010
uint256 blockTime;
11+
uint256 chainId;
1112
string chainAlias;
1213
string explorer;
1314
}

script/utils/DefaultNetwork.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ function data(DefaultNetwork network) pure returns (INetworkConfig.NetworkData m
1919
network: key(network),
2020
blockTime: blockTime(network),
2121
chainAlias: chainAlias(network),
22-
explorer: explorer(network)
22+
explorer: explorer(network),
23+
chainId: chainId(network)
2324
});
2425
}
2526

0 commit comments

Comments
 (0)