Skip to content

[Supplier] Implement an "Upstake" Command #1548

@Olshansk

Description

@Olshansk

Objective

Add CLI support for partially updating stake parameters without requiring full re-specification.

Origin Document

btw @olshansky stake command or even "restake" command is needed, to update stake partially, like "increase amount" without need to specify everything, or update "services" without specify everything

Image

Goals

  • Improve operator experience by reducing friction in common stake update operations.
  • Enable partial stake updates (e.g. amount or services) through pocketd.

Deliverables

  • Add pocketd tx supplier update-supplier --stake command to increase stake without re-specifying services or chains.
  • Add pocketd tx supplier update-supplier --services command to update service params without re-specifying stake amount or chains.
  • Add validation logic to ensure partial updates do not invalidate the current stake state.
  • Evaluate if this should be part of pocketd tx supplier stake-supplier or if it should be in a new pocketd tx supplier update-supplier command`

Non-goals / Non-deliverables

  • No changes to protocol-level staking logic.
  • No changes to unstake or claim behavior.

Creator: @olshansky
Co-owners: @bryanchriswhite @jorgecuesta

Metadata

Metadata

Assignees

No one assigned

    Labels

    supplierChanges related to the Supplier actor

    Projects

    Status

    🔖 Ready

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions