-
Notifications
You must be signed in to change notification settings - Fork 619
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
feat: update gas price #3028
feat: update gas price #3028
Conversation
@vgrichina @kcole16 applayer needs to change access key allowance to 2 NEAR with this change. |
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.
Lets use constants differently. Instead of saying:
MIN_GAS_PRICE_V31
-> sayNEP_92_MIN_GAS_PRICE
31
-> sayNEP_92_MIN_PROTOCOL_VERSION
This way we don't imply the gas price should go on version 31
. In the future we should be able to batch multiple NEP changes into one protocol version.
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.
I don't have enough context to review the implications of this change, so I only glanced the code over.
I made a typo in #3028 and updated gas price to 1B yotcoNEAR instead of 100M yotcoNEAR. Test plan --------- `upgradable.py`
Update gas price to 1_000_000_000 according to near/NEPs#92.
Test plan
upgradable.py
with transactions.