From 78dfd7591d03f1ab031de7c5878e60b7df918c0e Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Mon, 24 Jan 2022 19:40:46 +0200 Subject: [PATCH] chore: remove broken celo test the error was on the alfajores testnet: 'missing trie node c04caafad74d59d8ca27dbbbc49e257d4f4d490bbe40534691dbb101618e2e87' unclear why this is happening, but tx validation for celo is working otherwise --- ethers-providers/tests/provider.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/ethers-providers/tests/provider.rs b/ethers-providers/tests/provider.rs index 9e8453d0..3caec3cf 100644 --- a/ethers-providers/tests/provider.rs +++ b/ethers-providers/tests/provider.rs @@ -111,22 +111,6 @@ mod celo_tests { use ethers_core::types::{Randomness, H256}; use futures_util::stream::StreamExt; - #[tokio::test] - // https://alfajores-blockscout.celo-testnet.org/tx/0xd3d27aa4517124d9ff3ac6f1d8f248e0fe47b6f841b625722546162672ac24c7/internal-transactions - async fn get_transaction() { - let provider = - Provider::::try_from("https://alfajores-forno.celo-testnet.org").unwrap(); - - let tx_hash = "a8e1d4b9e245a67fafc7c516ff844c2615cc6419d53560e7f358b124e4ce5e1d" - .parse::() - .unwrap(); - let tx = provider.get_transaction(tx_hash).await.unwrap().unwrap(); - assert!(tx.gateway_fee_recipient.is_none()); - assert_eq!(tx.gateway_fee.unwrap(), 0.into()); - assert_eq!(tx.hash, tx_hash); - assert_eq!(tx.block_number.unwrap(), 9534852.into()) - } - #[tokio::test] async fn get_block() { let provider =