-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Open
Copy link
Labels
supplierChanges related to the Supplier actorChanges related to the Supplier actor
Milestone
Description
Objective
Make it easy to query a specific list of suppliers by owner or operator via pocketd
Origin Document
There are MANY suppliers onchain with LOTS of configs require a lot of pagination overhead when doing pocketd query supplier list-suppliers
kubectx config use-context <k8s_cluster>
kubectl port-forward pods/<full_node> 26658:26657 9091:9090 -n mainnet
pocketd query supplier list-suppliers --node=http://localhost:26658 --dehydrated --page-limit=100000000000 >> /tmp/suppliersGoals
- Enable easily querying a specific list of owner/operator addresses
- Avoid pagination complexity
Deliverables
- Add an optional
--owner-addressflag topocketd query supplier list-suppliersto provide a comma separated list of addresses - Add an optional
--operator-addressflag topocketd query supplier list-suppliersto provide a comma separated list of addresses - Implement support for both of the above in
x/supplier/keeper/query_supplier.goor related sections - Add unit, integration, localnet, ..., tests to validate this
Metadata
Metadata
Assignees
Labels
supplierChanges related to the Supplier actorChanges related to the Supplier actor
Type
Projects
Status
🔖 Ready