Skip to content

Upstream node-0.22.5-rc.2 changes#1377

Closed
github-actions[bot] wants to merge 107 commits into
mainfrom
feat/fiwcakym-upstream-node-0.22.5-rc.2
Closed

Upstream node-0.22.5-rc.2 changes#1377
github-actions[bot] wants to merge 107 commits into
mainfrom
feat/fiwcakym-upstream-node-0.22.5-rc.2

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated Pull Request

Note: Workflow runs will not be triggered by this automated PR

To trigger them, manually open and close the pull request.

This is a "feature" of GitHub Actions, which does not trigger workflows on automated PRs.

  • Updated main branch with changes from the release

  • Replaced 'changes/' directory with an empty template

  • Archived current changes to '.changes_archive/node-0.22.5-rc.2'

rsporny and others added 30 commits February 17, 2026 12:53
* Local env improvements (#669)

* chore: remove not used vars from local-env

MainChain variables are sourced from mc.env file

* fix: don't wait for contracts if active

Changed:
- calculate contracts active epoch in contract-compiler container to
avoid waiting in midnight-setup container when resetting local-env
nodes' state

Refs: PM-21897

* Apply suggestion from @gilescope

---------

Co-authored-by: Squirrel <giles.cope@shielded.io>

* fix: local-env with indexer (#684)

changed:
- bumped indexer to 4.0.0-alpha.1
- node5 rpc port to 9944 (lace wallet support)

Refs: PM-21916

---------

Co-authored-by: Squirrel <giles.cope@shielded.io>
* fix: local-env prefers indexer tag instead of sha

* fix: indexer passing sbom scan
* fix: remove non-determinism (#679)

* fix: keep existing preview ordering

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

* preview has other tx with different orderings.

Just this change would not be enough to get to head.

* fix npm audit finding

---------

Signed-off-by: Giles Cope <gilescope@gmail.com>
Co-authored-by: Justin Frevert <justinfrevert@gmail.com>

* fix: sync non-deterministically while historical chain patch is pending (#685)

* fix: sync non-deterministically while historical chain patch is pending

* docs: add pr link to change file

* docs: add ticket link to change file

* feat: add unsafe RPC to unban peers (#666)

* feat: add unsafe RPC to unban peers

Useful for node operators to use when a peer is banned but has since corrected it’s behaviour.

Without this RPC, the only way to reset peer reputation is to restart the node (reputation exists in memory only).

* docs: add pr link to change file

---------

Signed-off-by: Giles Cope <gilescope@gmail.com>
Co-authored-by: Squirrel <giles.cope@shielded.io>
Co-authored-by: Justin Frevert <justinfrevert@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
* fix: intial changes

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

* fix: updated data / defs

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

* fix: remove outdated mappings

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

* fix: wrote custom indexer to get data. preview rpc nodes indexing currentl so that will come in a different commit

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

* fix: preview data

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

* feat: add indexer db query tool and chain event query tool

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

* feat: preprod needed slightly expanded set. This covers more than sufficient blocks but will work.

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

* feat: if it ain't broke don't fix it. We know we can get to block 265948 ok so don't change anything below that.

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

* fix: blocks seem to be switched for this block now

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

* fix: outputs were not updated for some reason.

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

---------

Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
…up (#737)

* fix: add TTL to soft tx validation cache to evict stale entries on relay nodes

The soft validation cache only had time-to-idle (TTI), which resets on
every access. On relay nodes (non-block-producers), pool revalidation
continuously accesses cached entries, preventing TTI expiry. Since relay
nodes never call do_validate_guaranteed_execution (block authoring only),
the soft cache is never explicitly invalidated either — causing invalid
transactions to persist in the mempool indefinitely.

Adding a 60-second time-to-live (TTL) ensures entries are unconditionally
evicted, forcing a fresh apply() check against current ledger state on
the next revalidation cycle.

JIRA: PM-21787

* chore: add change file for soft cache TTL fix

* fix: upgrade eslint and fix lint errors to resolve npm audit high vulnerabilities

Upgrade eslint (^4.0.0 → ^9.29.0), typescript-eslint (^7.3.1 → ^8.33.0),
and minimatch override (10.1.2 → 10.2.1) to resolve all 11 high severity
npm audit vulnerabilities. Fix switch fallthrough bug in run.ts and suppress
no-require-imports in standalone JS worker script.
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Merge recent main for 0.22.0 rc3 (inc. ledger 8-rc.4)
history for old qanet, preview, preprod for node-0.22
Cosign v3.x (installed by cosign-installer v4.0.0) drops support for
Docker V2 manifests, causing intermittent "unsupported manifest format"
errors when Earthly/BuildKit produces V2 instead of OCI manifests.

Reverting to cosign-installer v3.7.0 (cosign v2.4.1) which supports
both Docker V2 and OCI manifest formats.

Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
fix: add escape hatch for when signing service is down.
Signed-off-by: Giles Cope <gilescope@gmail.com>
fix: add escape hatch for when signing service is down.
Signed-off-by: Giles Cope <gilescope@gmail.com>
Update 0.22 with changes landed in main
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
)

* revert tagged serialization for contract addresses and coin public

* change file

* remove remaining tag arguments for coin publics and contract addresses

* comment out ephemeral env test in ci

* remove --tagged

---------

Co-authored-by: Squirrel <giles.cope@shielded.io>
Signed-off-by: Giles Cope <gilescope@gmail.com>
gilescope and others added 26 commits March 19, 2026 20:23
…cs-unsafe

Backport fix mark peer rpcs unsafe
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
* regenerate preview for 0.22.3

* change file

* fix npm audit
* bump node for 0.22.5 fix

* change file

* add pr to change file
* chore: archive changes for node-0.21.0

* chore: archive changes for node-0.22.0

* chore: archive changes for node-0.22.1 -> 0.22.3

* chore: add accidentally deleted change file

Co-authored-by: Oscar Bailey <79094698+ozgb@users.noreply.github.com>
* Add cache for multi asset id to avoid excessive joins

* change file

* fix npm audit

* Apply suggestion from @gilescope

---------

Co-authored-by: Squirrel <giles.cope@shielded.io>
Signed-off-by: Giles Cope <gilescope@gmail.com>
…y_hash

Needed because cherry-pick landed in a branch whose .sqlx prepared cache
does not include this query (cached key changed after trailing-whitespace
normalisation). Using the runtime form avoids the compile-time DB check
entirely and matches the pattern used elsewhere in #934.

Signed-off-by: Giles Cope <gilescope@gmail.com>
First query for coarse bounds of tx, tx_out and ma_tx_out tables and use
them in the 'business' queries to reduce size of tables before joins are
made.

Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Convert the runtime query_as form back to the compile-time macro form
for all queries in cnight_observation.rs. This restores static query
verification against the db-sync schema via the .sqlx prepared cache.

Signed-off-by: Oscar Bailey <79094698+ozgb@users.noreply.github.com>
Resolves high/moderate severity vulnerabilities in axios, brace-expansion,
follow-redirects, lodash, picomatch, yaml, vite, and effect.

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

* fix: bump transaction version to indicate switch from unsigned tx to general tx

* chore: rebuild chainspec for devnet

* chore: rebuild chainspec for devnet

* docs: add change file

* chore: rebuild metadata

---------

Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Oscar Bailey <79094698+ozgb@users.noreply.github.com>
Co-authored-by: Giles Cope <gilescope@gmail.com>
Co-authored-by: Squirrel <giles.cope@shielded.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Oscar Bailey <79094698+ozgb@users.noreply.github.com>
chore: rebuild devnet chainspec with runtime version 0.22.0 (#1341) (#1349)
@github-actions github-actions Bot requested a review from a team as a code owner April 21, 2026 13:13
@gilescope gilescope mentioned this pull request Apr 27, 2026
15 tasks
@gilescope gilescope closed this May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants