Skip to content

Commit

Permalink
fix: test url
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkAfCod authored and GrapeBaBa committed Mar 13, 2024
1 parent f084d90 commit c1fb9b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions hildr-node/src/test/java/io/optimism/TestConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ private TestConstants() {}
private static final String OPT_API_ENV = "OPT_API_KEY";

/** The L 1 rpc url format. */
static String l1RpcUrlFormat = "https://eth-goerli.g.alchemy.com/v2/%s";
static String l1RpcUrlFormat = "https://eth-sepolia.g.alchemy.com/v2/%s";

static String l1RpcWsUrlFormat = "wss://eth-goerli.g.alchemy.com/v2/%s";
static String l1RpcWsUrlFormat = "wss://eth-sepolia.g.alchemy.com/v2/%s";

static String l1RpcBeaconUrlFormat = "%s";

/** The L 2 rpc url format. */
static String l2RpcUrlFormat = "https://opt-goerli.g.alchemy.com/v2/%s";
static String l2RpcUrlFormat = "https://opt-sepolia.g.alchemy.com/v2/%s";

/**
* Create config config.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ public static Tuple2<Web3j, Web3jService> create(String url) {
okHttpClientBuilder.addInterceptor(
new HttpLoggingInterceptor(LOGGER::debug).setLevel(HttpLoggingInterceptor.Level.BODY));
}
var okHttpClient = okHttpClientBuilder.addInterceptor(new RetryRateLimitInterceptor())
var okHttpClient = okHttpClientBuilder
.addInterceptor(new RetryRateLimitInterceptor())
.build();
web3Srv = new HttpService(url, okHttpClient);
} else if (Web3jProvider.isWs(url)) {
Expand Down

0 comments on commit c1fb9b2

Please sign in to comment.