Governance Params Management

# Check transaction status
pocketd query tx --type=hash <TRANSACTION_HASH> --network=beta

# Verify updated parameters
./tools/scripts/params/gov_params.sh query tokenomics --env beta

Step 6: Update and Merge Pull Request

Get your PR approved.

Please ensure you have an approval on the PR from one of the repository maintainers.

In order to keep the repository up to date with the current onchain parameters, please comment on the pull request with the transaction hash and merge the pull request opened in Step 1: Open a Pull Request: https://dev.poktroll.com/protocol/governance/gov_params_mgmt#step-1-open-a-pull-request

Troubleshooting

Common Issues

Module Not Found
❌ Failed to query parameters for module 'unknown_module'

Check available modules list with:

./tools/scripts/params/gov_params.sh help
Authority Mismatch
Error: unauthorized: invalid authority

Verify authority address matches environment configuration.

Network Connection

Check network connectivity and node endpoint.

Invalid JSON Format

Validate JSON syntax before submission.

Common Use Cases & Examples

Updating Minimum Supplier Stake

View All Parameters

Check all parameters in beta:

Complete Tokenomics Update Example

1

Query current state

2

Generate template

3

Edit the generated file

For example:

4

Submit transaction

5

Verify changes

Was this helpful?