Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 45 additions & 39 deletions Cargo.lock

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

17 changes: 13 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,27 @@ zswap = { version = "=7.0.3", package = "midnight-zswap" }
zkir = { version = "^2.2.0", package = "midnight-zkir" }

# Ledger 8 (compatible with layout-v2)
# coin-structure and transient-crypto (2.x) share versions with L7 so reuse those entries.
mn-ledger-8 = { version = "=8.1.0", package = "midnight-ledger" }
ledger-storage-ledger-8 = { version = "=2.0.1", package = "midnight-storage", features = ["parity-db"] }
# coin-structure, transient-crypto and zkir share versions with L7 so reuse those entries.
mn-ledger-8 = { version = "=8.1.1", package = "midnight-ledger" }
# `state-translation` (needed by the v8->v9 storage migration) pulls in
# `public-internal-structure`, exposing `merkle_patricia_trie`/`storable`/the
# `state_translation` module used by `midnight_node_ledger::state_translation_v8_to_v9`.
ledger-storage-ledger-8 = { version = "=2.0.2", package = "midnight-storage", features = ["parity-db", "state-translation"] }
onchain-runtime-ledger-8 = { version = "=3.1.0", package = "midnight-onchain-runtime" }
zswap-ledger-8 = { version = "=8.1.0", package = "midnight-zswap" }
# Same `midnight-onchain-state` instance that `mn-ledger-8`'s `ContractState`
# resolves to (via onchain-runtime 3.1.0); used as the v8 side of the state translation table.
onchain-state-ledger-8 = { version = "=3.0.0", package = "midnight-onchain-state" }
zswap-ledger-8 = { version = "=8.1.1", package = "midnight-zswap" }

# Ledger 9 (compatible with layout-v2; midnight-ledger-v9 crate)
# storage shares versions with L8 so reuses that entry. coin-structure and
# transient-crypto went semver-major in L9 so get their own entries. The workspace `zkir`
# (midnight-zkir 2.2.0) serves all of L7/L8/L9.
mn-ledger-9 = { version = "=1.0.0", package = "midnight-ledger-v9" }
onchain-runtime-ledger-9 = { version = "=4.0.0", package = "midnight-onchain-runtime" }
# v9 side of the state translation table (matches `mn-ledger-9`'s `ContractState`
# via onchain-runtime 4.0.0). Patched to onchain-state-4.0.0-rc.3 by [patch.crates-io].
onchain-state-ledger-9 = { version = "=4.0.0", package = "midnight-onchain-state" }
zswap-ledger-9 = { version = "=9.0.0", package = "midnight-zswap" }
coin-structure-ledger-9 = { version = "=3.0.0", package = "midnight-coin-structure" }
transient-crypto-ledger-9 = { version = "=3.0.0", package = "midnight-transient-crypto" }
Expand Down
8 changes: 4 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,7 @@ toolkit-image:
tar -xJf node.tar.xz -C /usr/local --strip-components=1 && \
rm node.tar.xz && \
node --version && npm --version && \
npm install -g npm@11.11.0 && npm --version
npm install -g npm@11.18.0 && npm --version

# Add toolkit-js (only when INCLUDE_TOOLKIT_JS=true)
IF [ "$INCLUDE_TOOLKIT_JS" = "true" ]
Expand Down Expand Up @@ -1475,7 +1475,7 @@ audit-npm:
curl -fsSL https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${NODE_ARCH}.tar.xz -o node.tar.xz && \
tar -xJf node.tar.xz -C /usr/local --strip-components=1 && \
rm node.tar.xz && \
npm install -g npm@11.11.0 && \
npm install -g npm@11.18.0 && \
node --version && npm --version

COPY ${DIRECTORY} ${DIRECTORY}
Expand Down Expand Up @@ -1514,7 +1514,7 @@ audit-yarn:
curl -fsSL https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${NODE_ARCH}.tar.xz -o node.tar.xz && \
tar -xJf node.tar.xz -C /usr/local --strip-components=1 && \
rm node.tar.xz && \
npm install -g npm@11.11.0 && \
npm install -g npm@11.18.0 && \
node --version && npm --version

# Install and enable corepack for yarn support
Expand Down Expand Up @@ -1565,7 +1565,7 @@ fix-lock-npm:
curl -fsSL https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${NODE_ARCH}.tar.xz -o node.tar.xz && \
tar -xJf node.tar.xz -C /usr/local --strip-components=1 && \
rm node.tar.xz && \
npm install -g npm@11.11.0 && \
npm install -g npm@11.18.0 && \
node --version && npm --version

COPY ${DIRECTORY}/package.json ${DIRECTORY}/package-lock.json ${DIRECTORY}/
Expand Down
Loading
Loading