diff --git a/docs/guides/reputation-mining-client.md b/docs/guides/reputation-mining-client.md index 22572f933a..ac8f5ab113 100644 --- a/docs/guides/reputation-mining-client.md +++ b/docs/guides/reputation-mining-client.md @@ -7,7 +7,7 @@ sidebar_position: 3 ## Running the Mining Client -The reputation mining client can be run locally to sync with a local hardhat instance, the `rinkeby`, `ropsten`, or `kovan` testnets, or with `mainnet`. +The reputation mining client can be run locally to sync with a local hardhat instance, the `sepolia` testnet, or with `mainnet`. To participate in the reputation mining process you need to have staked at least the [minimum amount of CLNY Tokens](../interfaces/ireputationminingcycle#getminstake-uint256-minstake), for at least [one full mining cycle duration](../interfaces/ireputationminingcycle#getminingwindowduration-uint256-miningwindowduration) before you can submit a new reputation root hash. @@ -22,13 +22,13 @@ Mandatory arguments: ``` (--minerAddress
) | (--privateKey ) (--colonyNetworkAddress
) -(--syncFrom ) // [mainnet:'7913100'] +(--syncFrom ) // [sepolia: '28290396', mainnet:'7913100'] ``` Optional arguments: ``` -[--network <(rinkeby|ropsten|kovan|mainnet)>] +[--network <(sepolia|mainnet)>] [--localPort ] [--dbPath <$PATH>] [--auto <(true|false)>] @@ -43,7 +43,7 @@ Private key of the miner account which the client will sign reputation mining co #### `--colonyNetworkAddress` -The address of the Colony Network's `EtherRouter`. See [Upgrades to the Colony Network](../concepts/upgrades) for more information about the EtherRouter design pattern. This address is static on all networks, with the `mainnet` address of `0x5346d0f80e2816fad329f2c140c870ffc3c3e2ef` +The address of the Colony Network's `EtherRouter`. See [Upgrades to the Colony Network](../concepts/upgrades) for more information about the EtherRouter design pattern. This address is static on all networks, with the `sepolia` address of `0x7777494e3d8cce0D3570E21FEf820F9Fee077777` and the `mainnet` address of `0x5346d0f80e2816fad329f2c140c870ffc3c3e2ef` #### `--dbPath` @@ -51,7 +51,7 @@ Path for the sqlite database storing reputation state. Default is `./reputationS #### `--network` -Used for connecting to a supported Infura node (instead of a local client). Valid options are `rinkeby` `ropsten` `kovan` and `mainnet`. +Used for connecting to a supported Infura node (instead of a local client). Valid options are `sepolia` and `mainnet`. #### `--localPort` @@ -61,6 +61,7 @@ Used to connect to a local client running on the specified port. Default is `854 Block number to start reputation state sync from. This is the block at which the reputation mining process was initialised. This number is static on all networks +* `sepolia: 28290396` * `mainnet: 7913100` Note that beginning the sync with a too-early block will result in an error. If you get this exception, try syncing from a more recent block. Note that the sync process can take long. Latest tests syncing a client from scratch to 28 reputation cycles took \~2 hours. diff --git a/packages/reputation-miner/bin/index.js b/packages/reputation-miner/bin/index.js index acb428fe34..7a76f36ae0 100644 --- a/packages/reputation-miner/bin/index.js +++ b/packages/reputation-miner/bin/index.js @@ -11,7 +11,7 @@ const {RetryProvider} = require("../../package-utils"); const { ConsoleAdapter, SlackAdapter, DiscordAdapter, TruffleLoader } = require("../../package-utils"); -const supportedInfuraNetworks = ["rinkeby", "ropsten", "kovan", "mainnet"]; +const supportedInfuraNetworks = ["sepolia", "mainnet"]; const { minerAddress, privateKey,