NIGHTGATE 0.42 Move go Ledger 9, Mainnet Submission dey Off by Default
ODATANO gateway need updated API paths and full wallet sync. Follow-up patch add support for calls to contracts wey dem deploy before Midnight upgrade.
By SongMarketCap
Updated:
ODATANO don release NIGHTGATE 0.42.0, wey move im Midnight gateway and transaction builder go Ledger 9. For self-hosted installations, Midnight mainnet na the default, and dem disable transaction submission by default. ODATANO talk say dem don test fee sponsorship, sponsored contract deployments, swaps and transfers for Preview.
Wetín Change for NIGHTGATE Users
NIGHTGATE dey connect business applications to Midnight through OData V4 and e fit run as plug-in for SAP Cloud Application Programming Model or as standalone container. Version 0.42.0 remove the legacy /api/v1 routes. Applications wey dey use those routes need to switch go the gateway /odata/v4/midnight service paths.
ODATANO release notes talk say make people redeploy and relink NIGHTGATE contracts wey dey use updated verification keys. Wallets still need full sync because the new release no fit restore snapshots wey dem create with the previous wallet SDK. ODATANO recommend make dem sync sponsor wallets before the upgrade.
Version 0.42.1 Add Calls to Older Contracts
The 0.42.1 patch allow developers use @odatano/nightgate-tx 0.21.1 with Ledger 8 contract build to produce Ledger 9 transaction wey get single call to contract wey dem deploy before the upgrade. For those calls, the gateway server-side contract actions go direct developers go the transaction builder.
Existing mainnet contracts carry over when Midnight upgrade go Ledger 9 on November 6. The patch allow NIGHTGATE developers call those deployments using the transaction format wey mainnet dey accept now. Midnight reset Preview as new chain the same date, so contracts from the previous Preview chain need redeploy there.
[NEWSBREAK]
Wetín NIGHTGATE Support for Mainnet and Preview
NIGHTGATE 0.42 fit index mainnet when dem configure am with node and indexer, and im transaction builder fit create and prove Ledger 9 transactions. The crawler still fit decode historical Ledger 8 blocks. Preprod still dey on Ledger 8 and e require the earlier NIGHTGATE 0.41 release line.
Self-hosted operators fit enable submission through allowMainnetSubmission. ODATANO production checklist describe mainnet submission as unsupported and instruct operators make dem leave the setting disabled. Developers fit use Preview to test the full Ledger 9 workflow, including submission of sponsored deployments, swaps and transfers.