feat: upgrade protocol 2.5.1 rc.1 no new features - #1022
Merged
levalleux-ludo merged 6 commits intoMay 12, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.35in all relevant contracts (MockBosonVoucher.sol,MockBosonSellerHandler.sol,OpenSeaWrapper.sol,OpenSeaWrapperFactory.sol) and updated the Hardhat configuration to use Solidity0.8.35, EVM versioncancun, and hardforkcancunfor 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 to2.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, andIBosonPriceDiscoveryHandler. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Extended
IBosonConfigHandlerABI with new methods and events for managing themutualizerGasStipendparameter: addedMutualizerGasStipendChangedevent,getMutualizerGasStipendgetter, andsetMutualizerGasStipendsetter. [1] [2] [3]Added a new function
executeMetaTransactionWithTokenTransferAuthorizationto theIBosonMetaTransactionsHandlerABI.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-cliand@graphprotocol/graph-tsversions inpackages/subgraph/package.json.##