mirror of
https://github.com/tornadocash/tornado-pool-relayer
synced 2024-02-02 15:04:09 +01:00
fix: validate schema
This commit is contained in:
parent
4809d17f27
commit
1e08f78316
@ -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',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,10 +20,10 @@ class ApiService {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
health,
|
health,
|
||||||
chainId,
|
|
||||||
version,
|
version,
|
||||||
serviceFee,
|
|
||||||
rewardAddress,
|
rewardAddress,
|
||||||
|
chainId: Number(chainId),
|
||||||
|
serviceFee: Number(serviceFee),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user