Skip to content

Commit

Permalink
Removed deprecation from the Network type
Browse files Browse the repository at this point in the history
  • Loading branch information
jclapis committed Jul 16, 2024
1 parent 814ef91 commit 55e038b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/enums.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const (
EthNetwork_Holesky string = "holesky"
)

// Deprecated: Switch to using dynamically-loaded network settings instead
// Type for network keys, used in NetworkSettings to uniquely define the network
type Network string

// Enum to describe well-known network keys for convenience, which may or may not be used by the application.
Expand All @@ -21,10 +21,10 @@ const (
// All networks (used for parameter defaults)
Network_All Network = "all"

// The Ethereum mainnet
// The standard key for an Ethereum mainnet config
Network_Mainnet Network = Network(EthNetwork_Mainnet)

// The Holesky test network
// The standard key for the Holesky test network
Network_Holesky Network = Network(EthNetwork_Holesky)
)

Expand Down

0 comments on commit 55e038b

Please sign in to comment.