Skip to content

Commit

Permalink
Merge pull request #78 from axieinfinity/feature/misc
Browse files Browse the repository at this point in the history
fix(BaseMigration): reorder inner call to avoid bugs
  • Loading branch information
TuDo1403 authored Jan 29, 2024
2 parents 29f0afa + 0bc4d8d commit 0c15281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/BaseMigration.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ abstract contract BaseMigration is ScriptExtended {

function setUp() public virtual override {
super.setUp();
deploySharedAddress(address(ARTIFACT_FACTORY), type(ArtifactFactory).creationCode, "ArtifactFactory");
_injectDependencies();
_storeRawSharedArguments();
_injectDependencies();
deploySharedAddress(address(ARTIFACT_FACTORY), type(ArtifactFactory).creationCode, "ArtifactFactory");
}

function _storeRawSharedArguments() internal virtual {
Expand Down

0 comments on commit 0c15281

Please sign in to comment.