Add types and methods for participants onboarding module #12

Merged
ashwin merged 9 commits from testnet-onboarding into main 2024-07-16 08:33:42 +00:00
Member
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)
nabarun added 7 commits 2024-07-16 06:24:33 +00:00
* Add proto bindings and generated ts files

* Add onboard participant message

* Add onboard participant method in client

* Add test for onboarding participant

* Regenerate proto bindings

* Remove hard-coded values from onboarding-test

* Export required types for onboarding app

* Export types from message files

---------

Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
* Add getParticipant query method for getting participants list

* Add check to verify the list of registered participants in onboarding-test

* Modify test messages

* Add updated proto files and regenerate ts bindings

* Update proto files and regenerate ts bindings

* Fix imports
* Remove message field from onboardParticipant message

* Add a workflow to run lint and build

---------

Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
* Update CI for using testnet-onboarding laconic2d

* Run onboarding test in CI
* Add test for onboarding disabled flag

* Add onboardingDisabled test

* Modify test message

* Add test for onboarding disabled to query participants

* Modify test messages

* Use participants array type

* Remove unnecessary describe block

* Remove describe statement
* Rename ethereum_address to nitro_address

* Use camel case for variables in query fields

* Replace snake case with camel case
Add onboarding test in gitea CI
Some checks failed
Lint & Build / lint_and_build (20.x) (pull_request) Failing after 19s
Tests / sdk_tests (pull_request) Successful in 22m11s
fa239cf400
prathamesh added 1 commit 2024-07-16 06:42:52 +00:00
Install yarn in the on-pr workflow
All checks were successful
Lint & Build / lint_and_build (20.x) (pull_request) Successful in 2m11s
Tests / sdk_tests (pull_request) Successful in 20m11s
6251fb6c82
nabarun added 1 commit 2024-07-16 07:47:24 +00:00
Update laconic2d branch to main in CI
All checks were successful
Lint & Build / lint_and_build (20.x) (pull_request) Successful in 1m43s
Tests / sdk_tests (pull_request) Successful in 20m13s
4ac1cba093
ashwin merged commit 2757281e5b into main 2024-07-16 08:33:42 +00:00
ashwin deleted branch testnet-onboarding 2024-07-16 08:33:42 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/registry-sdk#12
No description provided.