fix: final fixes & polishing

This commit is contained in:
Daniil Polyakov
2026-03-20 00:47:37 +03:00
parent 9d87e3b046
commit b631ef02c6
21 changed files with 120 additions and 639 deletions
@@ -62,7 +62,7 @@ impl WalletSubcommand for AuthTransferSubcommand {
.register_account(account_id)
.await?;
println!("Results of tx send are {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -77,7 +77,7 @@ impl WalletSubcommand for AuthTransferSubcommand {
.register_account_private(account_id)
.await?;
println!("Results of tx send are {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -313,7 +313,7 @@ impl WalletSubcommand for NativeTokenTransferProgramSubcommandPrivate {
.send_private_transfer_to_owned_account(from, to, amount)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -352,7 +352,7 @@ impl WalletSubcommand for NativeTokenTransferProgramSubcommandPrivate {
.send_private_transfer_to_outer_account(from, to_npk, to_vpk, amount)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -387,7 +387,7 @@ impl WalletSubcommand for NativeTokenTransferProgramSubcommandShielded {
.send_shielded_transfer(from, to, amount)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -427,7 +427,7 @@ impl WalletSubcommand for NativeTokenTransferProgramSubcommandShielded {
.send_shielded_transfer_to_outer_account(from, to_npk, to_vpk, amount)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
wallet_core.store_persistent_data().await?;
@@ -457,7 +457,7 @@ impl WalletSubcommand for NativeTokenTransferProgramSubcommand {
.send_deshielded_transfer(from, to, amount)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -482,7 +482,7 @@ impl WalletSubcommand for NativeTokenTransferProgramSubcommand {
.send_public_transfer(from, to, amount)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
+2 -2
View File
@@ -116,7 +116,7 @@ impl WalletSubcommand for PinataProgramSubcommandPublic {
.claim(pinata_account_id, winner_account_id, solution)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -151,7 +151,7 @@ impl WalletSubcommand for PinataProgramSubcommandPrivate {
.claim_private_owned_account(pinata_account_id, winner_account_id, solution)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
+16 -16
View File
@@ -721,7 +721,7 @@ impl WalletSubcommand for TokenProgramSubcommandPrivate {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -769,7 +769,7 @@ impl WalletSubcommand for TokenProgramSubcommandPrivate {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -802,7 +802,7 @@ impl WalletSubcommand for TokenProgramSubcommandPrivate {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -838,7 +838,7 @@ impl WalletSubcommand for TokenProgramSubcommandPrivate {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -887,7 +887,7 @@ impl WalletSubcommand for TokenProgramSubcommandPrivate {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -930,7 +930,7 @@ impl WalletSubcommand for TokenProgramSubcommandDeshielded {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -963,7 +963,7 @@ impl WalletSubcommand for TokenProgramSubcommandDeshielded {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -996,7 +996,7 @@ impl WalletSubcommand for TokenProgramSubcommandDeshielded {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -1051,7 +1051,7 @@ impl WalletSubcommand for TokenProgramSubcommandShielded {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -1079,7 +1079,7 @@ impl WalletSubcommand for TokenProgramSubcommandShielded {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -1112,7 +1112,7 @@ impl WalletSubcommand for TokenProgramSubcommandShielded {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -1145,7 +1145,7 @@ impl WalletSubcommand for TokenProgramSubcommandShielded {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -1191,7 +1191,7 @@ impl WalletSubcommand for TokenProgramSubcommandShielded {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -1231,7 +1231,7 @@ impl WalletSubcommand for CreateNewTokenProgramSubcommand {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -1269,7 +1269,7 @@ impl WalletSubcommand for CreateNewTokenProgramSubcommand {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;
@@ -1304,7 +1304,7 @@ impl WalletSubcommand for CreateNewTokenProgramSubcommand {
)
.await?;
println!("Transaction hash is {tx_hash:#?}");
println!("Transaction hash is {tx_hash}");
let transfer_tx = wallet_core.poll_native_token_transfer(tx_hash).await?;