Skip to content

Commit

Permalink
Merge pull request #441 from aeternity/update_contract_call_fee
Browse files Browse the repository at this point in the history
Update consensus.md with FATE contract call cost
  • Loading branch information
hanssv authored Nov 13, 2019
2 parents 9ed9767 + eed26eb commit 2bf9172
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion consensus/consensus.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ The gas of a transaction is the sum of:
| Channel force progress | `BaseGas` before Fortuna and `30 * BaseGas` from Fortuna on | Proportional to the byte size of the transaction, specifically: `byte_size(ChannelForceProgressTx) * GasPerByte`. It may also include gas for contract execution. |
| Channel offchain | 0 | 0 |
| Contract create | `5 * BaseGas` | Proportional to the byte size of the transaction, specifically: `byte_size(ContractCreateTx) * GasPerByte`. It also includes gas for contract execution. |
| Contract call | `30 * BaseGas` | Proportional to the byte size of the transaction, specifically: `byte_size(ContractCallTx) * GasPerByte`. It also includes gas for contract execution. |
| Contract call (FATE) | `12 * BaseGas` | Proportional to the byte size of the transaction, specifically: `byte_size(ContractCallTx) * GasPerByte`. It also includes gas for contract execution. |
| Contract call (AEVM) | `30 * BaseGas` | Proportional to the byte size of the transaction, specifically: `byte_size(ContractCallTx) * GasPerByte`. It also includes gas for contract execution. |
| GA Attach | `5 * BaseGas` | Proportional to the byte size of the transaction, specifically: `byte_size(GAAttachTx) * GasPerByte`. It also includes gas for execution of the init function. |
| GA Meta | `5 * BaseGas` | Proportional to the byte size of the transaction, specifically: `byte_size(GAMetaTx) * GasPerByte`. It also includes gas for execution of the authentication function + recursively gas corresponding to the wrapped transaction(s) (excluding the byte size portion - in order not to account for the size of wrapped transactions multiple times). |

Expand Down

0 comments on commit 2bf9172

Please sign in to comment.