Skip to content

Commit

Permalink
Merge branch 'Voxelot/intrinsic-costs' of https://github.com/FuelLabs…
Browse files Browse the repository at this point in the history
…/fuel-specs into Voxelot/intrinsic-costs
  • Loading branch information
bvrooman committed Dec 11, 2023
2 parents 40b9fc7 + 1d8e25e commit f911b3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/protocol/tx-validity.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def transaction_size_gas_fees(tx) -> int:
"""
Computes the intrinsic gas cost of a transaction based on size in bytes
"""
size(tx) * GAS_PER_BYTE
return size(tx) * GAS_PER_BYTE


def minted(tx, asset_id) -> int:
Expand All @@ -141,7 +141,7 @@ def input_gas_fees(tx) -> int:
Computes the intrinsic gas cost of verifying input utxos
"""
total: int = 0
witness_indices = set(())
witness_indices = set()
for input in tx.inputs:
if input.type == InputType.Coin or input.type == InputType.Message:
# add fees allocated for predicate execution
Expand Down

0 comments on commit f911b3d

Please sign in to comment.