fix: validate schema

This commit is contained in:
nikdementev 2021-07-28 13:07:53 +03:00
parent 4809d17f27
commit 1e08f78316
No known key found for this signature in database
GPG Key ID: 769B05D57CF16FE2
2 changed files with 5 additions and 5 deletions

View File

@ -4,15 +4,15 @@ import { ChainId } from '@/types';
const NETWORKS_INFO: { [chainId in ChainId] } = { const NETWORKS_INFO: { [chainId in ChainId] } = {
[ChainId.MAINNET]: { [ChainId.MAINNET]: {
gasLimit: BigNumber.from(600000), gasLimit: BigNumber.from(600000),
minimumBalance: 0.5, minimumBalance: '0.5',
}, },
[ChainId.GOERLI]: { [ChainId.GOERLI]: {
gasLimit: BigNumber.from(600000), gasLimit: BigNumber.from(600000),
minimumBalance: 0.5, minimumBalance: '0.5',
}, },
[ChainId.OPTIMISM]: { [ChainId.OPTIMISM]: {
gasLimit: '', gasLimit: '',
minimumBalance: 0.5, minimumBalance: '0.5',
}, },
}; };

View File

@ -20,10 +20,10 @@ class ApiService {
return { return {
health, health,
chainId,
version, version,
serviceFee,
rewardAddress, rewardAddress,
chainId: Number(chainId),
serviceFee: Number(serviceFee),
}; };
} }