EVM compatibility
Windpay runs the Ethereum Virtual Machine. Solidity compiles to it, standard tooling targets it, and contracts that work on Ethereum generally work here.
Generally — with one exception that will break your deployment if you ignore it.
The EVM target is Shanghai
Compile for Shanghai, not Cancun
Windpay's EVM is at the Shanghai fork. Cancun is not enabled, and neither is anything after it.
Recent Solidity versions default to Cancun or Prague. A contract compiled with the default settings can emit opcodes this chain does not implement. The deployment may appear to succeed and then revert when the affected code path runs — a failure that is genuinely painful to diagnose, because the source is correct and the compiler reported no problem.
Set the EVM version explicitly:
// hardhat.config.js
solidity: {
version: '0.8.24',
settings: {
evmVersion: 'shanghai', // required — Cancun is not enabled on Windpay
optimizer: { enabled: true, runs: 200 },
},
}# foundry.toml
[profile.default]
evm_version = "shanghai"// solc standard JSON
{ "settings": { "evmVersion": "shanghai" } }What is available
All forks through Shanghai:
| Fork | Activated |
|---|---|
| Homestead, EIP-150, EIP-155, EIP-158 | genesis |
| Byzantium, Constantinople, Petersburg | genesis |
| Istanbul, Muir Glacier | genesis |
| Berlin, London | genesis |
| Ramanujan, Niels, MirrorSync, Bruno, Euler | block 817,034 |
| Gibbs, Nano, Moran, Planck, Luban, Plato | block 817,034 |
| Hertz, HertzFix | block 817,034 |
| Shanghai, Kepler, Feynman, FeynmanFix | 2026-10-20 00:13:36 UTC |
So you have, among everything earlier:
PUSH0(EIP-3855) — Shanghai- Access lists and type-2 transactions (Berlin, London)
CREATE2,CHAINID,SELFBALANCE(Constantinople, Istanbul)- All standard precompiles including the BN256 pairing precompiles
What is not available
Verified absent from the chain configuration — these forks have no activation scheduled at all:
| Missing | From | What you lose |
|---|---|---|
TSTORE / TLOAD | Cancun, EIP-1153 | Transient storage. Reentrancy guards using it will not work. |
MCOPY | Cancun, EIP-5656 | Fast memory copy. Solidity emits it by default on Cancun+ targets. |
BLOBHASH, BLOBBASEFEE | Cancun, EIP-4844 | Blob transaction introspection |
| Blob transactions (type 3) | Cancun, EIP-4844 | — |
SELFDESTRUCT change | Cancun, EIP-6780 | SELFDESTRUCT retains pre-Cancun semantics |
| Everything in Prague / Pectra | Prague | EOF, account abstraction opcodes, and the rest |
MCOPY is the one that catches people. It is not an exotic feature you opted into — the compiler emits it for ordinary memory operations when the target is Cancun or later. A contract with no unusual code at all can contain it.
How to check your bytecode
If you are unsure whether a compiled artifact is safe to deploy, the opcodes that matter are TLOAD (0x5C), TSTORE (0x5D) and MCOPY (0x5E). PUSH0 (0x5F) is fine — that one is Shanghai.
The reliable approach is simply to recompile with evmVersion: "shanghai" and deploy that. The compiler then cannot emit them, and you do not have to audit bytecode by hand.
Transaction types
| Type | Supported |
|---|---|
| 0 — legacy | yes |
| 1 — EIP-2930 access list | yes |
| 2 — EIP-1559 | yes |
| 3 — EIP-4844 blob | no |
Type 2 works, but baseFeePerGas is 0 on every block, so there is no burn and no base-fee market. Both maxFeePerGas and maxPriorityFeePerGas simply need to be at or above the 476,190,476,191 wei floor. Legacy type-0 transactions are entirely fine.
Contract verification
The explorer's verifier must be given the same EVM version you compiled with. If you built for Shanghai — which you should have — select Shanghai when verifying, or verification fails against correct source. See Block explorer.
Next step
Validator overview, or jump to Network config for complete, copy-paste Hardhat and Foundry setups with evmVersion already correct.
Verified 2026-10-22. The fork table was read directly from config in /opt/windpay/genesis-dpos-fork.json. The absent list was confirmed by searching that file for each key: cancunTime, haberTime, haberFixTime, bohrTime, pascalTime, lorentzTime, maxwellTime, pragueTime and osakaTime are all absent, so none has an activation height or time. shanghaiTime is 1792455216, which is 2026-10-20 00:13:36 UTC — in the past, so Shanghai is live. baseFeePerGas: 0 read from the latest block header.

