Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Apr 23, 2024
1 parent d109521 commit b427753
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pallets/ethereum-checked/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use super::*;
use mock::*;

use astar_primitives::ethereum_checked::EthereumTxInput;
use ethereum::{ReceiptV3, ReceiptV3 as Receipt, TransactionV2 as Transaction};
use ethereum::{ReceiptV3 as Receipt, TransactionV2 as Transaction};
pub use fp_rpc::TransactionStatus;
use frame_support::{assert_noop, assert_ok};
use sp_runtime::DispatchError;
Expand Down Expand Up @@ -57,15 +57,15 @@ fn transact_works() {
assert_eq!(pending.len(), 2);

match pending[0] {
(Transaction::EIP1559(ref t), _, ReceiptV3::EIP1559(ref r)) => {
(Transaction::EIP1559(ref t), _, Receipt::EIP1559(ref r)) => {
// nonce 0, status code 1 (success)
assert_eq!(t.nonce, U256::zero());
assert_eq!(r.status_code, 1);
}
_ => panic!("unexpected transaction type"),
}
match pending[1] {
(Transaction::EIP1559(ref t), _, ReceiptV3::EIP1559(ref r)) => {
(Transaction::EIP1559(ref t), _, Receipt::EIP1559(ref r)) => {
// nonce 1, status code 1 (success)
assert_eq!(t.nonce, U256::one());
assert_eq!(r.status_code, 1);
Expand Down

0 comments on commit b427753

Please sign in to comment.