diff --git a/README.md b/README.md index cfb317bc..c4e26230 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,10 @@ await metamorpho.connect(curator).multicall([ ]); ``` -## Development +## Developers + +> [!NOTE] +> `MetaMorphoV1_1Factory` has been deployed on Ethereum and Base with the [metadata hash](https://docs.soliditylang.org/en/latest/metadata.html) included, which appear at two places in the bytecode as it is a factory. Install dependencies: `yarn` diff --git a/foundry.toml b/foundry.toml index 2dfedffd..788ac89a 100644 --- a/foundry.toml +++ b/foundry.toml @@ -2,12 +2,11 @@ src = "src" test = "test/forge" libs = ["lib"] +via_ir = true +optimizer = true +optimizer_runs = 200 +bytecode_hash = "none" evm_version = "cancun" -via-ir = true -fs_permissions = [ - { access = "read", path = "./config/"}, - { access = "read", path = "./out/"} -] [profile.default.rpc_endpoints] mainnet = "https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}" @@ -16,8 +15,4 @@ tenderly = "https://rpc.tenderly.co/fork/${TENDERLY_FORK_ID}" [profile.default.fmt] wrap_comments = true -[profile.test] -via-ir = false - - # See more config options https://github.com/foundry-rs/foundry/tree/master/crates/config