Skip to content

Commit

Permalink
chore: point nearcore to latest mainnet release 1.35.0 (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasir Shariff authored Sep 25, 2023
1 parent cdb346e commit 8924d74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions crate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ use std::path::{Path, PathBuf};

pub mod sync;

// The current version of the sandbox node we want to point to. This can be updated from
// time to time, but probably should be close to when a release is made.
// Currently pointing to nearcore on Apr 3, 2023
const DEFAULT_SANDBOX_COMMIT_HASH: &str = "master/d08187094a82b3bfab3b8b0fa076e71068f39cb7";
// 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.35.0 released on Jul 25, 2023
const DEFAULT_SANDBOX_COMMIT_HASH: &str = "1.35.0/1e781bcccfaeb9a4bb9531155193a459257afd8d";

const fn platform() -> Option<&'static str> {
#[cfg(all(target_os = "linux", target_arch = "x86_64"))]
Expand Down
2 changes: 1 addition & 1 deletion npm/dist/getBinary.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function getPlatform() {
}
function AWSUrl() {
const [platform, arch] = getPlatform();
return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/master/d08187094a82b3bfab3b8b0fa076e71068f39cb7/near-sandbox.tar.gz`;
return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/1.35.0/1e781bcccfaeb9a4bb9531155193a459257afd8d/near-sandbox.tar.gz`;
}
exports.AWSUrl = AWSUrl;
function getBinary(name = "near-sandbox") {
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}/master/d08187094a82b3bfab3b8b0fa076e71068f39cb7/near-sandbox.tar.gz`;
return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/1.35.0/1e781bcccfaeb9a4bb9531155193a459257afd8d/near-sandbox.tar.gz`;
}

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

0 comments on commit 8924d74

Please sign in to comment.