Skip to content

[AA][tx-checks] Harmonize check_transaction_input and check_transaction_input_with_given_gas #8848

@miker83z

Description

@miker83z

In these functions there's a comment which says MoveAuthenticator computation cost is not used here at the moment. This because:

  • the IotaGasStatus returned by the two functions is not used
  • OR it is used, but in a DryRun/DevInspect tx

Add parameter authenticator_computation_cost: u64 to both function and:

  • set it to 0 in the callers that use no authenticate
  • use the validation_result in iota-core::authority::handle_transaction_impl()

Metadata

Metadata

Assignees

Labels

vm-languageIssues related to the VM & Language Team

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions