-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/same asset migration #99
Conversation
- wont show the warning now
@carlfarterson ready for review and merge. |
{ | ||
function isValid( | ||
address _asset, | ||
bytes memory /* _encodedArgs */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 🙌
@@ -546,14 +546,13 @@ const setup = async () => { | |||
).to.be.revertedWith("Invalid _encodedMigrationArgs"); | |||
}); | |||
it("Fails when current and target hub has same asset", async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will update this test description
@@ -163,6 +154,12 @@ contract MeTokenRegistry is Ownable, IMeTokenRegistry { | |||
meToken_.targetHubId = _targetHubId; | |||
meToken_.migration = _migration; | |||
|
|||
require( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving this back with the require()
statements
No description provided.