Skip to content

v4.6.0

Latest

Choose a tag to compare

@ryanio ryanio released this 06 Nov 23:46
· 8 commits to main since this release
94f8baf

What's Changed

  • fix: drop expired orders from a batch fulfill instead of failing it by @erkancamli in #1063
  • fix: bulk orders use the passed account as offerer and reject signatures Seaport cannot parse by @ryanio in #1069
  • chore(deps): update node.js to v26 by @renovate in #1067
  • chore: bump version to 4.6.0 by @ryanio in #1070

Behavior changes

  • fulfillOrders drops orders whose endTime has passed at the latest block, the same way it already drops cancelled and fully filled ones. Seaport skips them onchain, so one expired order no longer fails the whole batch on its offerer's balance or approvals, and the fulfiller is no longer charged for it in the balance check or the native value. Orders that have not started yet are kept.
  • createBulkOrders uses the accountAddress passed in as the offerer, as createOrder does. Before, it always used the signer's address, so a contract wallet's owner signing on its behalf produced bulk orders for the signer instead.
  • signBulkOrder, and createBulkOrders through it, now throw when the signature is not 64 or 65 bytes after compaction. Seaport only parses a bulk order signature of that length followed by the proof, so a longer one (for example a multi-owner Safe's 130 bytes) produced orders that could never be filled. Sign such orders one at a time with signOrder or createOrder. This new throw, and the offerer change above, are why the release is a minor. Fixes #1060.
  • CI and .nvmrc move to Node 26. engines stays at >=20.0.0.

Community Contributions

Full Changelog: v4.5.0...v4.6.0