Skip to content

Commit cefeb12

Browse files
committed
XC-502: Fixup: delete test
1 parent 266bc72 commit cefeb12

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

tests/tests.rs

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -828,49 +828,6 @@ async fn eth_get_transaction_receipt_should_succeed() {
828828
}
829829
}
830830

831-
#[tokio::test]
832-
async fn eth_get_transaction_receipt_should_succeed_with_candid_result() {
833-
let setup = EvmRpcSetup::new().await.mock_api_keys().await;
834-
835-
let mocks = MockHttpOutcallsBuilder::new()
836-
.given(get_transaction_receipt_request().with_id(0_u64))
837-
.respond_with(get_transaction_receipt_response().with_id(0_u64))
838-
.given(get_transaction_receipt_request().with_id(1_u64))
839-
.respond_with(get_transaction_receipt_response().with_id(1_u64))
840-
.given(get_transaction_receipt_request().with_id(2_u64))
841-
.respond_with(get_transaction_receipt_response().with_id(2_u64));
842-
843-
let response = setup
844-
.client(mocks)
845-
.with_candid()
846-
.build()
847-
.get_transaction_receipt(b256!(
848-
"0xdd5d4b18923d7aae953c7996d791118102e889bea37b48a651157a4890e4746f"
849-
))
850-
.send()
851-
.await
852-
.expect_consistent()
853-
.unwrap();
854-
855-
assert_eq!(response, Some(evm_rpc_types::TransactionReceipt {
856-
block_hash: b256!("0x5115c07eb1f20a9d6410db0916ed3df626cfdab161d3904f45c8c8b65c90d0be").into(),
857-
block_number: 0x11a85ab_u64.into(),
858-
effective_gas_price: 0x63c00ee76_u64.into(),
859-
gas_used: 0x7d89_u64.into(),
860-
cumulative_gas_used: 0xf02aed_u64.into(),
861-
status: Some(0x1_u64.into()),
862-
root: None,
863-
transaction_hash: b256!("0xdd5d4b18923d7aae953c7996d791118102e889bea37b48a651157a4890e4746f").into(),
864-
contract_address: None,
865-
from: address!("0x0aa8ebb6ad5a8e499e550ae2c461197624c6e667").into(),
866-
logs: vec![],
867-
logs_bloom: bloom!("0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000").into(),
868-
to: Some(address!("0x356cfd6e6d0000400000003900b415f80669009e").into()),
869-
transaction_index: 0xd9_u64.into(),
870-
tx_type: 0x2_u8.into(),
871-
}));
872-
}
873-
874831
#[tokio::test]
875832
async fn eth_get_transaction_count_should_succeed() {
876833
fn mocks(offset: u64) -> MockHttpOutcallsBuilder {

0 commit comments

Comments
 (0)