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

feat: ensure domain uniqueness #439

Merged
merged 9 commits into from
Sep 25, 2024
Merged

Conversation

wa0x6e
Copy link
Contributor

@wa0x6e wa0x6e commented Sep 24, 2024

Toward https://github.com/snapshot-labs/workflow/issues/142
Together with snapshot-labs/snapshot-hub#928

When saving space settings with domain, this PR will also save the domain in the domain column, and ensure that the domain is unique

See the hub PR for database update

src/helpers/actions.ts Show resolved Hide resolved
src/writer/settings.ts Outdated Show resolved Hide resolved
@ChaituVR ChaituVR self-requested a review September 24, 2024 17:10
@ChaituVR
Copy link
Member

Any idea about the test @wa0x6e

@wa0x6e
Copy link
Contributor Author

wa0x6e commented Sep 25, 2024

Any idea about the test @wa0x6e

was unable to fix the tests, they're failing because of other tests, since the database is shared among all integrations, which are run in parallel

Running the test individually work (use dotenv -e test/.env.test yarn jest test/integration/writer/settings.test.ts)

This test is disabled for now, so we can move on

Copy link
Member

@ChaituVR ChaituVR left a comment

Choose a reason for hiding this comment

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

tAck

@wa0x6e wa0x6e merged commit d372ca8 into master Sep 25, 2024
2 checks passed
@wa0x6e wa0x6e deleted the feat-ensure-domain-uniqueness branch September 25, 2024 17:30
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