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

Use real non-syscall weight for gtest #4085

Closed
breathx opened this issue Jul 24, 2024 · 0 comments · Fixed by #4088
Closed

Use real non-syscall weight for gtest #4085

breathx opened this issue Jul 24, 2024 · 0 comments · Fixed by #4088
Assignees
Labels
C1-feature Feature request

Comments

@breathx
Copy link
Member

breathx commented Jul 24, 2024

Problem to Solve

Initially, gtest has been charging some random consts. At some point, real costs has been applied, but final gas costs still doesnt match since something like grow/db_rw costs are unreal.

Possible Solution

Dump used in runtime costs in gtest to force calculations consume +- the same gas as onchain

Notes

refs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C1-feature Feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants