Skip to content

v0.97.0 - Major refactoring beta.7

Pre-release
Pre-release

Choose a tag to compare

@andrevmatos andrevmatos released this 23 Feb 21:27
· 266 commits to main since this release
8811550

Changelog:

  • SDK: v2.0 support:
    • new Chain.getExecutionInput method, which consolidates getMessagesInBatch, calculateManualExecProof and getOffchainTokenData
    • Breaking: rename generateUnsignedExecuteReport, executeReport to generateUnsignedExecute, execute
    • Breaking: generateUnsignedExecute, execute receives input: ExecutionInput instead of execReport
    • Breaking: rename Chain.getCommitReport to getValidations
    • Breaking: deprecate Chain.getCommitStoreForOffRamp: needed, available and used internally only in EVMChain; getVerifications (fka getCommitReport) now receives offRamp address instead of commitStore
  • SDK: Breaking: Reduce bundle size by eliminating cross-chain imports
    • Move DEFAULT_GAS_LIMIT from evm/const.ts to shared/constants.ts
    • Move BCS codecs and encoding utils to shared/bcs-codecs.ts (shared by Aptos/Sui)
    • Remove DEFAULT_APPROVE_GAS_LIMIT (unused)
    • Non-EVM chains no longer bundle EVM ABIs (~500KB savings per chain)
    • Sui no longer bundles Aptos code (~300KB savings)
  • API: make CCIPAPIClient.fromUrl memoized non-async
  • CLI: Support messageId from API in show command

What's Changed

Full Changelog: v0.96.0...v0.97.0