Skip to content

Commit

Permalink
en: testnet vm2 hash
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanslwong-crypto-com committed Nov 21, 2024
1 parent 750d516 commit b5902a8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 26 deletions.
38 changes: 19 additions & 19 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
inputs.rust-overlay.url = "github:oxalica/rust-overlay";

inputs.zksync-era-mainnet.url = "github:matter-labs/zksync-era/core-v24.23.0";
inputs.cronos-zkevm-testnet.url = "github:cronos-labs/cronos-zkevm/cronos-v25.0.0";
inputs.zksync-era-testnet.url = "github:matter-labs/zksync-era/core-v25.0.0";

inputs.zksync-era-mainnet.flake = false;
inputs.cronos-zkevm-testnet.flake = false;
inputs.zksync-era-testnet.flake = false;

outputs = {
flake-utils,
Expand All @@ -28,8 +28,8 @@
rustc = rust-bin.fromRustupToolchainFile (inputs.zksync-era-mainnet + /rust-toolchain);
};
rustPlatform-testnet = makeRustPlatform {
cargo = rust-bin.fromRustupToolchainFile (inputs.cronos-zkevm-testnet + /rust-toolchain);
rustc = rust-bin.fromRustupToolchainFile (inputs.cronos-zkevm-testnet + /rust-toolchain);
cargo = rust-bin.fromRustupToolchainFile (inputs.zksync-era-testnet + /rust-toolchain);
rustc = rust-bin.fromRustupToolchainFile (inputs.zksync-era-testnet + /rust-toolchain);
};
dockerTools' = dockerTools.override {
skopeo = pkgs.writeScriptBin "skopeo" ''exec ${skopeo}/bin/skopeo "$@" --authfile=/etc/docker/config.json'';
Expand Down Expand Up @@ -65,16 +65,15 @@
buildInputs = [openssl];
cargoBuildFlags = "--bin zksync_external_node";
cargoLock = {
lockFile = inputs.cronos-zkevm-testnet + /Cargo.lock;
lockFile = inputs.zksync-era-testnet + /Cargo.lock;
outputHashes = {
"google-cloud-auth-0.16.0" = "sha256-UuVyR/JRxVvUl83BSBi0aK+Pk0hHGyIwG7VD/nn5YUM=";
"zksync_vm2-0.2.1" = "sha256-fH8w6MiL11BIW55Hs6kqxWJKDOkr7Skr7wXQCk+x48U=";
};
};
doCheck = false;
nativeBuildInputs = [pkg-config rustPlatform.bindgenHook];
pname = "external-node";
src = inputs.cronos-zkevm-testnet + /.;
src = inputs.zksync-era-testnet + /.;
version = "dummy";
};
start = bin:
Expand Down

0 comments on commit b5902a8

Please sign in to comment.