Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: avoid Derived contract must override function _contextSuffixLength error #683

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mmsqe
Copy link

@mmsqe mmsqe commented Mar 26, 2025

Two or more base classes define function with same name and parameter types.
  --> @thirdweb-dev/contracts/infra/TWRegistry.sol:20:1:
   |
20 | contract TWRegistry is Multicall, ERC2771Context, AccessControlEnumerable {
   | ^ (Relevant source part starts here and spans across multiple lines).
Note: Definition in "ERC2771Context": 
  --> @openzeppelin/contracts/metatx/ERC2771Context.sol:51:5:
   |
51 |     function _contextSuffixLength() internal view virtual override returns (uint256) {
   |     ^ (Relevant source part starts here and spans across multiple lines).
Note: Definition in "Context": 
  --> @openzeppelin/contracts/utils/Context.sol:25:5:
   |
25 |     function _contextSuffixLength() internal view virtual returns (uint256) {
   |     ^ (Relevant source part starts here and spans across multiple lines).

@mmsqe mmsqe marked this pull request as ready for review March 27, 2025 06:30
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