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

rpcdaemon: fix debug/trace API family gas cost step 2 #2172

Merged
merged 5 commits into from
Jul 18, 2024

Conversation

Sixtysixter
Copy link
Contributor

Fix for gas cost in debug_trace API family

@canepat canepat marked this pull request as ready for review July 12, 2024 07:57
@canepat canepat marked this pull request as draft July 12, 2024 07:57
@Sixtysixter Sixtysixter force-pushed the fix/debug_trace_api_family_gas_cost_2 branch from e68c161 to 3077a58 Compare July 17, 2024 08:10
@Sixtysixter Sixtysixter force-pushed the fix/debug_trace_api_family_gas_cost_2 branch from c81d85a to fee1778 Compare July 17, 2024 15:32
@Sixtysixter Sixtysixter marked this pull request as ready for review July 17, 2024 15:41
@canepat canepat self-requested a review July 18, 2024 12:58
@canepat canepat added the maintenance Some maintenance work (fix, refactor, rename, test...) label Jul 18, 2024
@@ -75,6 +75,7 @@ struct CallFixes {
int64_t stipend{0};
int16_t code_cost{0};
int64_t gas_cost{0};
bool precompiled{false};
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CallFixes is a little bit weird, I suggest renaming it as CallGasRepair. Also, repair_call_gas_accounting is probably better than evaluate_call_fixes.

You can do it in next PR

@canepat canepat merged commit 9e15853 into master Jul 18, 2024
5 checks passed
@canepat canepat deleted the fix/debug_trace_api_family_gas_cost_2 branch July 18, 2024 12:58
@canepat canepat mentioned this pull request Aug 11, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Some maintenance work (fix, refactor, rename, test...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants