diff --git a/access/grpc/client.go b/access/grpc/client.go index 6f69330e2..b44a7a4df 100644 --- a/access/grpc/client.go +++ b/access/grpc/client.go @@ -40,7 +40,7 @@ const EmulatorHost = "127.0.0.1:3569" const TestnetHost = "access.devnet.nodes.onflow.org:9000" const CanarynetHost = "access.canary.nodes.onflow.org:9000" const MainnetHost = "access.mainnet.nodes.onflow.org:9000" -const CrescendoHost = "access.crescendo.nodes.onflow.org:9000" +const PreviewnetHost = "access.previewnet.nodes.onflow.org:9000" // NewClient creates an gRPC client exposing all the common access APIs. // Client will use provided host for connection. diff --git a/access/http/client.go b/access/http/client.go index a779ee67c..1b8bba708 100644 --- a/access/http/client.go +++ b/access/http/client.go @@ -28,11 +28,11 @@ import ( ) const ( - EmulatorHost = "http://127.0.0.1:8888/v1" - TestnetHost = "https://rest-testnet.onflow.org/v1" - MainnetHost = "https://rest-mainnet.onflow.org/v1" - CanarynetHost = "https://rest-canary.onflow.org/v1" - CrescendoHost = "https://rest-crescendo.onflow.org/v1" + EmulatorHost = "http://127.0.0.1:8888/v1" + TestnetHost = "https://rest-testnet.onflow.org/v1" + MainnetHost = "https://rest-mainnet.onflow.org/v1" + CanarynetHost = "https://rest-canary.onflow.org/v1" + PreviewnetHost = "https://rest-previewnet.onflow.org/v1" ) // NewClient creates an HTTP client exposing all the common access APIs. diff --git a/flow.go b/flow.go index 2694822d1..e555b4e22 100644 --- a/flow.go +++ b/flow.go @@ -104,11 +104,10 @@ const ( // Testnet is the chain ID for the testnet chain. Testnet ChainID = "flow-testnet" - // Crescendo is the chain ID for the crescendo chain. - Crescendo ChainID = "flow-crescendo" - // Transient test networks + // Previewnet is the chain ID for the previewnet chain. + Previewnet ChainID = "flow-previewnet" // Benchnet is the chain ID for the transient benchmarking chain. Benchnet ChainID = "flow-benchnet" // Localnet is the chain ID for the local development chain. @@ -127,7 +126,7 @@ func (id ChainID) String() string { } type NetworkParameters struct { - ChainID ChainID + ChainID ChainID } // entityHasher is a thread-safe hasher used to hash Flow entities.