Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 committed Oct 8, 2024
1 parent e359729 commit 5bf961a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ bytecode_hash = "ipfs"
extra_output = ["storageLayout"]
extra_output_files = ["metadata"]
fs_permissions = [{ access = "read", path = "out" }]
# eth_rpc_url = "https://rpc.darwinia.network"
# etherscan_api_key = "xxx"
eth_rpc_url = "https://rpc.darwinia.network"
etherscan_api_key = "xxx"

[rpc_endpoints]
koi = "https://koi-rpc.darwinia.network"
Expand Down
6 changes: 3 additions & 3 deletions script/Migrate.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import {CollatorStakingHub} from "../src/collator/CollatorStakingHub.sol";
import {Deposit} from "../src/deposit/Deposit.sol";

contract MigrateScript is Script {
address proxy = 0xa4fFAC7A5Da311D724eD47393848f694Baee7930;
// address proxy = 0xa4fFAC7A5Da311D724eD47393848f694Baee7930;

function run() public {
vm.startBroadcast();

address logic = address(new CollatorStakingHub());
// address logic = address(new Deposit());
// address logic = address(new CollatorStakingHub());
address logic = address(new Deposit());
// Core.upgradeProxyTo(proxy, logic, "");
// require(logic == Upgrades.getImplementationAddress(proxy));
safeconsole.log("logic: ", logic);
Expand Down
2 changes: 1 addition & 1 deletion verify/Deposit.json

Large diffs are not rendered by default.

0 comments on commit 5bf961a

Please sign in to comment.