Skip to content

Commit

Permalink
fix(providers): adding Aurora to the init providers (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
geekbrother authored Jan 24, 2024
1 parent d093f95 commit ae26198
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ use {
Router,
},
env::{
AuroraConfig,
BaseConfig,
BinanceConfig,
InfuraConfig,
Expand All @@ -30,6 +31,7 @@ use {
http::Request,
hyper::{header::HeaderName, http, server::conn::AddrIncoming, Body, Server},
providers::{
AuroraProvider,
BaseProvider,
BinanceProvider,
InfuraProvider,
Expand Down Expand Up @@ -311,6 +313,7 @@ fn init_providers(config: &ProvidersConfig) -> ProviderRepository {

// Keep in-sync with SUPPORTED_CHAINS.md

providers.add_provider::<AuroraProvider, AuroraConfig>(AuroraConfig::default());
providers
.add_provider::<PoktProvider, PoktConfig>(PoktConfig::new(config.pokt_project_id.clone()));

Expand Down
1 change: 1 addition & 0 deletions src/providers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ mod zksync;
mod zora;

pub use {
aurora::AuroraProvider,
base::BaseProvider,
binance::BinanceProvider,
infura::{InfuraProvider, InfuraWsProvider},
Expand Down

0 comments on commit ae26198

Please sign in to comment.