Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let contract operations report direct gas charges as fees for mod-service record construction #9663

Closed
tinker-michaelj opened this issue Nov 3, 2023 · 0 comments · Fixed by #9774
Assignees

Comments

@tinker-michaelj
Copy link
Collaborator

Problem

We need to include the direct gas charges assessed by contract operations (unchanged for mono-service compatibility) in the transactionFee field in mod-service.

Solution

Add a HandleContext#includeDirectFeePayment(long) method, and call it at the end of a contract operation's handle() once the net gas cost (upfront cost minus any refund) is known.

Alternatives

No response

@github-project-automation github-project-automation bot moved this to 📋 Backlog in Services Team Nov 3, 2023
@tinker-michaelj tinker-michaelj moved this from 📋 Backlog to 🏃🏻 Sprint Backlog in Services Team Nov 3, 2023
@tinker-michaelj tinker-michaelj self-assigned this Nov 6, 2023
@tinker-michaelj tinker-michaelj moved this from 🏃🏻 Sprint Backlog to 👷🏼‍♀️ In Progress in Services Team Nov 6, 2023
@github-project-automation github-project-automation bot moved this from 👷🏼‍♀️ In Progress to ✅ Done in Services Team Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
1 participant