Node
Node is a component of the blockchain infrastructure that interacts with the Midnight network to perform tasks such as syncing, validating transactions, and maintaining the chain state.
18 April 2024
Midnight 0.3.3 RC1 devnet release notes
Learn about the latest updates and improvements to the Midnight node, including new features, bug fixes, and breaking changes designed to enhance functionality and stability.
New Features
- Enforced
clippy. - Added changelog enforcement.
- Updated
decode_transactionsto accept slices rather than vectors. - Introduced deserialization checks for the Midnight ledger state after transaction application.
- Implemented an LRU cache for ledger state deserialization.
- Added runtime release tools.
- Enhanced CLI functionality by making
--seednode parameters required, with support for storage in theSEEDenvironment variable. - Enabled multiple boot nodes to be specified as arguments.
- Expanded
--seedfunctionality to support public devnet chainspecs. - Simplified the dev node command.
- Added chain spec commands and initial chain specs.
- Enabled end-to-end tests to execute via GitHub Actions.
- Introduced support for specifying multiple boot nodes in arguments.
- Added Docker Compose configuration for sidechain infrastructure.
Bug Fixes
- Fixed RPC panic during specific operations.
- Addressed image build issues and ensured stable deployment workflows.
- Corrected the JSON block output for consistency in responses.
- Fixed compatibility issues caused by Substrate WS settings updates.
- Resolved clippy lints.
- Fixed CI for retrieving node version.
- Fixed nix image build to address stability issues in the build process.
Breaking Changes
- Upgraded the node to version
v0.0.25. - Removed non-Ariadne code and feature flags.
- Stopped building non-Ariadne Docker images.
- Deprecated active-flow and incoming-tx pallets.
- Modified the CLI by refactoring the
--seedargument implementation. - Updated the chain spec format for the public devnet.
Known Issues
- Some features may still require optimization for large-scale deployments.
- Minor inconsistencies may appear in edge cases when using older RPC configurations.
Upgrade Instructions
- Update your Rust compiler to the stable version for compatibility with this release.
- Pull the latest Docker images to ensure access to the updated chain specs and runtime tools.
- Update your node configurations to include the required
--seedparameter or set the value in theSEEDenvironment variable.