From f4a8c044873e0ebdf967a79ac137755d2d648281 Mon Sep 17 00:00:00 2001 From: Bo Yao Date: Wed, 23 Oct 2024 19:29:28 +0800 Subject: [PATCH 1/2] Pin rust to 1.81.0 to make contract deserialize in near node --- rust-toolchain.toml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 rust-toolchain.toml diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 00000000..b7a91cca --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,4 @@ +[toolchain] +channel = "1.80.0" +components = ["rustfmt", "clippy"] +targets = ["wasm32-unknown-unknown"] From 732bcd25b72c31e674142830e87900f083b174de Mon Sep 17 00:00:00 2001 From: Bo Yao Date: Wed, 23 Oct 2024 19:31:07 +0800 Subject: [PATCH 2/2] trigger ci --- integration-tests/chain-signatures/tests/cases/mod.rs | 2 +- rust-toolchain.toml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/integration-tests/chain-signatures/tests/cases/mod.rs b/integration-tests/chain-signatures/tests/cases/mod.rs index 2cb2cad7..a166d7d2 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 index b7a91cca..184dfb58 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,3 @@ [toolchain] -channel = "1.80.0" -components = ["rustfmt", "clippy"] +channel = "1.81.0" targets = ["wasm32-unknown-unknown"]