PR: #45 (feat/20-multi-liq-batcher)
File: contracts/foundry.toml
foundry.toml on this branch has no evm_version key. solc 0.8.24 defaults to shanghai, which emits the PUSH0 opcode. BSC does not support PUSH0. All contracts compiled from this branch — including the new batchExecute function and its Foundry tests — produce bytecode that will fault on BSC at any PUSH0 site.
This is the same defect originally flagged in PR #36 (issues #114/#118) and PR #37, carried forward unresolved into every subsequent Solidity PR.
Impact: Every batchExecute test runs against miscompiled bytecode. Any deployed build from this branch will fault on BSC mainnet.
Fix: Add evm_version = "paris" to [profile.default] in contracts/foundry.toml.
Refs #45
PR: #45 (feat/20-multi-liq-batcher)
File: contracts/foundry.toml
foundry.toml on this branch has no
evm_versionkey. solc 0.8.24 defaults toshanghai, which emits thePUSH0opcode. BSC does not support PUSH0. All contracts compiled from this branch — including the newbatchExecutefunction and its Foundry tests — produce bytecode that will fault on BSC at any PUSH0 site.This is the same defect originally flagged in PR #36 (issues #114/#118) and PR #37, carried forward unresolved into every subsequent Solidity PR.
Impact: Every batchExecute test runs against miscompiled bytecode. Any deployed build from this branch will fault on BSC mainnet.
Fix: Add
evm_version = "paris"to[profile.default]in contracts/foundry.toml.Refs #45