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
This commit is contained in:
Georgios Konstantopoulos 2022-01-24 19:40:46 +02:00
parent 75eca0116f
commit 78dfd7591d
1 changed files with 0 additions and 16 deletions

View File

@ -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::<Http>::try_from("https://alfajores-forno.celo-testnet.org").unwrap();
let tx_hash = "a8e1d4b9e245a67fafc7c516ff844c2615cc6419d53560e7f358b124e4ce5e1d"
.parse::<H256>()
.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 =