Skip to content

Commit

Permalink
transaction v1
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Aug 14, 2024
1 parent 4bef25b commit 5c0f448
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
# The version specified below, should be at least as high as the maximum `rust-version` within the workspace.
channel = "1.80"
components = ["rustfmt", "clippy", "rust-analyzer"]
targets = ["wasm32-unknown-unknown"]
1 change: 0 additions & 1 deletion workspaces/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ async-trait = "0.1"
base64 = "0.22"
bs58 = "0.5"
cargo_metadata = { version = "0.18", optional = true }
# For cargo-near release
cargo-near = { version = "0.8", default-features = false }
chrono = "0.4.19"
fs2 = "0.4"
Expand Down
4 changes: 2 additions & 2 deletions workspaces/src/rpc/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ pub(crate) async fn send_batch_tx_and_retry(
send_tx(
client,
&cache_key,
SignedTransaction::from_actions(
SignedTransaction::from_actions_v1(
nonce,
signer.account_id.clone(),
receiver_id.clone(),
Expand Down Expand Up @@ -602,7 +602,7 @@ pub(crate) async fn send_batch_tx_async_and_retry(
let hash = worker
.client()
.query(&methods::broadcast_tx_async::RpcBroadcastTxAsyncRequest {
signed_transaction: SignedTransaction::from_actions(
signed_transaction: SignedTransaction::from_actions_v1(
nonce,
signer.account_id.clone(),
receiver_id.clone(),
Expand Down

0 comments on commit 5c0f448

Please sign in to comment.