Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(lib): checkout post-cantina #22

Merged
merged 2 commits into from
Dec 26, 2023
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
39 changes: 39 additions & 0 deletions broadcast/DeployMetaMorphoFactory.sol/5/run-1703079420.json

Large diffs are not rendered by default.

54 changes: 54 additions & 0 deletions broadcast/DeployMetaMorphoFactory.sol/5/run-1703079433.json

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions broadcast/DeployMetaMorphoFactory.sol/5/run-1703079861.json

Large diffs are not rendered by default.

54 changes: 54 additions & 0 deletions broadcast/DeployMetaMorphoFactory.sol/5/run-1703079879.json

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions broadcast/DeployMetaMorphoFactory.sol/5/run-1703080024.json

Large diffs are not rendered by default.

54 changes: 54 additions & 0 deletions broadcast/DeployMetaMorphoFactory.sol/5/run-1703080049.json

Large diffs are not rendered by default.

54 changes: 54 additions & 0 deletions broadcast/DeployMetaMorphoFactory.sol/5/run-latest.json

Large diffs are not rendered by default.

291 changes: 291 additions & 0 deletions broadcast/DeployMorpho.sol/5/run-1703079341.json

Large diffs are not rendered by default.

657 changes: 657 additions & 0 deletions broadcast/DeployMorpho.sol/5/run-1703079367.json

Large diffs are not rendered by default.

657 changes: 657 additions & 0 deletions broadcast/DeployMorpho.sol/5/run-latest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/morpho-blue-oracles
8 changes: 5 additions & 3 deletions script/ConfiguredScript.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,21 @@ abstract contract ConfiguredScript is Script {
}

function _logDeployment(string memory submodule, string memory what, bytes memory args, address addr) internal {
string memory scriptDir = _scriptDir();

console2.log("Deployed %s at: %s", what, addr);
console2.log("Verify %s using: > yarn verify:%s", _scriptDir());
console2.log("Verify %s using: > yarn verify:%s", scriptDir, scriptDir);

if (!SAVE_VERIFY) return;

string memory verifyPath = string.concat("script/", _scriptDir(), "/verify.sh");
string memory verifyPath = string.concat("script/", scriptDir, "/verify.sh");
vm.writeLine(verifyPath, "");
vm.writeLine(verifyPath, string.concat("if cd lib/", submodule, "/;"));
vm.writeLine(verifyPath, "then");
vm.writeLine(
verifyPath,
string.concat(
" forge verify-contract --chain-id ",
"FOUNDRY_PROFILE=build forge verify-contract --watch --chain-id ",
vm.toString(block.chainid),
" --constructor-args ",
vm.toString(args),
Expand Down
2 changes: 1 addition & 1 deletion script/metamorpho-factory/config/goerli.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"salt": "0x0000000000000000000000000000000000000000000000000000000000000001"
"salt": "0x0000000000000000000000000000000000000000000000000000000000000004"
}
4 changes: 2 additions & 2 deletions script/morpho/config/goerli.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"owner": "0x50d0dE2207989017398e33919A3ed6558eBc6644",
"salt": {
"morpho": "0x0000000000000000000000000000000000000000000000000000000000000002",
"irm": "0x0000000000000000000000000000000000000000000000000000000000000000"
"morpho": "0x0000000000000000000000000000000000000000000000000000000000000004",
"irm": "0x0000000000000000000000000000000000000000000000000000000000000002"
},
"lltvs": [
0,
Expand Down