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

DNS test scenarios #2266

Merged
merged 18 commits into from
Sep 5, 2020
Merged

DNS test scenarios #2266

merged 18 commits into from
Sep 5, 2020

Conversation

sasurobert
Copy link
Contributor

a set of DNS test scenarios - all works as expected

cmd/node/config/genesisSmartContracts.json Show resolved Hide resolved
@@ -60,7 +58,7 @@ func (s *saveUserName) ProcessBuiltinFunction(
if !ok {
return nil, process.ErrCallerIsNotTheDNSAddress
}
if len(vmInput.Arguments) != 1 || len(vmInput.Arguments[0]) != userNameHashLength {
if len(vmInput.Arguments) != 1 {
Copy link
Contributor

Choose a reason for hiding this comment

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

A maximum length would be good here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No need. We control the DNS SCs which are only allowed to call this

Copy link
Contributor

@LucianMincu LucianMincu left a comment

Choose a reason for hiding this comment

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

System tests passed.

@LucianMincu LucianMincu merged commit 664771b into development Sep 5, 2020
@LucianMincu LucianMincu deleted the dns-test-scenarios branch September 5, 2020 09:32
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.

None yet

4 participants