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

Restore homeDomain validation #596

Merged
merged 11 commits into from
Nov 9, 2020
Merged

Restore homeDomain validation #596

merged 11 commits into from
Nov 9, 2020

Conversation

quietbits
Copy link
Contributor

No description provided.

test/unit/utils_test.js Outdated Show resolved Hide resolved
@quietbits quietbits linked an issue Nov 5, 2020 that may be closed by this pull request
Copy link
Contributor

@JakeUrban JakeUrban left a comment

Choose a reason for hiding this comment

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

The biggest piece is the test coverage, otherwise it looks good!

src/utils.ts Outdated Show resolved Hide resolved
test/unit/utils_test.js Outdated Show resolved Hide resolved
test/unit/utils_test.js Show resolved Hide resolved
src/utils.ts Outdated Show resolved Hide resolved
test/unit/utils_test.js Outdated Show resolved Hide resolved
Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

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

Thanks for turning this around quickly 👏 . I left a few comments below. Some are ideas/suggestions that might be beneficial (💡 ) but not critical or required. Two asks (❗ ). I skipped over the tests because the formatting changes were pretty noisy and I'd like to take another look after the formatting changes are moved to a separate PR, if that can happen.

src/utils.ts Outdated Show resolved Hide resolved
src/utils.ts Outdated Show resolved Hide resolved
src/utils.ts Outdated Show resolved Hide resolved
src/utils.ts Outdated Show resolved Hide resolved
test/unit/utils_test.js Outdated Show resolved Hide resolved
quietbits and others added 3 commits November 6, 2020 09:21
Co-authored-by: Jake Urban <10968980+JakeUrban@users.noreply.github.com>
Co-authored-by: Leigh McCulloch <leigh@stellar.org>
Copy link
Contributor

@JakeUrban JakeUrban left a comment

Choose a reason for hiding this comment

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

Looks good to me pending the non-optional homeDomain parameter change.

Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

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

🎉 This looks great. Thank you!

Could you also add a changelog entry for this. Take a look at this previous change for how to do that:
de76a0d#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR7-R12

@leighmcculloch
Copy link
Member

leighmcculloch commented Nov 6, 2020

In terms of merging this change we need to wait to merge it until stellar/stellar-protocol#746 merges, and then merge them as the same time. When this merges, we'll need to open a separate PR similar to #585 except this is a breaking change so we'll need to bump the major version. cc @abuiles

Copy link
Contributor

@JakeUrban JakeUrban left a comment

Choose a reason for hiding this comment

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

Just one suggestion, otherwise it looks good!

src/utils.ts Outdated Show resolved Hide resolved
Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

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

This looks great. I left a couple suggestions (💡 ) below, but regardless this is great. Thank you!

CHANGELOG.md Outdated Show resolved Hide resolved
src/utils.ts Outdated Show resolved Hide resolved
src/utils.ts Outdated Show resolved Hide resolved
quietbits and others added 4 commits November 9, 2020 13:30
Co-authored-by: Leigh McCulloch <leigh@stellar.org>
Co-authored-by: Leigh McCulloch <leigh@stellar.org>
Co-authored-by: Leigh McCulloch <leigh@stellar.org>
@quietbits quietbits merged commit c0728b9 into master Nov 9, 2020
@quietbits quietbits deleted the il-home-domain-check branch November 9, 2020 20:59
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.

SEP-10 v3.0 Changes (from the SDF)
4 participants