From 46dec8773ffbdfa6dd79582ba515734f62bf8fbf Mon Sep 17 00:00:00 2001 From: David Millar-Durrant Date: Thu, 18 Jul 2024 15:04:37 +0200 Subject: [PATCH] Fix post merge --- chain-signatures/contract/src/lib.rs | 4 +++- flake.nix | 1 + integration-tests/chain-signatures/tests/actions/mod.rs | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/chain-signatures/contract/src/lib.rs b/chain-signatures/contract/src/lib.rs index 36b730d13..01b56db4d 100644 --- a/chain-signatures/contract/src/lib.rs +++ b/chain-signatures/contract/src/lib.rs @@ -7,7 +7,9 @@ use crypto_shared::{ use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize}; use near_sdk::collections::LookupMap; use near_sdk::serde::{Deserialize, Serialize}; -use near_sdk::{env, near_bindgen, AccountId, NearToken, Promise, PromiseOrValue, PublicKey}; +use near_sdk::{ + env, near_bindgen, AccountId, BorshStorageKey, NearToken, Promise, PromiseOrValue, PublicKey, +}; use near_sdk::{log, Gas}; use primitives::{ CandidateInfo, Candidates, ParticipantInfo, Participants, PkVotes, SignRequest, Votes, diff --git a/flake.nix b/flake.nix index 885f39aec..95185b8c6 100644 --- a/flake.nix +++ b/flake.nix @@ -54,6 +54,7 @@ cargo-watch cargo-audit sccache + gmp # TODO Add podman + docker image dependencies # TODO Add AWS-CLI and dummy credentials diff --git a/integration-tests/chain-signatures/tests/actions/mod.rs b/integration-tests/chain-signatures/tests/actions/mod.rs index 37e7f1168..e7fc4f68d 100644 --- a/integration-tests/chain-signatures/tests/actions/mod.rs +++ b/integration-tests/chain-signatures/tests/actions/mod.rs @@ -73,7 +73,7 @@ pub async fn request_sign( }))?, gas: 300_000_000_000_000, deposit: 1, - })], + }))], } .sign(&signer), }) @@ -242,7 +242,7 @@ pub async fn request_sign_non_random( }))?, gas: 300_000_000_000_000, deposit: 1, - })], + }))], } .sign(&signer), })