Skip to content

Commit 24695db

Browse files
JuArceMauroToscanomaximopalopoli
authored
Pull fixes from testnet (#2135)
Co-authored-by: Mauro Toscano <[email protected]> Co-authored-by: Maximo Palopoli <[email protected]>
2 parents 8924dbe + 18f330b commit 24695db

File tree

1 file changed

+8
-8
lines changed
  • crates/sdk/src/verification_layer

1 file changed

+8
-8
lines changed

crates/sdk/src/verification_layer/mod.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -832,15 +832,15 @@ fn save_response_json(
832832
#[cfg(test)]
833833
mod test {
834834
//Public constants for convenience
835-
pub const HOLESKY_PUBLIC_RPC_URL: &str = "https://ethereum-holesky-rpc.publicnode.com";
835+
pub const HOODI_PUBLIC_RPC_URL: &str = "https://ethereum-hoodi-rpc.publicnode.com";
836836
use super::*;
837837

838838
#[tokio::test]
839839
async fn computed_max_fee_for_larger_batch_is_smaller() {
840-
let small_fee = estimate_fee_per_proof_with_rpc(5, HOLESKY_PUBLIC_RPC_URL)
840+
let small_fee = estimate_fee_per_proof_with_rpc(5, HOODI_PUBLIC_RPC_URL)
841841
.await
842842
.unwrap();
843-
let large_fee = estimate_fee_per_proof_with_rpc(2, HOLESKY_PUBLIC_RPC_URL)
843+
let large_fee = estimate_fee_per_proof_with_rpc(2, HOODI_PUBLIC_RPC_URL)
844844
.await
845845
.unwrap();
846846

@@ -849,10 +849,10 @@ mod test {
849849

850850
#[tokio::test]
851851
async fn computed_max_fee_for_more_proofs_larger_than_for_less_proofs() {
852-
let small_fee = estimate_fee_per_proof_with_rpc(20, HOLESKY_PUBLIC_RPC_URL)
852+
let small_fee = estimate_fee_per_proof_with_rpc(20, HOODI_PUBLIC_RPC_URL)
853853
.await
854854
.unwrap();
855-
let large_fee = estimate_fee_per_proof_with_rpc(10, HOLESKY_PUBLIC_RPC_URL)
855+
let large_fee = estimate_fee_per_proof_with_rpc(10, HOODI_PUBLIC_RPC_URL)
856856
.await
857857
.unwrap();
858858

@@ -861,13 +861,13 @@ mod test {
861861

862862
#[tokio::test]
863863
async fn estimate_fee_are_larger_than_one_another() {
864-
let min_fee = estimate_fee(HOLESKY_PUBLIC_RPC_URL, FeeEstimationType::Custom(100))
864+
let min_fee = estimate_fee(HOODI_PUBLIC_RPC_URL, FeeEstimationType::Custom(100))
865865
.await
866866
.unwrap();
867-
let default_fee = estimate_fee(HOLESKY_PUBLIC_RPC_URL, FeeEstimationType::Default)
867+
let default_fee = estimate_fee(HOODI_PUBLIC_RPC_URL, FeeEstimationType::Default)
868868
.await
869869
.unwrap();
870-
let instant_fee = estimate_fee(HOLESKY_PUBLIC_RPC_URL, FeeEstimationType::Instant)
870+
let instant_fee = estimate_fee(HOODI_PUBLIC_RPC_URL, FeeEstimationType::Instant)
871871
.await
872872
.unwrap();
873873

0 commit comments

Comments
 (0)