Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions foundry.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"lib/metamorpho": {
"rev": "4ca254a2f6ba74437ff35a012ed3814056123644"
}
}
9 changes: 8 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@ optimizer_runs = 999999
bytecode_hash = "none"
evm_version = "paris"

[profile.default.rpc_endpoints]
[rpc_endpoints]
mainnet = "https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}"

[lint]
exclude_lints = [
"unused-import",
"unwrapped-modifier-logic",
"unaliased-plain-import",
]

[profile.default.fmt]
wrap_comments = true

Expand Down
6 changes: 5 additions & 1 deletion src/PublicAllocator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ import {
IPublicAllocatorBase
} from "./interfaces/IPublicAllocator.sol";
import {
Id, IMorpho, IMetaMorpho, MarketAllocation, MarketParams
Id,
IMorpho,
IMetaMorpho,
MarketAllocation,
MarketParams
Comment on lines -13 to +17
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

single_line_imports config option is coming. Do we want to wait for it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm merging and we can come back to this later.
Btw I'm against because it requires another config parameter to add to the repos and it breaks the line length setting

} from "../lib/metamorpho/src/interfaces/IMetaMorpho.sol";
import {Market} from "../lib/metamorpho/lib/morpho-blue/src/interfaces/IMorpho.sol";

Expand Down
Loading