Fix BASE, OPTIMISM, ARBITRIUM (#624)
* Fix BASE, OPTIMISM, ARBITRIUM Co-authored-by: ftocal <fert1335@gmail.com> * Add base url in secrets. --------- Co-authored-by: Fernando Torres <fert1335@gmail.com>
This commit is contained in:
parent
160f80018f
commit
7426612aff
|
@ -244,15 +244,18 @@ func newWatchersForMainnet(cfg *config.ServiceConfiguration) *watchersConfig {
|
|||
config.BSC_MAINNET,
|
||||
config.FANTOM_MAINNET,
|
||||
},
|
||||
avalanche: &config.AVALANCHE_MAINNET,
|
||||
aptos: &config.APTOS_MAINNET,
|
||||
arbitrum: &config.ARBITRUM_MAINNET,
|
||||
avalanche: &config.AVALANCHE_MAINNET,
|
||||
base: &config.BASE_MAINNET,
|
||||
celo: &config.CELO_MAINNET,
|
||||
ethereum: &config.ETHEREUM_MAINNET,
|
||||
moonbeam: &config.MOONBEAM_MAINNET,
|
||||
oasis: &config.OASIS_MAINNET,
|
||||
optimism: &config.OPTIMISM_MAINNET,
|
||||
solana: &config.SOLANA_MAINNET,
|
||||
terra: &config.TERRA_MAINNET,
|
||||
|
||||
rateLimit: rateLimitConfig{
|
||||
ankr: cfg.AnkrRequestsPerSecond,
|
||||
avalanche: cfg.AvalancheRequestsPerSecond,
|
||||
|
@ -277,13 +280,15 @@ func newWatchersForTestnet(cfg *config.ServiceConfiguration) *watchersConfig {
|
|||
config.BSC_TESTNET,
|
||||
config.FANTOM_TESTNET,
|
||||
},
|
||||
avalanche: &config.AVALANCHE_TESTNET,
|
||||
aptos: &config.APTOS_TESTNET,
|
||||
arbitrum: &config.ARBITRUM_TESTNET,
|
||||
avalanche: &config.AVALANCHE_TESTNET,
|
||||
celo: &config.CELO_TESTNET,
|
||||
base: &config.BASE_TESTNET,
|
||||
ethereum: &config.ETHEREUM_TESTNET,
|
||||
moonbeam: &config.MOONBEAM_TESTNET,
|
||||
oasis: &config.OASIS_TESTNET,
|
||||
optimism: &config.OPTIMISM_TESTNET,
|
||||
solana: &config.SOLANA_TESTNET,
|
||||
rateLimit: rateLimitConfig{
|
||||
ankr: cfg.AnkrRequestsPerSecond,
|
||||
|
|
|
@ -27,8 +27,8 @@ type ServiceConfiguration struct {
|
|||
ArbitrumRequestsPerSecond int `env:"ARBITRUM_REQUESTS_PER_SECOND,required"`
|
||||
AvalancheUrl string `env:"AVALANCHE_URL,required"`
|
||||
AvalancheRequestsPerSecond int `env:"AVALANCHE_REQUESTS_PER_SECOND,required"`
|
||||
BaseUrl string `env:"ARBITRUM_URL,required"`
|
||||
BaseRequestsPerSecond int `env:"ARBITRUM_REQUESTS_PER_SECOND,required"`
|
||||
BaseUrl string `env:"BASE_URL,required"`
|
||||
BaseRequestsPerSecond int `env:"BASE_REQUESTS_PER_SECOND,required"`
|
||||
CeloUrl string `env:"CELO_URL,required"`
|
||||
CeloRequestsPerSecond int `env:"CELO_REQUESTS_PER_SECOND,required"`
|
||||
EthereumUrl string `env:"ETHEREUM_URL,required"`
|
||||
|
|
|
@ -16,4 +16,5 @@ data:
|
|||
optimism-url: {{ .OPTIMISM_URL | b64enc }}
|
||||
ethereum-url: {{ .ETHEREUM_URL | b64enc }}
|
||||
avalanche-url: {{ .AVALANCHE_URL | b64enc }}
|
||||
base-url: {{ .BASE_URL | b64enc }}
|
||||
type: Opaque
|
||||
|
|
Loading…
Reference in New Issue