diff --git a/src/config/networks.ts b/src/config/networks.ts index e130f0687d..e96f1eab82 100644 --- a/src/config/networks.ts +++ b/src/config/networks.ts @@ -17,8 +17,7 @@ export const NetworkList: Networks = { lightClient: WellKnownChain.polkadot, defaultRpcEndpoint: 'Parity', rpcEndpoints: { - // TODO: remove after runtime upgrade - Parity: 'wss://testnet.vara.network', + Parity: 'wss://rpc.vara.network', }, }, namespace: 'fe1b4c55fd4d668101126434206571a7', diff --git a/src/contexts/Pools/PoolsConfig/index.tsx b/src/contexts/Pools/PoolsConfig/index.tsx index 0c31f46744..9b2f38a56a 100644 --- a/src/contexts/Pools/PoolsConfig/index.tsx +++ b/src/contexts/Pools/PoolsConfig/index.tsx @@ -121,10 +121,9 @@ export const PoolsConfigProvider = ({ maxPools, minCreateBond: new BigNumber(minCreateBond.toString()), minJoinBond: new BigNumber(minJoinBond.toString()), - // TODO: remove after runtime upgrade - globalMaxCommission: globalMaxCommission.toHuman() - ? Number(globalMaxCommission.toHuman().slice(0, -1)) - : 0, + globalMaxCommission: Number( + globalMaxCommission.toHuman().slice(0, -1) + ), }, }, setPoolsConfig,