Skip to content

Commit

Permalink
Merge pull request #71 from morpho-org/chore/bytecode-hash
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD authored Jan 14, 2025
2 parents bb140b4 + 612958e commit b17b992
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
13 changes: 4 additions & 9 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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

0 comments on commit b17b992

Please sign in to comment.