Skip to content

Commit

Permalink
chore: restructure factories scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tringuyenskymavis committed Jul 3, 2024
1 parent a7a19f1 commit 015948b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 363 deletions.
8 changes: 4 additions & 4 deletions script/20240626-maptoken-anima/governors-configs.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ contract Migration__Governors_Config {

constructor() {
// TODO: replace by address of the testnet governors
governors[3] = 0xd24D87DDc1917165435b306aAC68D99e0F49A3Fa;
governors[2] = 0xb033ba62EC622dC54D0ABFE0254e79692147CA26;
governors[0] = 0x087D08e3ba42e64E3948962dd1371F906D1278b9;
governors[1] = 0x52ec2e6BBcE45AfFF8955Da6410bb13812F4289F;
governors[3] = 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266;
governors[2] = 0x90F79bf6EB2c4f870365E785982E1f101E93b906;
governors[0] = 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC;
governors[1] = 0x70997970C51812dc3A010C7d01b50e0d17dc79C8;
// TODO: replace by private key of the testnet governors
governorPks[3] = 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80;
governorPks[2] = 0x7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6;
Expand Down
185 changes: 0 additions & 185 deletions script/factories/factory-maptoken-mainchain.s.sol

This file was deleted.

171 changes: 0 additions & 171 deletions script/factories/factory-maptoken-roninchain.s.sol

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Contract } from "../../utils/Contract.sol";
import { MainchainBridgeManager } from "@ronin/contracts/mainchain/MainchainBridgeManager.sol";
import "./factory-maptoken-roninchain.s.sol";

abstract contract Factory__MapTokensRonin_Testnet is Factory__MapTokensRoninchain {
abstract contract Factory__MapTokensRonin_Mainnet is Factory__MapTokensRoninchain {
using LibCompanionNetwork for *;

function setUp() public override {
Expand All @@ -19,8 +19,6 @@ abstract contract Factory__MapTokensRonin_Testnet is Factory__MapTokensRoninchai
_governor = _initCaller();
}

function _initGovernors() internal virtual returns (address[] memory);

function run() public virtual override {
Proposal.ProposalDetail memory proposal = _createAndVerifyProposal();
_propose(proposal);
Expand Down

0 comments on commit 015948b

Please sign in to comment.