Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/Config.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ abstract contract Config is CommonBase {
/// @dev A mapping from a chain ID to its initialized fork ID.
mapping(uint256 => uint256) internal forkOf;

// -- GETTER FUNCTIONS -----------------------------------------------------

/// @notice Returns the chain IDs for which forks have been created.
/// @dev Only populated after calling `_loadConfigAndForks`.
function getForkedChainIds() public view returns (uint256[] memory) {
return chainIds;
}

// -- HELPER FUNCTIONS -----------------------------------------------------

/// @notice Loads configuration from a file.
Expand Down