-
Notifications
You must be signed in to change notification settings - Fork 16
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
unbreak paratime withdraw #228
Conversation
a91caaf
to
e0c9819
Compare
tried on testnet and the balances seem roughly right, but oasisscan isn't indexing the transactions |
e0c9819
to
5b3e398
Compare
reduced paratime withdraw/deposit gas to 15k (from 50k) added changelog |
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.
This should do. One suggestion though: add a popup that says "submit this transaction anyway" instead of forcing people to accept the local sanity check. That local check introduces a huge dependency on Oasisscan (or other indexer) and prevents people from moving their funds.
filed #233 for the "submit anyway" idea, thanks for the suggestion |
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.
Great job on deciphering all those small gas/fee units and correcting the computations!
One nit. Would it be possible to remove the separate "add changelog" commit and add each Change Log bullet to the commit that fixes it?
ya sure |
The fee entry UI specifically deals with nano (1e-9) units, not base units. In paratimes that have decimals != 9, this produced the wrong gas amount.
The fee amount is the total fee. We shouldn't multiply it by the gas.
oh some of the later commits don't even have changelog entries. I'll add those too |
An upcoming change to Emerald will require a minimum gas price.
An estimate from the SDK CLI indicated that it was ~11287 gas.
abde87e
to
2691cf2
Compare
proposed upcoming changes to Emerald will require a minimum gas price, which will make zero-fee withdrawal stop working
this is a minimal patch to use a hardcoded value for a withdrawal fee (that being the only non-deposit paratime transaction supported). we're interested in querying the minimum gas price in a larger change #227
reviewers, be on your guard. I don't know if I'm right about these changes