Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
56 lines
1.6 KiB
TOML
56 lines
1.6 KiB
TOML
# Foundry Configuration File
|
|
# Default definitions: https://github.com/foundry-rs/foundry/blob/b7917fa8491aedda4dd6db53fbb206ea233cd531/config/src/lib.rs#L782
|
|
# See more config options at: https://github.com/foundry-rs/foundry/tree/master/.config
|
|
|
|
# The Default Profile
|
|
[profile.default]
|
|
solc_version = "0.8.30"
|
|
evm_version = "paris" # Cancun will be tested in the CI.
|
|
auto_detect_solc = false
|
|
optimizer = true
|
|
optimizer_runs = 1_000
|
|
gas_limit = 100_000_000 # ETH is 30M, but we use a higher value.
|
|
skip = ["*/*7702*", "*/*BlockHashLib*", "*/*Transient*", "*/ext/ithaca/*", "*/ext/zksync/*"]
|
|
fs_permissions = [{ access = "read", path = "./test/data"}]
|
|
remappings = [
|
|
"forge-std=test/utils/forge-std/"
|
|
]
|
|
|
|
[profile.pre_global_structs]
|
|
skip = ["*/g/*", "*/*7702*", "*/*BlockHashLib*", "*/*Transient*", "*/ext/ithaca/*", "*/ext/zksync/*"]
|
|
|
|
[profile.post_cancun]
|
|
evm_version = "cancun"
|
|
skip = ["*/ext/ithaca/*"]
|
|
|
|
[profile.zksync]
|
|
match_path = "*/ext/zksync/*"
|
|
evm_version = "cancun"
|
|
skip = []
|
|
|
|
[profile.ithaca]
|
|
evm_version = "cancun"
|
|
odyssey = true
|
|
skip = []
|
|
|
|
[profile.solx]
|
|
solc_version = "/usr/local/bin/solx"
|
|
evm_version = "paris" # Cancun will be tested in the CI.
|
|
optimization = 3
|
|
gas_limit = 100_000_000 # ETH is 30M, but we use a higher value.
|
|
skip = ["*/*7702*", "*/*Transient*", "*/ext/ithaca/*", "*/ext/zksync/*"]
|
|
fs_permissions = [{ access = "read", path = "./test/data"}]
|
|
remappings = [
|
|
"forge-std=test/utils/forge-std/"
|
|
]
|
|
|
|
[fmt]
|
|
line_length = 100 # While we allow up to 120, we lint at 100 for readability.
|
|
|
|
[profile.default.fuzz]
|
|
runs = 256
|
|
|
|
[invariant]
|
|
depth = 15
|
|
runs = 10
|