From 41fb78f6030cd200b9299b629c5d50335f87ed4c Mon Sep 17 00:00:00 2001 From: akorchyn Date: Tue, 17 Dec 2024 17:49:26 +0200 Subject: [PATCH] chore: updates near-sandbox to nearcore 2.4.0 --- crate/src/lib.rs | 4 ++-- npm/.changeset/grumpy-jars-buy.md | 5 +++++ npm/src/getBinary.ts | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 npm/.changeset/grumpy-jars-buy.md diff --git a/crate/src/lib.rs b/crate/src/lib.rs index 15d6a79..d192cf2 100644 --- a/crate/src/lib.rs +++ b/crate/src/lib.rs @@ -10,8 +10,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@v2.3.1 released on November 13, 2024 -pub const DEFAULT_NEAR_SANDBOX_VERSION: &str = "2.3.1"; +// Currently pointing to nearcore@v2.4.0 released on December 11, 2024 +pub const DEFAULT_NEAR_SANDBOX_VERSION: &str = "2.4.0"; const fn platform() -> Option<&'static str> { #[cfg(all(target_os = "linux", target_arch = "x86_64"))] diff --git a/npm/.changeset/grumpy-jars-buy.md b/npm/.changeset/grumpy-jars-buy.md new file mode 100644 index 0000000..1ef3a86 --- /dev/null +++ b/npm/.changeset/grumpy-jars-buy.md @@ -0,0 +1,5 @@ +--- +"near-sandbox": patch +--- + +Updated near-sandbox version to 2.4.0 version diff --git a/npm/src/getBinary.ts b/npm/src/getBinary.ts index ddc7f8a..3f0a2c6 100644 --- a/npm/src/getBinary.ts +++ b/npm/src/getBinary.ts @@ -18,7 +18,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}/2.3.1/near-sandbox.tar.gz`; + return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/2.4.0/near-sandbox.tar.gz`; } export function getBinary(name: string = "near-sandbox"): Promise {