Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

[Reverted TX related] Transactions will execute successfully when actual_fee > max_fee and will charge max_fee #862

Closed
@xqft

Description

@xqft

Right now a transaction will not fail its execution when its fee exceeds the max_fee set by the user, and will charge this max_fee if the tx is of version > 0.

We'll need to charge max_fee before failing, and apply revert logic instead of making the function return an error.

Thanks to Fabijan from ShardLabs for reporting this!

This problem will be solved within different PRs:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions