AxLabs has released neow3j v3.23.0, achieving compatibility with the latest Neo v3.7 release. This u
AxLabs has released neow3j v3.23.0, achieving compatibility with the latest Neo v3.7 release. This update introduces support for new native contract functions and documents four breaking changes across the SDK and devpack.
New Features
The new version of neow3j includes the recently implemented keccak256 hash function in the CryptoLib native contract. Additionally, the update supports the NeoToken native contracts GetCommitteeAddress method, a helper function recently made public for developer convenience.
Other modifications include the addition of the execNeoxpCommandWithDefaultConfig method, which simplifies the execution of neoxp commands when using neow3j for testing. Further, native contracts in the devpack now use expected default call flags rather than defaulting to CallFlags.All, with an ability to override it.
Breaking changes
The latest release introduces three breaking changes for the SDK. The wsPort has been removed from io.neow3j.protocol.core.response.NeoGetVersion.NeoVersion, and the sha3 methods in the io.neow3j.crypto.Hash class have been renamed to keccak256. These changes require developers to update their codebases to ensure compatibility with the new version.
For the devpack, one major breaking change has been introduced to enhance its independence from other modules. This change involves replicating the InteropService, Opcode, StackItemType, and WitnessScope classes. Users who previously utilized these components will need to transition to the new io.neow3j.devpack.constants classes to maintain functionality when using the devpack. For SDK use, the original classes should still be used.
Disclaimer:
The views in this article only represent the author's personal views, and do not constitute investment advice on this platform. This platform does not guarantee the accuracy, completeness and timeliness of the information in the article, and will not be liable for any loss caused by the use of or reliance on the information in the article.
South Korea Plans to Impose Reporting Mandate for Cross-Border Crypto Transactions
Denmark Plans to Propose Taxing Unrealized Crypto Gains in Upcoming Bill
Stablecoin Project Essence on Scroll Rugged, CHI Plummets 97.78%
How to Market Your Crypto Project: An Overview of the QuickShock.io Event
0.00