Skip to content

switch to collection with deterministic iteration.#678

Merged
gilescope merged 4 commits into
mainfrom
giles-less-hashmaps
Feb 16, 2026
Merged

switch to collection with deterministic iteration.#678
gilescope merged 4 commits into
mainfrom
giles-less-hashmaps

Conversation

@gilescope

@gilescope gilescope commented Feb 14, 2026

Copy link
Copy Markdown
Contributor

Overview

Breaking change: switch to collection with deterministic iteration.

This will not sync existing non-deterministic chains. The previous hashmap would sync eventually though it would be inefficient and panic when not the right ordering picked.

🗹 TODO before merging

  • Ready

📌 Submission Checklist

  • 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: Chain reset. Future PR will provide backward compatibility options.
  • N/A

Links

Signed-off-by: Giles Cope <gilescope@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

kics-logo

KICS version: v2.1.16

Category Results
CRITICAL CRITICAL 0
HIGH HIGH 0
MEDIUM MEDIUM 96
LOW LOW 12
INFO INFO 83
TRACE TRACE 0
TOTAL TOTAL 191
Metric Values
Files scanned placeholder 31
Files parsed placeholder 31
Files failed to scan placeholder 0
Total executed queries placeholder 73
Queries failed to execute placeholder 0
Execution time placeholder 9

@gilescope gilescope marked this pull request as ready for review February 14, 2026 11:42
@gilescope gilescope requested a review from a team as a code owner February 14, 2026 11:42
Signed-off-by: Giles Cope <gilescope@gmail.com>
gilescope and others added 2 commits February 16, 2026 13:26
Signed-off-by: Giles Cope <gilescope@gmail.com>
@gilescope gilescope enabled auto-merge February 16, 2026 13:28
@gilescope gilescope added this pull request to the merge queue Feb 16, 2026
Merged via the queue into main with commit bf6e7aa Feb 16, 2026
42 checks passed
@gilescope gilescope deleted the giles-less-hashmaps branch February 16, 2026 15:58
NachoPal pushed a commit that referenced this pull request Feb 16, 2026
* switch to collection with deterministic iteration.

Signed-off-by: Giles Cope <gilescope@gmail.com>

* fix: keep existing preview ordering

Signed-off-by: Giles Cope <gilescope@gmail.com>

* chore: add changelog

Signed-off-by: Giles Cope <gilescope@gmail.com>

---------

Signed-off-by: Giles Cope <gilescope@gmail.com>
gilescope added a commit that referenced this pull request Mar 11, 2026
* feat: add deterministic runtime builds

* chore: update change file

* fix: srtool target clean-up

* chore: updare to new mainnet values

* set cnight to empty for testing

* switch to collection with deterministic iteration. (#678)

* switch to collection with deterministic iteration.

Signed-off-by: Giles Cope <gilescope@gmail.com>

* fix: keep existing preview ordering

Signed-off-by: Giles Cope <gilescope@gmail.com>

* chore: add changelog

Signed-off-by: Giles Cope <gilescope@gmail.com>

---------

Signed-off-by: Giles Cope <gilescope@gmail.com>

* fix: genesis timestamp

* granular generation

* mainnet chain-spec

* feat: local db-sync + cnigh-config working

* filter cnight-config

* docs: update

* backup

* remove temporarily SBOM

* temporarily disable sbom in release

* feat: add genesis message placeholder

* fix: asset name encoding

* fix: policy_id decoding

* fix: ics and reserve queries

* fix conflicts

* chain-spec regenerated

* fix: add --no-cache to earthly for genesis

* feat: make verification steps skippable

* fix: enable all verification for mainnet

* feat: add genesis message

* fix: make clippy happy

* fix: genesis message

* feat: add bootnodes config file

* feat: check fees

* add change file + nits

* chore: remove mainnet generated files

* docs: update with bootnodes info

* address comments

* update mainnet cardano-tip

* regenerate mainner config

* fix: perfnet build genesis

---------

Signed-off-by: Giles Cope <gilescope@gmail.com>
Co-authored-by: Squirrel <giles.cope@shielded.io>
Signed-off-by: Giles Cope <gilescope@gmail.com>
github-merge-queue Bot pushed a commit that referenced this pull request Mar 12, 2026
* feat: add deterministic runtime builds

* chore: update change file

* fix: srtool target clean-up

* chore: updare to new mainnet values

* set cnight to empty for testing

* switch to collection with deterministic iteration. (#678)

* switch to collection with deterministic iteration.

Signed-off-by: Giles Cope <gilescope@gmail.com>

* fix: keep existing preview ordering

Signed-off-by: Giles Cope <gilescope@gmail.com>

* chore: add changelog

Signed-off-by: Giles Cope <gilescope@gmail.com>

---------

Signed-off-by: Giles Cope <gilescope@gmail.com>

* fix: genesis timestamp

* granular generation

* mainnet chain-spec

* feat: local db-sync + cnigh-config working

* filter cnight-config

* docs: update

* backup

* remove temporarily SBOM

* temporarily disable sbom in release

* feat: add genesis message placeholder

* fix: asset name encoding

* fix: policy_id decoding

* fix: ics and reserve queries

* fix conflicts

* chain-spec regenerated

* fix: add --no-cache to earthly for genesis

* feat: make verification steps skippable

* fix: enable all verification for mainnet

* feat: add genesis message

* fix: make clippy happy

* fix: genesis message

* feat: add bootnodes config file

* feat: check fees

* add change file + nits

* chore: remove mainnet generated files

* docs: update with bootnodes info

* address comments

* update mainnet cardano-tip

* regenerate mainner config

* fix: perfnet build genesis

* fix

---------

Signed-off-by: Giles Cope <gilescope@gmail.com>
Co-authored-by: Squirrel <giles.cope@shielded.io>
m2ux added a commit that referenced this pull request Apr 23, 2026
Signed-off-by: Mike Clay <mike.clay@shielded.io>
m2ux added a commit that referenced this pull request Apr 23, 2026
Signed-off-by: Mike Clay <mike.clay@shielded.io>
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.

2 participants