Skip to content

feat: upgrade protocol 2.5.1 rc.1 no new features - #1022

Merged
levalleux-ludo merged 6 commits into
mainfrom
upgrade-protocol-2.5.1-rc.1-no-new-features
May 12, 2026
Merged

levalleux-ludo merged 6 commits into
mainfrom
upgrade-protocol-2.5.1-rc.1-no-new-features

Conversation

@levalleux-ludo

@levalleux-ludo levalleux-ludo commented May 11, 2026

Copy link
Copy Markdown
Member

This pull request updates the Boson Protocol contracts and related tooling to newer versions, introduces new contract ABI methods and errors, and updates development dependencies. The main changes focus on upgrading Solidity versions, aligning the Hardhat configuration and Docker images with the latest protocol release, and extending ABI interfaces with new features and error handling.

Protocol and Contract Upgrades:

  • Upgraded Solidity compiler version to 0.8.35 in all relevant contracts (MockBosonVoucher.sol, MockBosonSellerHandler.sol, OpenSeaWrapper.sol, OpenSeaWrapperFactory.sol) and updated the Hardhat configuration to use Solidity 0.8.35, EVM version cancun, and hardfork cancun for local development. Optimizer runs changed from 100 to 50. [1] [2] [3] [4] [5] [6]

  • Updated Docker Compose and package dependencies to reference the latest Boson Protocol contracts and subgraph images (858661679cc8ba2be97eedf3cbc3acd0f5c1903e), and bumped the protocol version used in scripts to 2.5.1. [1] [2]

ABI and Interface Enhancements:

  • Added a new error, OfferCreatorMustBeSeller, to multiple ABI interfaces: IBosonAccountHandler, IBosonConfigHandler, IBosonDisputeHandler, IBosonExchangeCommitHandler, IBosonExchangeHandler, IBosonFundsHandler, IBosonGroupHandler, IBosonMetaTransactionsHandler, IBosonOfferHandler, and IBosonPriceDiscoveryHandler. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

  • Extended IBosonConfigHandler ABI with new methods and events for managing the mutualizerGasStipend parameter: added MutualizerGasStipendChanged event, getMutualizerGasStipend getter, and setMutualizerGasStipend setter. [1] [2] [3]

  • Added a new function executeMetaTransactionWithTokenTransferAuthorization to the IBosonMetaTransactionsHandler ABI.

Dependency Updates:

  • Updated several development dependencies in contracts/package.json, including @bosonprotocol/boson-protocol-contracts, ethers, hardhat, and the OpenSea seaport dependency.

  • Updated @graphprotocol/graph-cli and @graphprotocol/graph-ts versions in packages/subgraph/package.json.##

@levalleux-ludo levalleux-ludo changed the title Upgrade protocol 2.5.1 rc.1 no new features feat: upgrade protocol 2.5.1 rc.1 no new features May 11, 2026
@codecov

codecov Bot commented May 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.49%. Comparing base (ae85cca) to head (8ee4f1c).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1022   +/-   ##
=======================================
  Coverage   91.49%   91.49%           
=======================================
  Files         179      179           
  Lines        7451     7451           
  Branches     1433     1433           
=======================================
  Hits         6817     6817           
  Misses        634      634           
Flag Coverage Δ
common 92.59% <ø> (ø)
core-sdk 62.63% <ø> (ø)
e2e 85.24% <ø> (ø)
eth-connect-sdk 95.06% <ø> (ø)
ethers-sdk 74.45% <ø> (ø)
ipfs-storage 91.75% <ø> (ø)
metadata 94.70% <ø> (ø)
unittests 65.95% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@levalleux-ludo
levalleux-ludo marked this pull request as ready for review May 12, 2026 12:28
Copilot AI review requested due to automatic review settings May 12, 2026 12:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request upgrades Boson Protocol integration across core-components, including Solidity/Hardhat toolchain settings, contract/tooling dependencies, Docker e2e images, and refreshed ABI definitions to match the newer protocol release.

Changes:

  • Upgraded protocol-contracts references and Hardhat/Solidity configuration (compiler versions, EVM/hardfork settings, optimizer runs).
  • Updated shared ABIs with new errors, events, and methods (e.g., mutualizer gas stipend config, meta-tx execution with token transfer authorization, orchestration event updates).
  • Bumped subgraph tooling dependencies and updated e2e Docker image tags.

Reviewed changes

Copilot reviewed 18 out of 21 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/subgraph/package.json Bumps Graph CLI/TS versions used by the subgraph package.
packages/common/src/abis/IBosonPriceDiscoveryHandler.json Adds new protocol error to the PriceDiscovery handler ABI.
packages/common/src/abis/IBosonOrchestrationHandler.json Updates orchestration ABI (new error + significant event ABI updates).
packages/common/src/abis/IBosonOfferHandler.json Adds new protocol error to the Offer handler ABI.
packages/common/src/abis/IBosonMetaTransactionsHandler.json Adds new protocol error and a new meta-tx execution function to the ABI.
packages/common/src/abis/IBosonGroupHandler.json Adds new protocol error to the Group handler ABI.
packages/common/src/abis/IBosonFundsHandler.json Adds new protocol error to the Funds handler ABI.
packages/common/src/abis/IBosonExchangeHandler.json Adds new protocol error to the Exchange handler ABI.
packages/common/src/abis/IBosonExchangeCommitHandler.json Adds new protocol error to the ExchangeCommit handler ABI.
packages/common/src/abis/IBosonDisputeHandler.json Adds new protocol error to the Dispute handler ABI.
packages/common/src/abis/IBosonConfigHandler.json Adds new protocol error plus new mutualizer gas stipend event/getter/setter to the ABI.
packages/common/src/abis/IBosonAccountHandler.json Adds new protocol error to the Account handler ABI.
package-lock.json Updates dependency lockfile for the workspace (incl. subgraph tooling bumps).
e2e/docker-compose.yml Updates e2e service image tags for protocol-node and subgraph.
contracts/package.json Bumps protocol version used by postinstall and updates Hardhat/ethers and protocol-contracts ref.
contracts/package-lock.json Updates contracts workspace lockfile to match dependency upgrades.
contracts/other-contracts/opensea-wrapper/OpenSeaWrapperFactory.sol Updates pragma to Solidity 0.8.35.
contracts/other-contracts/opensea-wrapper/OpenSeaWrapper.sol Updates pragma to Solidity 0.8.35.
contracts/other-contracts/mock/MockBosonVoucher.sol Updates pragma to Solidity 0.8.35.
contracts/other-contracts/mock/MockBosonSellerHandler.sol Updates pragma to Solidity 0.8.35.
contracts/hardhat.config.js Updates compiler versions/settings and Hardhat network settings (cancun, gas limit).
Files not reviewed (1)
  • contracts/package-lock.json: Language not supported

Comment thread packages/common/src/abis/IBosonOrchestrationHandler.json
Comment thread packages/common/src/abis/IBosonMetaTransactionsHandler.json
Comment thread packages/common/src/abis/IBosonConfigHandler.json
@levalleux-ludo
levalleux-ludo merged commit 3a59b65 into main May 12, 2026
11 of 13 checks passed
@levalleux-ludo
levalleux-ludo deleted the upgrade-protocol-2.5.1-rc.1-no-new-features branch May 12, 2026 16:24
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.

2 participants