Skip to content

Commit

Permalink
chore: add workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
nxqbao committed Mar 11, 2024
1 parent a31b1eb commit 3bc9d08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ contract Migration__20240308_MapTokenAperiosMainchain is Base__MapToken, Factory
}

function run() public override {
console2.log("nonce", vm.getNonce(SM_GOVERNOR)); // Log nonce for workaround of nonce increase when switch network
super.run();
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import { console2 } from "forge-std/console2.sol";
import "../factories/factory-maptoken-roninchain.s.sol";
import "./base-maptoken.s.sol";

Expand All @@ -18,6 +19,7 @@ contract Migration__20240308_MapTokenAperiosRoninchain is Base__MapToken, Factor
}

function run() public override {
console2.log("nonce", vm.getNonce(SM_GOVERNOR)); // Log nonce for workaround of nonce increase when switch network
super.run();
}
}

0 comments on commit 3bc9d08

Please sign in to comment.