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

9 Commits

Author SHA1 Message Date
4ac1cba093 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
2024-07-16 13:17:13 +05:30
6251fb6c82 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
2024-07-16 12:12:42 +05:30
fa239cf400 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
2024-07-16 11:49:16 +05:30
Isha Venikar
b44cc00b7b
Rename ethereum_address to nitro_address in onboarding module (#10)
* Rename ethereum_address to nitro_address

* Use camel case for variables in query fields

* Replace snake case with camel case
2024-07-15 17:14:38 +05:30
Isha Venikar
ed5aa06890
Add onboarding disabled test (#9)
* 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
2024-07-10 18:43:52 +05:30
a871d0c035
Update CI for using testnet-onboarding laconic2d (#8)
* Update CI for using testnet-onboarding laconic2d

* Run onboarding test in CI
2024-07-05 18:38:46 +05:30
Isha Venikar
f51b31b954
Remove message field from onboardParticipant message and add build workflow (#7)
* Remove message field from onboardParticipant message

* Add a workflow to run lint and build

---------

Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-07-05 11:25:33 +05:30
Isha Venikar
51fed6aa62
Add a method to get registered participants (#6)
* 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
2024-07-04 19:33:10 +05:30
Isha Venikar
f2e1a1bd4a
Incorporate onboarding module and export required types (#5)
* 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>
2024-07-03 19:43:52 +05:30