Skip to content

Commit

Permalink
Make tests happy
Browse files Browse the repository at this point in the history
  • Loading branch information
chompomonim committed Oct 21, 2021
1 parent 3c5cd42 commit bf842ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions contracts/HermesImplementation.sol
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ contract HermesImplementation is FundsRecovery, Utils {
// Approving all myst for dex, because MYST token's `transferFrom` is cheaper when there is approval of uint(-1)
token.approve(_dexAddress, type(uint256).max);
dex = IUniswapV2Router(_dexAddress);

transferOwnership(_operator);
}

function isInitialized() public view returns (bool) {
Expand Down
2 changes: 1 addition & 1 deletion test/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ contract('Deterministic registry', ([txMaker, ...otherAccounts]) => {
})

it('should have hermes implementation deployed into deterministic address', async () => {
const expectedAddress = '0x0e591c54C116C40f5F354c39513F3b5AEd591aBf'
const expectedAddress = '0x98FC2aDD4692Dad03AD73AF4544da99db3033858'
expect(await registry.getHermesImplementation()).to.be.equal(expectedAddress)
})
})
Expand Down

0 comments on commit bf842ed

Please sign in to comment.