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

eSpace get_transactionReceipt add field gasFee to avoid complex calculate #2926

Closed
Pana opened this issue Oct 17, 2024 · 0 comments · Fixed by #2977
Closed

eSpace get_transactionReceipt add field gasFee to avoid complex calculate #2926

Pana opened this issue Oct 17, 2024 · 0 comments · Fixed by #2977
Labels

Comments

@Pana
Copy link
Member

Pana commented Oct 17, 2024

Currently the eSpace tx gas fee is not easy to get, developer need cal it as gasPrice * max(gasUsed, gasLimit * 3 / 4).
Recommend directly return a gasFee field as core space, so user needn't cal it by themself

@Pana Pana added the RPC label Oct 17, 2024
wangdayong228 added a commit that referenced this issue Dec 9, 2024
feat: support gasFee for espace transaction receipt related RPC, resolves #2926
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant