feat: open source take 2#3
Merged
Merged
Conversation
Contributor
|
New Issues (69)Checkmarx found the following issues in this Pull Request
|
justinfrevert
approved these changes
May 31, 2025
MB-IOHK
approved these changes
Jun 3, 2025
andreyjv
approved these changes
Jun 4, 2025
m2ux
added a commit
that referenced
this pull request
Jan 15, 2026
The cNIGHT genesis patching was only updating cnight_policy_id but not the mapping_validator_address. When contracts are recompiled with local one-shot UTxOs, the script hashes change, causing a mismatch between: - The address the node observes (from static genesis config) - The address where tests create UTxOs (from compiled CBOR) This fix: - Installs python3-pip and bech32 library in midnight-setup container - Calculates mapping_validator_address from the compiled script hash - Patches both cnight_policy_id AND mapping_validator_address Per lessons learned #3: "Contract Hashes Change Per Deployment"
This was referenced Feb 26, 2026
14 tasks
This was referenced Jun 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Open sourcing of node
#3