Skip to content

Commit b9d1e1d

Browse files
authored
Merge pull request #107 from morpho-org/chore/bytecode-hash
2 parents 630ca9a + e9fb1c1 commit b9d1e1d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ A specific implementation, the `WstEthStEthExchangeRateChainlinkAdapter`, provid
9696

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

99-
## Getting Started
99+
## Developers
100+
101+
> [!NOTE]
102+
> `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.
100103
101104
Install dependencies: `forge install`
102105

foundry.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
src = "src"
33
out = "out"
44
libs = ["lib"]
5-
optimizer_runs = 999999 # Etherscan does not support verifying contracts with more optimizer runs.
65
via_ir = true
6+
optimizer = true
7+
optimizer_runs = 999999
8+
bytecode_hash = "none"
79
evm_version = "paris"
810

911
[profile.default.fmt]

0 commit comments

Comments
 (0)