Both the Huff and the Solidity implementation are not supported by Arbitrum
Arbitrum does not support the PUSH0 opcode :
https://docs.arbitrum.io/for-devs/concepts/differences-between-arbitrum-ethereum/solidity-support#differences-from-solidity-on-ethereum
It is using shanghai
EVM version in foundry.toml :
The Solidity implementation is using 0.8.20 version
Solidity compiled in 0.8.20 with shanghai
EVM version and Huff implementation compiled with huffc with EVM version of shanghai
will contain PUSH0 opcode that is not yet supported by Arbitrum
The compiled bytecode contains PUSH0 opcode that is not yet supported by Arbitrum causing it to revert
Manual review
Compile the Huff contract with EVM version lower than shanghai
and change Solidity version to <= 0.8.19 if the Solidity implementation is going to be deployed in Arbitrum
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.