The compiler says there is a compiler: user assert, which would look something like:
assert 0 > 1, "Zero is not greater than 1"
The issue here is that the contract is compiled using # pragma evm-version paris, but for whatever reason, boa thinks it is # pragma evm-version shanghai.
Issue:
The compiler says there is a
compiler: user assert
, which would look something like:The issue here is that the contract is compiled using
# pragma evm-version paris
, but for whatever reason, boa thinks it is# pragma evm-version shanghai
.The Offending commit is : https://github.com/vyperlang/titanoboa/commit/7171aee25c4d25fc1626a361a8c972e9316fd383
And before this commit, this error is correctly traced, and since this commit it is not.
Tips on how to resolve:
(From Charles) In boa: protect the codegen with correct evm version, but protect source map generation in the same way.