Skip to content

Commit 86125ac

Browse files
committed
Fix format & remove dumplcate
1 parent ae8c335 commit 86125ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/ADR/0010_qfpolkavm_pallet_execute.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,9 @@ execute(origin, contract_address, data, gas_limit, storage_deposit_limit, gas_pr
5050
- `origin` is a caller address,
5151
- `contract_address` is an address of stored on-chain contract,
5252
- `data` is encoded structures [_maybe_ SCALE encoded] passed to the contract's context and available via host function call,
53-
- `gas_limit` is a limit of the gas for executing of the contract behind contract_address,
53+
- `gas_limit` [Weight](https://docs.rs/sp-weights/31.1.0/sp_weights/struct.Weight.html) is a limit of the gas for execution of the contract behind `contract_address`-- [implementation reference](https://docs.rs/pallet-revive/latest/src/pallet_revive/lib.rs.html#727),
5454
- `storage_deposit_limit` is a limit of how many storage space could be used for storing data during contract execution, if out of this limit, then transaction fail with Out of Storage limit error message and no data stored. Thing about this case: we have a huge `gas_limit` and trying to save inside a contract, by mistaken, a huge blob of data. This argument is not implemented, it's for the future. Unit: bytes per a storage slot.
5555
- `data` is [SCALE] encoded bytes passed to the contract's context and available via host function call,
56-
- `gas_limit` [Weight](https://docs.rs/sp-weights/31.1.0/sp_weights/struct.Weight.html) is a limit of the gas for execution of the contract behind `contract_address`-- [implementation reference](https://docs.rs/pallet-revive/latest/src/pallet_revive/lib.rs.html#727),
5756
- `storage_deposit_limit` is a maximum amount of balance that can be charged from the caller to pay for the storage consumed during contract execution. If this limit is exceeded, then transaction fails with `Out of Storage limit` error message and no data stored. Thing about this case: we have a huge `gas_limit` and trying to save inside a contract, by mistaken, a huge blob of data. This argument is not implemented, it's for the future. Unit: balance.
5857
- `gas_price` is a price of the gas for auction; this argument is not implemented, it's for the future.
5958

0 commit comments

Comments
 (0)