Skip to content

Commit 5a80838

Browse files
update transaction fee
1 parent 8969b97 commit 5a80838

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/fees.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,12 @@ Reading the state of the chain is always free.
1717
Many extrinsics in Bittensor are subject to a flat **weight-based fee**. In Polkadot-based chains like Subtensor (Bittensor's layer 1 blockchain), [weight](https://docs.polkadot.com/polkadot-protocol/glossary/#weight) is a measure of compute time.
1818

1919
**Fee Details**:
20-
- **Current rate**: $\approx0.0013 \tau$
20+
- **Current rate**: $\approx0.00013 \tau$ (reduced from $\approx0.0013 \tau$)
2121
- **Payment source**: Sender's TAO free balance by default. For specific extrinsics, if TAO is insufficient to cover fees, the chain will charge fees in Alpha instead (see "Smart Fee Payments (Alpha Fallback)" below).
2222
- **Denomination**: TAO by default. When fees are paid in Alpha, the TAO fee amount is converted to Alpha using the current Alpha price (no slippage).
2323
- **Impact on liquidity**: Fees are *recycled* (deducted from `TotalIssuance`)
2424
See: [Recycling and Burning](./glossary#recycling-and-burning)
2525

26-
:::tip Planned reduction
27-
It is currently planned that the fee coefficient will be reduced to $0.005%$ (10x reduction).
28-
:::
2926

3027
### Staking Operations
3128
- [`add_stake`](https://github.com/opentensor/subtensor/blob/main/pallets/subtensor/src/macros/dispatches.rs#L591)
@@ -81,15 +78,15 @@ It is currently planned that the fee coefficient will be reduced to $0.005%$ (10
8178
fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {
8279
let coefficient = WeightToFeeCoefficient {
8380
coeff_integer: 0,
84-
coeff_frac: Perbill::from_parts(500_000), // 0.05%
81+
coeff_frac: Perbill::from_parts(50_000), // 0.005%
8582
negative: false,
8683
degree: 1,
8784
};
8885
smallvec!(coefficient)
8986
}
9087
}
9188
```
92-
**Source code reference:** [`runtime/src/lib.rs:448-463`](https://github.com/opentensor/subtensor/blob/main/runtime/src/lib.rs#L448-L463)
89+
**Source code reference:** [`pallets/transaction-fee/src/lib.rs:44-56`](https://github.com/opentensor/subtensor/blob/main/pallets/transaction-fee/src/lib.rs#L44-L56)
9390

9491
</details>
9592

0 commit comments

Comments
 (0)