OpenZeppelin / ethernaut

Web3/Solidity based wargame
MIT License
1.99k stars 684 forks source link

Cancun Upgrade Messes Up the assertion for MotorBike #737

Closed Josephdara closed 6 months ago

Josephdara commented 6 months ago

The behavioural change specified here: https://docs.soliditylang.org/en/latest/units-and-global-variables.html#contract-related Directly impacts the assertion in the Motorbike Level.

I came across issue when solving the Ethernaut challenges today.

A solution might be to change the assertion is the contract code remains after selfdestruct or remove the level completely

GianfrancoBazzani commented 6 months ago

Hey @Josephdara we already discussed that issue here, i will close this one: