-
Notifications
You must be signed in to change notification settings - Fork 33
[Utility] Local Proof of Stake CLI #112
Copy link
Copy link
Closed
Labels
clientwork needed to interface with the node (rpc, cli, etc..)work needed to interface with the node (rpc, cli, etc..)coreCore infrastructure - protocol relatedCore infrastructure - protocol relatedutilityUtility specific changesUtility specific changes
Milestone
Description
Objective
Create an entry point to interact with the local proof of stake blockchain actors for testing, development and automation purposes.
Origin Document
In order to test, develop and drive consensus in V1, we developed the Pocket v1 client to send a few simple transactions such as printing node state, triggering next view , etc...
Similar to Tendermint's abci-cli tool, we need to expand the functionality of the pocket-dev-cli to fit our needs for the time being.
Goals / Deliverables
- Determine if the existing client suffices to fit these needs (i.e. passing params for addresses and values)
- Define and document the list of commands to be added (e.g. stake, unstake, pause, unpause, send, etc...)
- Update the node so the request is propagated appropriately
- If needed, create the appropriate interfaces in the utility module (or other) to pass through or mock the request
Bonus: - Start rough notes for an RPC spec
- Compile a listen of examples and references of other RPC specs for next steps
General issue checklist
- CLI: Update the appropriate CHANGELOG (tracked in [Utility] CLI Usage instructions and specification #193)
- CLI: Update the README (tracked in [Utility] CLI Usage instructions and specification #193)
- RPC: Update the appropriate CHANGELOG
- RPC: Update the README
- Node: Update the appropriate CHANGELOG
- Node: Update the README
- Update the source code tree explanation
- If applicable, add or update a state, sequence or flowchart diagram using mermaid
- Update any relevant global documentation & references
- Document small issues / TODOs along the way
Non-goals
- Create a fully-fledged RPC specification similar to Tendermint
- Have functional end-to-end utility messages being submitted
Testing Methodology
- Utility specific tests:
make test_utility_* - All tests:
make test_all - LocalNet: verify a
LocalNetis still functioning correctly by following the instructions at docs/development/README.md
Remove
Creator: @Olshansk
Co-Owners: @andrewnguyen22
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
clientwork needed to interface with the node (rpc, cli, etc..)work needed to interface with the node (rpc, cli, etc..)coreCore infrastructure - protocol relatedCore infrastructure - protocol relatedutilityUtility specific changesUtility specific changes
Type
Projects
Status
Done