Update forge for EOF
This commit is contained in:
3
eof-solc
Executable file
3
eof-solc
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
docker run --rm -i -v "$(pwd):/app/root" ghcr.io/paradigmxyz/forge-eof:latest "$@"
|
||||||
10
foundry.toml
10
foundry.toml
@ -1,14 +1,16 @@
|
|||||||
[profile.default]
|
[profile.default]
|
||||||
solc_version = '0.8.24'
|
|
||||||
evm_version = 'cancun'
|
|
||||||
optimizer = true
|
|
||||||
optimizer-runs = 200
|
|
||||||
src = 'contracts'
|
src = 'contracts'
|
||||||
out = 'out'
|
out = 'out'
|
||||||
libs = ['node_modules', 'lib']
|
libs = ['node_modules', 'lib']
|
||||||
test = 'test'
|
test = 'test'
|
||||||
cache_path = 'cache_forge'
|
cache_path = 'cache_forge'
|
||||||
|
|
||||||
|
# settings required for EOF
|
||||||
|
via_ir = true
|
||||||
|
evm_version = "prague"
|
||||||
|
eof_version = 1
|
||||||
|
solc = "./eof-solc"
|
||||||
|
|
||||||
[fuzz]
|
[fuzz]
|
||||||
runs = 5000
|
runs = 5000
|
||||||
max_test_rejects = 150000
|
max_test_rejects = 150000
|
||||||
|
|||||||
Reference in New Issue
Block a user