Skip to content

Update BPIP-12 and BPIP-13 to match implementation#46

Open
zajck wants to merge 2 commits into
bosonprotocol:mainfrom
zajck:update-bpip12-bpip13
Open

Update BPIP-12 and BPIP-13 to match implementation#46
zajck wants to merge 2 commits into
bosonprotocol:mainfrom
zajck:update-bpip12-bpip13

Conversation

@zajck
Copy link
Copy Markdown
Member

@zajck zajck commented May 22, 2026

BPIP-12 (issues #1142, #1143):

  • Align executeMetaTransactionWithTokenTransferAuthorization signature: added _functionName, changed _nonce to uint256, replaced _sigR/_sigS/_sigV with _signature bytes, changed _tokenTransferAuthorization to abi.encode(bytes[])
  • Fix ERC-3009 data encoding: remove from/to/value (passed from context), keep only validAfter/validBefore/nonce/v/r/s
  • Fix consumeForTransfer signature to include the 'to' parameter

BPIP-13 (issue #1139):

  • Remove non-existent _computeBurnTokenId override; describe actual EXCHANGE_ID_2_2_0 versioning logic in ExchangeRedeemBase.burnVoucher
  • Document _skipVoucher=true flag used in the atomic commit-and-redeem path

BPIP-12 (issues #1142, #1143):
- Align executeMetaTransactionWithTokenTransferAuthorization signature:
  added _functionName, changed _nonce to uint256, replaced _sigR/_sigS/_sigV
  with _signature bytes, changed _tokenTransferAuthorization to abi.encode(bytes[])
- Fix ERC-3009 data encoding: remove from/to/value (passed from context),
  keep only validAfter/validBefore/nonce/v/r/s
- Fix consumeForTransfer signature to include the 'to' parameter

BPIP-13 (issue #1139):
- Remove non-existent _computeBurnTokenId override; describe actual
  EXCHANGE_ID_2_2_0 versioning logic in ExchangeRedeemBase.burnVoucher
- Document _skipVoucher=true flag used in the atomic commit-and-redeem path

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The implementation reverted from a single abi.encode(bytes[]) packed bytes
to a direct bytes[] calldata parameter. Update the function signature and
description accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant