From 14dd6d34d7824de9f5c25f883b19b40d4aeb4aad Mon Sep 17 00:00:00 2001 From: Vlad Frolov Date: Mon, 10 Jun 2024 20:45:36 +0200 Subject: [PATCH] chore!: Updated the default neard version to 1.39.2 It is a breaking change since 1.37 release changed the default rules for top-level accounts creation --- crate/src/lib.rs | 4 ++-- npm/src/getBinary.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crate/src/lib.rs b/crate/src/lib.rs index 3d79ba8..954047d 100644 --- a/crate/src/lib.rs +++ b/crate/src/lib.rs @@ -11,8 +11,8 @@ pub mod sync; // The current version of the sandbox node we want to point to. // Should be updated to the latest release of nearcore. -// Currently pointing to nearcore@v1.38.0 released on March 18, 2024 -pub const DEFAULT_NEAR_SANDBOX_VERSION: &str = "1.38.0/aac5e42fe8975e27faca53e31f53f9c67a5b4e35"; +// Currently pointing to nearcore@v1.39.2 released on May 22, 2024 +pub const DEFAULT_NEAR_SANDBOX_VERSION: &str = "1.39.2/a0f74bb99341a11d0978c3cf85ef428ee935fdbd"; const fn platform() -> Option<&'static str> { #[cfg(all(target_os = "linux", target_arch = "x86_64"))] diff --git a/npm/src/getBinary.ts b/npm/src/getBinary.ts index b026fb8..bbbe3a8 100644 --- a/npm/src/getBinary.ts +++ b/npm/src/getBinary.ts @@ -17,7 +17,7 @@ function getPlatform() { export function AWSUrl(): string { const [platform, arch] = getPlatform(); - return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/1.38.0/aac5e42fe8975e27faca53e31f53f9c67a5b4e35/near-sandbox.tar.gz`; + return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/1.39.2/a0f74bb99341a11d0978c3cf85ef428ee935fdbd/near-sandbox.tar.gz`; } export function getBinary(name: string = "near-sandbox"): Promise {