Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

post_dispatch hook for SignedExtension #3227

Description

@xlc

Currently there is a pre_dispatch hook to do additional work before transaction is dispatched. It will be useful to have a post_dispatch hook to do additional work after transaction is successfully dispatched.
My use case is to implement a fees module that emit fees.Charged(Amount) event to notify how much transaction fee is been charged in this transaction. This have to be in post_dispatch because modules may charge additional fee (balances create account) or refund fee (contracts refund gas fee).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions