Skip to content

Commit

Permalink
docs: add column for governance modifiable params in resource_pricing (
Browse files Browse the repository at this point in the history
…#2974)

## Overview
Addresses #2966 by using the governance modifiable params tests in PR
#2973.
All four of the params are modifiable by governance, which matches the
specs in
[params.md](https://github.com/celestiaorg/celestia-app/blob/main/specs/src/specs/params.md).

## Checklist
- [x] New and updated code has appropriate documentation
- [x] New and updated code has new and/or updated testing
- [x] Required CI checks are passing
- [x] Visual proof for any user facing features like CLI or
documentation updates
- [ ] Linked issues closed with keywords
  • Loading branch information
fahimahmedx authored Jan 2, 2024
1 parent 6ca0730 commit 95496d9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions specs/src/specs/resource_pricing.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,15 @@ updated.

## Parameters

There are three parameters that can be modified via governance to modify gas
There are four parameters that can be modified via governance to modify gas
usage.

| Parameter | Default Value | Description |
|-----------------|---------------|-----------------------------------------|
| consensus/max_gas | -1 | The maximum gas allowed in a block. Default of -1 means this value is not capped. |
| auth/tx_size_cost_per_byte | 10 | Gas used per each byte used by the transaction. |
| auth/sig_verify_cost_secp256k1 | 1000 | Gas used per verifying a secp256k1 signature |
| blob/gas_per_blob_byte | 8 | Gas used per byte used by blob. Note that this value is applied to all encoding overhead, meaning things like the padding of the remaining share and namespace. See PFB gas estimation section for more details. |
| Parameter | Default Value | Description | Changeable via Governance |
|-----------------|---------------|-----------------------------------------|---------------------------|
| consensus/max_gas | -1 | The maximum gas allowed in a block. Default of -1 means this value is not capped. | True |
| auth/tx_size_cost_per_byte | 10 | Gas used per each byte used by the transaction. | True |
| auth/sig_verify_cost_secp256k1 | 1000 | Gas used per verifying a secp256k1 signature | True |
| blob/gas_per_blob_byte | 8 | Gas used per byte used by blob. Note that this value is applied to all encoding overhead, meaning things like the padding of the remaining share and namespace. See PFB gas estimation section for more details. | True |

## Gas Limit

Expand Down

0 comments on commit 95496d9

Please sign in to comment.