From 6c03f7b9a7f7a16d493dc2b32aa1d622d66f1ce7 Mon Sep 17 00:00:00 2001 From: Heemank Verma Date: Fri, 16 Aug 2024 15:58:02 +0530 Subject: [PATCH] update: added Blast rpc for eth --- .github/workflows/coverage.yml | 2 ++ crates/settlement-clients/ethereum/src/tests/mod.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 30713799..6aaa8442 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -54,6 +54,8 @@ jobs: cargo llvm-cov clean --workspace - name: Run llvm-cov + env: + ETHEREUM_BLAST_RPC_URL: ${{ secrets.ETHEREUM_BLAST_RPC_URL }} run: | cargo llvm-cov nextest --release --lcov --output-path lcov.info --test-threads=1 diff --git a/crates/settlement-clients/ethereum/src/tests/mod.rs b/crates/settlement-clients/ethereum/src/tests/mod.rs index 6a1194b5..a082d184 100644 --- a/crates/settlement-clients/ethereum/src/tests/mod.rs +++ b/crates/settlement-clients/ethereum/src/tests/mod.rs @@ -48,7 +48,7 @@ lazy_static! { .expect("Path contains invalid Unicode") .to_string(); static ref PORT: u16 = 3000_u16; - static ref ETH_RPC: String = "https://eth.llamarpc.com".to_string(); + static ref ETH_RPC: String = get_env_var_or_panic("ETHEREUM_BLAST_RPC_URL"); static ref SHOULD_IMPERSONATE_ACCOUNT: bool = get_env_var_or_panic("TEST_IMPERSONATE_OPERATOR") == *"1"; static ref TEST_DUMMY_CONTRACT_ADDRESS: String = get_env_var_or_panic("TEST_DUMMY_CONTRACT_ADDRESS"); static ref STARKNET_OPERATOR_ADDRESS: Address =