-
Notifications
You must be signed in to change notification settings - Fork 75
feat: gaslimits in api #1200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers 8000 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: gaslimits in api #1200
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.
please calculate gas limit with +20% overcharge for safe execution.
blockchain/gasLimits.go
Outdated
package blockchain | ||
|
||
const ( | ||
transferGaslimit = 50000 |
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.
too few, mb 70k
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.
limit
need to be uppercase
blockchain/gasLimits.go
Outdated
increaseApprovalGasLimit = 60000 | ||
decreaseApprovalGasLimit = 60000 | ||
approveGasLimit = 60000 | ||
placeOrderGasLimit = 550000 |
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.
too few
blockchain/gasLimits.go
Outdated
billGasLimit = 300000 | ||
createChangeRequestGasLimit = 250000 | ||
cancelChangeRequestGasLimit = 150000 | ||
registerWorkerGasLimit = 100000 |
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.
too few
22b2d31
to
5744926
Compare
46dd519
to
acfa192
Compare
acfa192
to
bed49ca
Compare
No description provided.