Skip to content

Conversation

@github-actions
Copy link
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.20.0-rc.5'

justinfrevert and others added 9 commits January 19, 2026 10:16
* first patch didn't contain all of the change.

---------

Co-authored-by: Justin Frevert <justinfrevert@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
* revert to previous postgres connection config

* whoops

* change file
* fix: remove check for spends in gov utxo query

The query will get the latest gov utxo at the time of block query
The previous query checked if that utxo had been spent, including
in blocks that are not yet stable (vulnerability)

* chore: add pr link to change file

* fix(e2e): wait for registration observation before minting in tests

Fix race condition in cNIGHT E2E tests where tokens were minted before
the Midnight node had observed and processed the registration. This
caused the UtxoOwners storage to not be populated because handle_create
couldn't find the mapping in Mappings storage.

Added subscribe_to_cnight_observation_events calls after registrations
to ensure the mapping is in storage before minting tokens.

Tests fixed:
- cnight_produces_dust
- deregister_first_mapping
- deregister_with_valid_cnight_utxo
- produce_dust_from_tokens_owned_before_registration
- register_twice_with_same_cardano_address
- spend_cnight_producing_dust
- stop_dust_producing_after_deregistration_and_rotation

* Revert "fix(e2e): wait for registration observation before minting in tests"

This reverts commit 9fd298d.

The test failures are not caused by a race condition but by incorrect
cnight_asset_name configuration.

* fix: reset cnight_asset_name to empty in qanet config

The cnight_asset_name was incorrectly set to "NIGHT" which is the
mainnet value. For testnet/qanet, this should be empty ("") to match
what the local-env midnight-setup produces.

This was causing the local-env E2E tests to fail because the minted
cNIGHT tokens had no asset name but the node was configured to look
for tokens with asset name "NIGHT".

* fix: doc

* fix: docs 2

* fix: set token asset back to empty

* fix: remove haskell contracts usage from local-env

Refs: PM-21472

* chain spec regeneration

* chore: rebuild chainspecs with empty cnight asset name

Rebuilt chainspecs for node-dev-01, preprod, preview, and qanet networks.

* remove qanet addresses

---------

Co-authored-by: Oscar Bailey <79094698+ozgb@users.noreply.github.com>
Co-authored-by: Mike Clay <mike.clay@shielded.io>
Co-authored-by: NachoPal <ignacio.palacios.santos@gmail.com>
Co-authored-by: Radosław Sporny <404@rspo.dev>
@github-actions github-actions bot requested a review from a team as a code owner January 23, 2026 21:36
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.

3 participants