Skip to content

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:

js
// hardhat.config.js
solidity: {
  version: '0.8.24',
  settings: {
    evmVersion: 'shanghai',   // required — Cancun is not enabled on Windpay
    optimizer: { enabled: true, runs: 200 },
  },
}
toml
# foundry.toml
[profile.default]
evm_version = "shanghai"
json
// solc standard JSON
{ "settings": { "evmVersion": "shanghai" } }

What is available ​

All forks through Shanghai:

ForkActivated
Homestead, EIP-150, EIP-155, EIP-158genesis
Byzantium, Constantinople, Petersburggenesis
Istanbul, Muir Glaciergenesis
Berlin, Londongenesis
Ramanujan, Niels, MirrorSync, Bruno, Eulerblock 817,034
Gibbs, Nano, Moran, Planck, Luban, Platoblock 817,034
Hertz, HertzFixblock 817,034
Shanghai, Kepler, Feynman, FeynmanFix2026-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:

MissingFromWhat you lose
TSTORE / TLOADCancun, EIP-1153Transient storage. Reentrancy guards using it will not work.
MCOPYCancun, EIP-5656Fast memory copy. Solidity emits it by default on Cancun+ targets.
BLOBHASH, BLOBBASEFEECancun, EIP-4844Blob transaction introspection
Blob transactions (type 3)Cancun, EIP-4844—
SELFDESTRUCT changeCancun, EIP-6780SELFDESTRUCT retains pre-Cancun semantics
Everything in Prague / PectraPragueEOF, 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 ​

TypeSupported
0 — legacyyes
1 — EIP-2930 access listyes
2 — EIP-1559yes
3 — EIP-4844 blobno

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.

Figures on this site were read from the live chain. Each page names the getter or command used.