Skip to content

[Utility] Local Proof of Stake CLI #112

@Olshansk

Description

@Olshansk

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

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 LocalNet is still functioning correctly by following the instructions at docs/development/README.md
    Remove

Creator: @Olshansk
Co-Owners: @andrewnguyen22

Metadata

Metadata

Assignees

Labels

clientwork needed to interface with the node (rpc, cli, etc..)coreCore infrastructure - protocol relatedutilityUtility specific changes

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions