-
Notifications
You must be signed in to change notification settings - Fork 189
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
blockchain/vm: bn256 gas cost change (eip1108) #987
blockchain/vm: bn256 gas cost change (eip1108) #987
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM .
I think you can make some unit test for checking used gas. @yoomee1313
1a921ad
@KimKyungup |
1a921ad
to
121ea5d
Compare
@KimKyungup @ehnuje please take a look when you have a time |
@yoomee1313 Let's merge this PR. |
Proposed changes
core/vm/contracts.go
andparams/protocol_params.go
are referenced.computationCost
concept, so bn256 computationCost need to be revised too. However, eip1108's purpose is to reflect the performance improvement by adopting cloudflare library, but klaytn already have this library beforecomputationCost
concept is introduced. So, computationCost is not revised at here.Types of changes
Please put an x in the boxes related to your change.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
$ make test
)Related issues
Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...