Skip to content

Commit

Permalink
chore: Updated near-sandbox version to 2.3.1 version (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn authored Nov 15, 2024
1 parent 4d48a24 commit 43bce75
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.1 released on August 20, 2024
pub const DEFAULT_NEAR_SANDBOX_VERSION: &str = "2.1.1";
// Currently pointing to nearcore@v2.3.1 released on November 13, 2024
pub const DEFAULT_NEAR_SANDBOX_VERSION: &str = "2.3.1";

const fn platform() -> Option<&'static str> {
#[cfg(all(target_os = "linux", target_arch = "x86_64"))]
Expand Down
5 changes: 5 additions & 0 deletions npm/.changeset/dirty-poets-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"near-sandbox": patch
---

Updated near-sandbox version to 2.3.1 version
2 changes: 1 addition & 1 deletion npm/src/getBinary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0/near-sandbox.tar.gz`;
return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/2.3.1/near-sandbox.tar.gz`;
}

export function getBinary(name: string = "near-sandbox"): Promise<Binary> {
Expand Down

0 comments on commit 43bce75

Please sign in to comment.