Skip to content

Commit

Permalink
Test fix update (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-iohk authored Oct 16, 2024
1 parent 2382ce8 commit 42481c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 122 deletions.
2 changes: 1 addition & 1 deletion tests/search_transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ async fn search_transactions_zkapp_failed() -> Result<()> {
// cspell:disable-next-line
"5JujBt8rnKheA7CHBnTwUDXrHtQxqPB9LL5Q8y4KwLjPBsBSJuSE".to_string(),
))),
limit: Some(3),
limit: Some(1),
..Default::default()
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,128 +125,8 @@ Ok(
metadata: None,
},
},
BlockTransaction {
block_identifier: BlockIdentifier {
index: 356949,
hash: "3NKL6D7kcvH28odK9QpCqvKuHjx2jm2BhfKjPVkvLLyAoKKMD3JF",
},
transaction: Transaction {
transaction_identifier: TransactionIdentifier {
hash: "5JujBt8rnKheA7CHBnTwUDXrHtQxqPB9LL5Q8y4KwLjPBsBSJuSE",
},
operations: [
Operation {
operation_identifier: OperationIdentifier {
index: 0,
network_index: None,
},
related_operations: None,
type: "zkapp_fee_payer_dec",
status: Some(
"Success",
),
account: Some(
AccountIdentifier {
address: "B62qjGsPY47SMkTykivPBAU3riS9gvMMrGr7ve6ynoHJNBzAhQmtoBn",
sub_account: None,
metadata: Some(
Object {
"token_id": String("wSHV2S4qX9jFsLjQo8r1BsMLH2ZRKsZx6EJd1sbozGPieEC4Jf"),
},
),
},
),
amount: Some(
Amount {
value: "-100000000",
currency: Currency {
symbol: "MINA",
decimals: 9,
metadata: None,
},
metadata: None,
},
),
coin_change: None,
metadata: None,
},
Operation {
operation_identifier: OperationIdentifier {
index: 1,
network_index: None,
},
related_operations: None,
type: "zkapp_balance_update",
status: Some(
"Failed",
),
account: Some(
AccountIdentifier {
address: "B62qide3tEVFgzLFo72rhrF4p8Luv6R5NAmvwo83SnZGnwV9Q6fiVTK",
sub_account: None,
metadata: Some(
Object {
"token_id": String("wSHV2S4qX9jFsLjQo8r1BsMLH2ZRKsZx6EJd1sbozGPieEC4Jf"),
},
),
},
),
amount: Some(
Amount {
value: "0",
currency: Currency {
symbol: "MINA",
decimals: 9,
metadata: None,
},
metadata: None,
},
),
coin_change: None,
metadata: None,
},
Operation {
operation_identifier: OperationIdentifier {
index: 2,
network_index: None,
},
related_operations: None,
type: "zkapp_balance_update",
status: Some(
"Failed",
),
account: Some(
AccountIdentifier {
address: "B62qjGsPY47SMkTykivPBAU3riS9gvMMrGr7ve6ynoHJNBzAhQmtoBn",
sub_account: None,
metadata: Some(
Object {
"token_id": String("wSHV2S4qX9jFsLjQo8r1BsMLH2ZRKsZx6EJd1sbozGPieEC4Jf"),
},
),
},
),
amount: Some(
Amount {
value: "0",
currency: Currency {
symbol: "MINA",
decimals: 9,
metadata: None,
},
metadata: None,
},
),
coin_change: None,
metadata: None,
},
],
related_transactions: None,
metadata: None,
},
},
],
total_count: 2,
total_count: 1,
next_offset: None,
},
)

0 comments on commit 42481c8

Please sign in to comment.