Skip to content
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

Update unit test to check primary name is always cleared in v1 after set in v2 #171

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

0xaptosj
Copy link
Contributor

@0xaptosj 0xaptosj commented Sep 22, 2023

Whenever primary name is set in v2, it should be cleared in v1 because of this line, adding unit test to make sure of that

@0xaptosj 0xaptosj changed the base branch from main to bl/rew September 22, 2023 20:40
@@ -154,11 +154,17 @@ module router::migration_tests {
// Make v1 read only except for admin
aptos_names::config::set_is_enabled(aptos_names, false);

// Migration fails because user2 does not own `domain_name`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is copied by mistake

@0xaptosj 0xaptosj merged commit a605ede into bl/rew Sep 22, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants