As a result, when you attempt to use the DefaultOperatorFilterer with a Solidity version between 0.8.13 and 0.8.16, you receive the following error: ParserError: Source file requires different compiler version.
Constants.sol does not appear to leverage any language features that require Solidity version 0.8.17, so updating the pragma allows the Operator Filter to compile with a wider range of Solidity versions.
All source files require Solidity
^0.8.13
besidesConstants.sol
, which requires^0.8.17
: https://github.com/search?q=repo%3AProjectOpenSea%2Foperator-filter-registry+pragma+solidity+path%3Asrc%2F&type=code&p=1As a result, when you attempt to use the
DefaultOperatorFilterer
with a Solidity version between0.8.13
and0.8.16
, you receive the following error:ParserError: Source file requires different compiler version
.Constants.sol
does not appear to leverage any language features that require Solidity version0.8.17
, so updating the pragma allows the Operator Filter to compile with a wider range of Solidity versions.