Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add column for governance modifiable params in resource_pricing #2974

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
rootulp marked this conversation as resolved.
Show resolved Hide resolved
| 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
Loading