* Rename ethereum_address to nitro_address
* Use camel case for variables in gql schema
* Fix indentation in proto files
* Fix proto lint errors
---------
Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
* Add proto files for onboarding module
* Add generated proto bindings
* Define onboarding object
* Define the participants state in keeper
* Update genesis file to initialize and export module state to/from genesis
* Add msg to onboard participant
* Register command to enroll participant
* Add functionality to decode ethereum address from signature
* Add comments for messages and fields
* Fix lint errors in proto files
* Add message validation and events in msg_server
* Reuse crypto utils from go-nitro
* Sign entire eth_payload object
* Use google API for rpc method
* Regenerate proto bindings
---------
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
* Add proto files for onboarding module
* Add general files for onboarding module
* Add keeper files for onboarding module
* Add module files for onboarding module
* Update proto files
* Add generated proto bindings
* Use Keeper pointer in depinject
* Fix lint errors
- Rename RPC method to reserve authority from `ReserveName` to `ReserveAuthority`
and `GetBondsModuleBalance` to `GetBondModuleBalance`
- Run lint formatter
- Fix proto lint errors and regenerate proto bindings
Reviewed-on: deep-stack/laconic2d#17
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
- Add E2E tests following pattern suggested in cosmos-sdk docs:
https://docs.cosmos.network/v0.50/build/building-modules/testing#end-to-end-tests
- Tests for gRPC requests
- Tests for manually configured CLI commands
- Add a CI workflow to run these E2E tests
Reviewed-on: deep-stack/laconic2d#13
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
- Setup integration tests following pattern suggested in cosmos-sdk docs:
https://docs.cosmos.network/v0.50/build/building-modules/testing#integration-tests
- Add tests for laconic modules query services
- Setup a CI workflow to run the integration tests
Reviewed-on: deep-stack/laconic2d#11
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
- Registry module
- Update module state to track record / authority expiry queues
- Handle expired records and authorities at the end of each block
- Add a command to handle record renewal
Reviewed-on: deep-stack/laconic2d#7
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
To be added in an upcoming PR:
- commands to commit, reveal and get bids
Reviewed-on: deep-stack/laconic2d#2
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
* Add commands to get bonds by id and owner
* Add commands to get bond module params and balances
* Add commands to refill, withdraw and cancel bond
* Add implementations for bond tx commands
* Use indexed map to implement command for getting bond by owner
* Use collections for bond module params
* Clean up
* Add message service with a create bond command
* Add query proto file with bonds list query
* Remove legacy amino coded registration
* Add bond to auth module config
* Use collections package for bond module state
* Add common message types and update proto gen script
* Update proto gen script to generate pulsar proto code
* Upgrade direct deps
* Populate params and genesis files
* Setup keeper files
* Setup module files with depinject and autocli
* Add placeholder keeper methods
* Integrate bond module into the chain
* Setup minimal chain
* Change app and command name
* Rename command folder
* Add run instructions
* Add placeholder files for bond module
* Missing new line