Skip to content
 
 

Latest commit

 

History

4,996 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foundry (MegaETH Fork)

MegaETH's fork of Foundry, pinned at v1.3.0.

MegaETH Mode

Run forge test and forge coverage with MegaETH EVM semantics (gas forwarding, SALT gas metering, system contracts) via the --megaeth flag:

forge test --megaeth -vvv
forge coverage --megaeth --report lcov

Unsupported combinations (rejected with a clear error rather than silently degrading):

  • --megaeth --isolate / inline isolate = true — isolation mode not implemented.
  • --megaeth --fork-url <URL> — fork-aware external environment (Oracle / SALT bucket) not implemented.

Cheatcodes (vm.prank, vm.deal, vm.expectRevert, etc.) are silently skipped under --megaeth. Use pure Solidity assertions (require).

See testdata/megaeth/ for gas-divergence examples and cross-validation harness.

MegaETH ↔ mega-evm consistency

--megaeth is backed by the mega-evm library. To detect library-level drift:

Key Dependencies

Crate Version
revm 27.0.3
op-revm 8.0.3
alloy-evm 0.15.0
alloy 1.0.23
mega-evm 1.5.1

Upstream

License

Licensed under either of Apache License, Version 2.0 or MIT License at your option.

About

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages