From 20aacf6edbdf726714774ecfef53ffe662144b86 Mon Sep 17 00:00:00 2001 From: Bo Yao Date: Wed, 23 Oct 2024 23:21:10 +0800 Subject: [PATCH] Pin rust to 1.81.0 to make contract deserialize in near node (#906) * Pin rust to 1.81.0 to make contract deserialize in near node * trigger ci --- integration-tests/chain-signatures/tests/cases/mod.rs | 2 +- rust-toolchain.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 rust-toolchain.toml diff --git a/integration-tests/chain-signatures/tests/cases/mod.rs b/integration-tests/chain-signatures/tests/cases/mod.rs index 2cb2cad70..a166d7d23 100644 --- a/integration-tests/chain-signatures/tests/cases/mod.rs +++ b/integration-tests/chain-signatures/tests/cases/mod.rs @@ -110,7 +110,7 @@ async fn test_signature_offline_node() -> anyhow::Result<()> { wait_for::has_at_least_triples(&ctx, 6).await?; wait_for::has_at_least_mine_triples(&ctx, 2).await?; - // Kill the node then have presignature and signature generation only use the active set of nodes + // Kill the node then have presignatures and signature generation only use the active set of nodes // to start generating presignatures and signatures. let account_id = near_workspaces::types::AccountId::from_str( state_0.participants.keys().last().unwrap().clone().as_ref(), diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 000000000..184dfb58f --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "1.81.0" +targets = ["wasm32-unknown-unknown"]