Skip to content

Commit

Permalink
Remove note about not using weights v2 (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
andabak committed Oct 19, 2023
1 parent dfd4077 commit f8c43ca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/build/wasm/transaction-fees.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ As is also the case with Substrate, `pallet-contracts` uses [weightV2][weight] t
Gas = Weight = (refTime, proofSize)
:::

Note: Currently Astar only charge for refTime (execution time). ProofSize is a threshold (with a max value epr block) to prevents form PoV attack.

[Transaction Weight in Substrate Documentation][weight]

## Storage Rent
Expand Down Expand Up @@ -151,4 +149,4 @@ The caller will get balance repatriated (and not the user that was first charged

It will not have rent fees because it will not store new data on-chain (only updating value).

[weight]: https://docs.substrate.io/reference/how-to-guides/weights/
[weight]: https://docs.substrate.io/reference/how-to-guides/weights/

0 comments on commit f8c43ca

Please sign in to comment.