From 057ab8eb12d9b6b88a37accb0afa2235a3d3f78d Mon Sep 17 00:00:00 2001 From: Vladyslav-Bochok Date: Tue, 17 May 2022 14:09:36 +0100 Subject: [PATCH] Fix withdraw NFT cost test --- core/tests/testkit/src/eth_account.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/testkit/src/eth_account.rs b/core/tests/testkit/src/eth_account.rs index 41e765dcc4..8de8629a01 100644 --- a/core/tests/testkit/src/eth_account.rs +++ b/core/tests/testkit/src/eth_account.rs @@ -458,7 +458,7 @@ impl EthereumAccount { Token::Uint(Uint::from(200_000)), ])), ZkSyncTx::WithdrawNFT(tx) => nft_balances.push(Token::Tuple(vec![ - Token::Uint(Uint::from_str(&tx.token.0.to_string()).unwrap()), + Token::Uint(Uint::from(tx.token.0)), Token::Uint(Uint::from(300_000)), ])), _ => unreachable!(),