PR: #37 feat(contracts): full Aave + Venus + PancakeSwap liquidation flow
Commit: 54fe2bb
File: contracts/foundry.toml
Problem: foundry.toml sets solc_version = "0.8.24" but never sets evm_version. Without evm_version = "paris", solc defaults to "shanghai" which emits PUSH0 (opcode 0x5f). BSC mainnet does not support PUSH0. Compiled bytecode fails to deploy or silently mis-executes on BSC.
Impact: Deployment to BSC mainnet reverts at creation time. Every downstream integration — flash-loan callback, liquidation, swap — unreachable. Hard deploy blocker.
Fix: Add to [profile.default] in contracts/foundry.toml:
Inherited from #36 (#114) but must be resolved in this PR before any contract work lands.
PR: #37 feat(contracts): full Aave + Venus + PancakeSwap liquidation flow
Commit: 54fe2bb
File: contracts/foundry.toml
Problem: foundry.toml sets
solc_version = "0.8.24"but never setsevm_version. Withoutevm_version = "paris", solc defaults to "shanghai" which emits PUSH0 (opcode 0x5f). BSC mainnet does not support PUSH0. Compiled bytecode fails to deploy or silently mis-executes on BSC.Impact: Deployment to BSC mainnet reverts at creation time. Every downstream integration — flash-loan callback, liquidation, swap — unreachable. Hard deploy blocker.
Fix: Add to
[profile.default]in contracts/foundry.toml:Inherited from #36 (#114) but must be resolved in this PR before any contract work lands.