Skip to content

Commit

Permalink
chore: Updated the default neard version to 1.40.0 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
frol authored Jul 5, 2024
1 parent 9a01c1d commit 5a85ceb
Show file tree
Hide file tree
Showing 2 changed files with 3 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 @@ -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.40.0 released on June 17, 2024
pub const DEFAULT_NEAR_SANDBOX_VERSION: &str = "1.40.0/7dd0b5993577f592be15eb102e5a3da37be66271";

const fn platform() -> Option<&'static str> {
#[cfg(all(target_os = "linux", target_arch = "x86_64"))]
Expand Down
2 changes: 1 addition & 1 deletion npm/src/getBinary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.40.0/7dd0b5993577f592be15eb102e5a3da37be66271/near-sandbox.tar.gz`;
}

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

0 comments on commit 5a85ceb

Please sign in to comment.