1 Star 0 Fork 0

ProjectOpenSea / shipyard

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
foundry.toml 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
djviau 提交于 2023-09-28 12:54 . add verification info
[profile.default]
auto_detect_solc = false
solc = '0.8.20'
src = "src"
out = "out"
libs = ["lib"]
remappings = [
'forge-std/=lib/forge-std/src',
'solady/=lib/solady/src/',
'solady-test/=lib/solady/test/',
'openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/',
'openzeppelin-contracts/contracts/=lib/openzeppelin-contracts/contracts/',
'shipyard-core/=lib/shipyard-core/src/',
'seaport-types/=lib/seaport-types/src/'
]
# use realistic numbers in tests
block_number = 17722462
block_timestamp = 1689711647
# don't pollute bytecode with metadata
bytecode_hash = 'none'
cbor_metadata = false
# grant access to read via_ir-out by default, if necessary
fs_permissions = [{ access = "read", path = "./via_ir-out" }]
# etherscan currently does not support contracts with more than 10 million optimizer runs;
# bytecode is typically unaffected past ~1 million runs anyway
optimizer_runs = 99_999_999
# via_ir pipeline is very slow - use a separate profile to pre-compile and then use vm.getCode to deploy
[profile.via_ir]
via_ir = true
# do not compile tests when compiling via-ir
test = 'src'
out = 'via_ir-out'
# offload bulk of fuzz runs to CI
[profile.CI.fuzz]
fuzz_runs = 1024
[profile.ffi]
ffi = true
test = 'test-ffi'
fs_permissions = [{ access = 'read-write', path = './test-ffi/' }]
# Use a very small number of default fuzz runs to speed up local testing. It is
# recommended to increase this number or use the `--fuzz-runs=256` flag to run
# a proper fuzzing campaign before yeeting your project to mainnet.
[profile.ffi.fuzz]
runs = 5
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
1
https://gitee.com/ProjectOpenSea/shipyard.git
git@gitee.com:ProjectOpenSea/shipyard.git
ProjectOpenSea
shipyard
shipyard
main

搜索帮助