From fc77ef0919f02035bdba984509fcce8ee2520e89 Mon Sep 17 00:00:00 2001 From: asabya Date: Wed, 24 May 2023 09:16:59 +0530 Subject: [PATCH] fix: minor text changes --- README.md | 4 ++-- cmd/dfs/cmd/server.go | 2 +- pkg/contracts/config.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cf39914c..3bd0ff69 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ Flags: --network string network to use for authentication (mainnet/testnet/play) --postageBlockId string the postage block used to store the data in bee --pprofPort string pprof port (default ":9091") - --rpc string rpc endpoint for ens network. xDai for mainnet | Goerli for testnet | local fdp-play rpc endpoint for play + --rpc string rpc endpoint for ens network. xDai for mainnet | Sepolia for testnet | local fdp-play rpc endpoint for play --swag should run swagger-ui Global Flags: --beeApi string full bee api endpoint (default "localhost:1633") @@ -187,7 +187,7 @@ $ dfs server --swag This should run the dfs server along with swagger-ui, available at `http://localhost:9090/swagger/index.html` assuming server is running on default `9090` port on your localhost -### Running fairOS on goerli testnet and swarm mainnet +### Running fairOS on sepolia testnet and swarm mainnet we need to set `network` configuration in the config file as testnet and bee configuration should point to a bee running on mainnet diff --git a/cmd/dfs/cmd/server.go b/cmd/dfs/cmd/server.go index b5f2c264..059b73fe 100644 --- a/cmd/dfs/cmd/server.go +++ b/cmd/dfs/cmd/server.go @@ -220,7 +220,7 @@ func init() { serverCmd.Flags().String("postageBlockId", "", "the postage block used to store the data in bee") serverCmd.Flags().StringSlice("cors-origins", defaultCORSAllowedOrigins, "allow CORS headers for the given origins") serverCmd.Flags().String("ens-network", "testnet", "network to use for authentication [not related to swarm network] (mainnet/testnet/play)") - serverCmd.Flags().String("rpc", "", "rpc endpoint for ens network. xDai for mainnet | Goerli for testnet | local fdp-play rpc endpoint for play") + serverCmd.Flags().String("rpc", "", "rpc endpoint for ens network. xDai for mainnet | Sepolia for testnet | local fdp-play rpc endpoint for play") rootCmd.AddCommand(serverCmd) } diff --git a/pkg/contracts/config.go b/pkg/contracts/config.go index 19aa472a..3f527128 100644 --- a/pkg/contracts/config.go +++ b/pkg/contracts/config.go @@ -21,7 +21,7 @@ type SubscriptionConfig struct { DataHubAddress string } -// TestnetConfig defines the configuration for goerli testnet +// TestnetConfig defines the configuration for goerli/sepolia testnet func TestnetConfig(chainId string) (*ENSConfig, *SubscriptionConfig) { e := &ENSConfig{ ChainID: chainId,