Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

refactor: make dev users non-chain-specific #909

Merged
merged 6 commits into from
Apr 18, 2023
Merged

Conversation

harrysolovay
Copy link
Contributor

This change exposes the createUsers util through capi instead of through chain-specific codegen (the dev users are not chain-specific, after all). Also, given that we use the term "dev" in the context of dev nets, let's do the same for test users. The creation util is now exposed through capi itself, so let's rename createUsers to createDevUsers; hopefully this makes clear that its not to be used outside of the context of Capi devnets.

devnets/devnets_env.ts Outdated Show resolved Hide resolved
examples/dev/test_users.eg.ts Outdated Show resolved Hide resolved
server/codegenHandler.ts Show resolved Hide resolved
kratico
kratico previously approved these changes Apr 18, 2023
Copy link
Contributor

@kratico kratico left a comment

Choose a reason for hiding this comment

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

LGTM

@harrysolovay harrysolovay added this pull request to the merge queue Apr 18, 2023
Merged via the queue into main with commit 0f16b8c Apr 18, 2023
@harrysolovay harrysolovay deleted the test-users-from-root branch April 18, 2023 17:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants