Midnight Don Release Ledger 9.1.0.0 for Next Network Hard Fork
Di release update di libraries wey dem dey use generate and verify zero-knowledge proofs and e introduce changes to transaction cost parameters. Some contract developers go need regenerate verifier keys.
By SongMarketCap
Updated:
Midnight don release Ledger 9.1.0.0, di first full release of di ledger software wey dem intend for di network next hard fork. Di update add support for ECDSA signatures and e introduce changes for proof generation, transaction processing and security validation.
Di team still release Proof Server 9.0.0, one off-chain service wey dey generate di zero-knowledge proofs wey Midnight transactions dey use. Di ledger release notes no specify date for di hard fork.
Updated Proof Libraries and ECDSA Support
Di ledger software define how transactions go be and di rules for how dem go update di network state. Ledger 9.1.0.0 follow series of release candidates and dem promote am from version 9.1.0.0-rc.7 after quality assurance approve am.
Di main change na move to midnight-zk-stdlib v2 and midnight-circuits v7, libraries wey dem dey use generate and verify zero-knowledge proofs. Dis proofs allow make dem verify information without to show di private data wey dey under. Proofs and verifier keys wey dem create with earlier zk-stdlib v1 still dey verifiable under di new release.
Ledger 9 still support ECDSA signatures, cryptographic signature standard wey networks like Bitcoin and Ethereum dey use. Plus, di proof server support zkir v3, newer version of di intermediate representation wey cryptographic circuits dey use.
Di release introduce one system transaction wey dem call UnlockToTreasury, wey dey move funds from locked pool go treasury. E still mark di first time wey dem publish di ledger 9 Rust packages for crates.io, include di new midnight-ledger-v9 package.
Midnight Update Transaction Cost Parameters
Ledger 9 introduce one explicit price floor wey ledger parameters dey govern. E still replace previous computational cost factor with separate factors for validation, guaranteed application and fallible application of transactions.
Midnight transaction fees dem dey pay am with DUST, network resource wey dey generate over time from registered NIGHT tokens. Di release change how dem dey account DUST registration, now na di time of di block dem go use instead of di time wey transaction declare.
Several fixes address potential failures for wallet state processing and bridge fee processing. Di release still carry forward security patches wey dem don deliver to mainnet before through Ledger 8.1.2 and 8.1.3, include stricter decoding and validation of data wey dem dey use for contract calls.
[NEWSBREAK]
Verifier Keys and Known Issues for Developers
Di updated proof libraries change verifier keys for some types of circuits. According to di release notes, contracts wey e affect na those wey dey use zkir v2 circuits with hash_to_curve or zkir v3 circuits wey dey encode Jubjub scalar. Dem need regenerate their verifier keys; v0 and v1 keys remain unchanged.
Tools wey dey construct or serialize ledger parameters must include di new price floor and cost factors. Code wey dey manually construct signing envelopes must still move to di shared construction method.
Di release notes list two known defects. Contract call wey dey spend shielded coin and write change back fit get reject for exceeding gas budget for chain wey get nonempty commitment tree. Another issue fit make contract call wey dem pay with exactly one DUST spend fail time-to-dismiss check; di notes talk say to use two or more DUST spends fit help avoid di issue.
Ledger 9 packages dey published under di npm scope @midnightntwrk. Di previous @midnight-ntwrk scope go still dey receive releases for now.