Skip to content

Commit

Permalink
Merge pull request #107 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 630ca9a + e9fb1c1 commit b9d1e1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ A specific implementation, the `WstEthStEthExchangeRateChainlinkAdapter`, provid

This adapter is deployed on the Ethereum Mainnet at the address [0x905b7dAbCD3Ce6B792D874e303D336424Cdb1421](https://etherscan.io/address/0x905b7dabcd3ce6b792d874e303d336424cdb1421#code).

## Getting Started
## Developers

> [!NOTE]
> `MorphoChainlinkOracleV2Factory` 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: `forge install`

Expand Down
4 changes: 3 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
src = "src"
out = "out"
libs = ["lib"]
optimizer_runs = 999999 # Etherscan does not support verifying contracts with more optimizer runs.
via_ir = true
optimizer = true
optimizer_runs = 999999
bytecode_hash = "none"
evm_version = "paris"

[profile.default.fmt]
Expand Down

0 comments on commit b9d1e1d

Please sign in to comment.