Skip to content

Ledger9 with no migration#1604

Merged
LGLO merged 14 commits into
mainfrom
ledger-9-no-migration
Jun 3, 2026
Merged

Ledger9 with no migration#1604
LGLO merged 14 commits into
mainfrom
ledger-9-no-migration

Conversation

@LGLO

@LGLO LGLO commented May 28, 2026

Copy link
Copy Markdown
Contributor

Overview

Add Ledger9 alpha.1 support.
At this point it allows new chain to start in the local-environment.

🗹 TODO before merging

  • Ready

📌 Submission Checklist

  • All commits are signed off (git commit -s) for the DCO
  • Changes are backward-compatible (or flagged if breaking)
  • Pull request description explains why the change is needed
  • Self-reviewed the diff
  • I have included a change file, or skipped for this reason:
  • If the changes introduce a new feature, I have bumped the node minor version
  • Update documentation (if relevant)
  • Updated AGENTS.md if build commands, architecture, or workflows changed
  • No new todos introduced

🧪 Testing Evidence

Please describe any additional testing aside from CI:

  • Additional tests are provided (if possible)

🔱 Fork Strategy

  • Node Runtime Update
  • Node Client Update
  • Other:
  • N/A

Links

#1579

@LGLO LGLO requested a review from a team as a code owner May 28, 2026 12:31

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 36decc6087

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread util/toolkit/src/tx_generator/builder/mod.rs
Comment thread ledger/src/lib.rs
Comment thread res/dev/cnight-config.json

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 78219b6fe3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread ledger/src/host_api/ledger_8.rs
Comment thread runtime/src/lib.rs Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2a8f6bbab7

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread util/toolkit/src/tx_generator/builder/mod.rs Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d7476dabe0

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread util/toolkit/src/tx_generator/builder/mod.rs
Comment thread res/govnet/ledger-parameters-config.json
Comment thread Earthfile Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 28e2ecf97c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread ledger/helpers/src/fork/fork_aware_context.rs Outdated
Comment thread util/toolkit/src/tx_generator/builder/mod.rs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5a73c339b6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread runtime/src/lib.rs
@LGLO LGLO force-pushed the ledger-9-no-migration branch from dde1d4b to f8616de Compare June 2, 2026 07:38
Klapeyron and others added 4 commits June 2, 2026 10:08
Signed-off-by: Tomasz Bartos <tomasz.bartos@shielded.io>
Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
@LGLO LGLO force-pushed the ledger-9-no-migration branch from f8616de to b69aabd Compare June 2, 2026 08:20

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b69aabd027

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread util/toolkit/src/tx_generator/builder/mod.rs
Comment thread res/qanet/cnight-config.json
Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
@LGLO LGLO force-pushed the ledger-9-no-migration branch from 3e85876 to 6f667fb Compare June 2, 2026 09:30

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6f667fb3fa

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread node/src/chain_spec/mod.rs
ozgb
ozgb previously approved these changes Jun 2, 2026

@ozgb ozgb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice work!

Some comments to ensure follow-up work doesn't get lost

Comment thread ledger/src/versions/error_ext/ledger_9.rs Outdated
Comment thread static/contracts/simple-merkle-tree/compiler/contract-info.json
Comment thread util/toolkit/src/commands/generate_intent.rs
Comment thread util/toolkit/src/tx_generator/builder/mod.rs
Comment thread util/toolkit/src/tx_generator/builder/mod.rs
Comment thread util/toolkit/src/tx_generator/builder/mod.rs
@ozgb

ozgb commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Let's bump the toolkit version to 2.0.0 too

Comment thread runtime/src/lib.rs Outdated
Comment thread ledger/helpers/src/fork/fork_aware_context.rs Outdated
Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
@LGLO LGLO force-pushed the ledger-9-no-migration branch from 3103020 to 895755a Compare June 2, 2026 11:08
Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
Comment thread runtime/Cargo.toml
gilescope
gilescope previously approved these changes Jun 2, 2026
Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
LGLO added 2 commits June 2, 2026 15:38
Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
@LGLO LGLO enabled auto-merge June 2, 2026 14:11
gilescope
gilescope previously approved these changes Jun 2, 2026
Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
LGLO and others added 3 commits June 3, 2026 07:30
Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
@LGLO LGLO added this pull request to the merge queue Jun 3, 2026
Merged via the queue into main with commit 01b51ab Jun 3, 2026
37 checks passed
@LGLO LGLO deleted the ledger-9-no-migration branch June 3, 2026 06:54
gilescope added a commit that referenced this pull request Jun 3, 2026
With #1629 (per-runner host-port isolation) reverted, re-apply our approach on
the clean base:
  - action.yml: run the whole premerge surface via earthly -P +local-env-ci
    (stack -> finality -> e2e -> toolkit) inside nested dockerd; keeps #1631's
    docker/login-action v4.2.0 bump.
  - continuous-integration.yml: drop the local-environment-tests-self-hosted
    concurrency group (netns isolation removes host-port collisions). Preserves
    #1631 (login-action) and #1604 (Ledger9 toolkit-js step comments).

Net vs main: the two approaches to shielded-sre#281 are mutually exclusive;
this branch chooses nested-dockerd netns isolation over per-runner port blocks.

Assisted-by: Claude:claude-opus-4-8
chrispalaskas added a commit that referenced this pull request Jun 3, 2026
The GitHub-UI merge of main into this branch brought in ledger_9.rs (PR
#1604) without declaring `pub mod output_spec;`, leaving single_tx and
batch_single_tx unable to resolve `super::output_spec` when compiled
under the ledger_9 variant. Matches what ledger_7 and ledger_8 already do.

Fixes the +check-rust and +check-feature-unification CI failures on PR #1560.

Assisted-by: Claude:claude-4.7-opus
Signed-off-by: chrispalaskas <chris.palaskas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for ECDSA signatures

5 participants