-
Notifications
You must be signed in to change notification settings - Fork 602
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
fix(e2e): fix e2e test for consensus min gas fee #4244 #4317
fix(e2e): fix e2e test for consensus min gas fee #4244 #4317
Conversation
@@ -57,7 +58,8 @@ account_prefix = 'osmo' | |||
key_name = 'val01-osmosis-b' | |||
store_prefix = 'ibc' | |||
max_gas = 6000000 | |||
gas_price = { price = 0.000, denom = 'uosmo' } | |||
default_gas = 400000 |
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.
Why are we putting default gas? Won't we get out of gas errors routinely?
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.
AFAIU, this is what the relayer assumes for calculating fees when estimation fails ref: informalsystems/hermes#1457
We use the value of 40k in the tx arguments as well so I just reused it.
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.
Btw, the only remaining problem is the geometric twap failing for reasons I cannot currently explain. Please let me know if something immediately comes to mind as the solution.
I'm going to keep investigating in the meantime
* Refactor tests a bit * Add consensus min gas fee * Fix tests * Delete more crud * Cleanup more duplicate test cases * flip isCheckTx sign * One more test needed * Run invalid fee denom test across both check & deliver * Remove extra line * Add hack to get around txfee problem in ibctesting * Handle genesis * Minor code cleanup * tryfix simulation * Fix for legacy simulator * Update x/txfees/keeper/feedecorator_test.go Co-authored-by: Matt, Park <[email protected]> * Apply matt comments * See what happens by adding fees * Add genesis logic update * Try fixing e2e * Add some better logging to find error * remove stat, fix typo * fix(e2e): fix e2e test for consensus min gas fee #4244 (#4317) * chore(e2e): update init image on main for #4244 * changes * fix more problems * more fixes * lint * twap gebug logs * arithmetic fix * skip twap test * link issue * Temp disable geo twap E2E --------- Co-authored-by: Matt, Park <[email protected]> Co-authored-by: Roman <[email protected]>
* Refactor tests a bit * Add consensus min gas fee * Fix tests * Delete more crud * Cleanup more duplicate test cases * flip isCheckTx sign * One more test needed * Run invalid fee denom test across both check & deliver * Remove extra line * Add hack to get around txfee problem in ibctesting * Handle genesis * Minor code cleanup * tryfix simulation * Fix for legacy simulator * Update x/txfees/keeper/feedecorator_test.go Co-authored-by: Matt, Park <[email protected]> * Apply matt comments * See what happens by adding fees * Add genesis logic update * Try fixing e2e * Add some better logging to find error * remove stat, fix typo * fix(e2e): fix e2e test for consensus min gas fee #4244 (#4317) * chore(e2e): update init image on main for #4244 * changes * fix more problems * more fixes * lint * twap gebug logs * arithmetic fix * skip twap test * link issue * Temp disable geo twap E2E --------- Co-authored-by: Matt, Park <[email protected]> Co-authored-by: Roman <[email protected]> (cherry picked from commit 05fda4d)
* Refactor tests a bit * Add consensus min gas fee * Fix tests * Delete more crud * Cleanup more duplicate test cases * flip isCheckTx sign * One more test needed * Run invalid fee denom test across both check & deliver * Remove extra line * Add hack to get around txfee problem in ibctesting * Handle genesis * Minor code cleanup * tryfix simulation * Fix for legacy simulator * Update x/txfees/keeper/feedecorator_test.go Co-authored-by: Matt, Park <[email protected]> * Apply matt comments * See what happens by adding fees * Add genesis logic update * Try fixing e2e * Add some better logging to find error * remove stat, fix typo * fix(e2e): fix e2e test for consensus min gas fee #4244 (#4317) * chore(e2e): update init image on main for #4244 * changes * fix more problems * more fixes * lint * twap gebug logs * arithmetic fix * skip twap test * link issue * Temp disable geo twap E2E --------- Co-authored-by: Matt, Park <[email protected]> Co-authored-by: Roman <[email protected]> (cherry picked from commit 05fda4d) Co-authored-by: Dev Ojha <[email protected]>
* Refactor tests a bit * Add consensus min gas fee * Fix tests * Delete more crud * Cleanup more duplicate test cases * flip isCheckTx sign * One more test needed * Run invalid fee denom test across both check & deliver * Remove extra line * Add hack to get around txfee problem in ibctesting * Handle genesis * Minor code cleanup * tryfix simulation * Fix for legacy simulator * Update x/txfees/keeper/feedecorator_test.go Co-authored-by: Matt, Park <[email protected]> * Apply matt comments * See what happens by adding fees * Add genesis logic update * Try fixing e2e * Add some better logging to find error * remove stat, fix typo * fix(e2e): fix e2e test for consensus min gas fee #4244 (#4317) * chore(e2e): update init image on main for #4244 * changes * fix more problems * more fixes * lint * twap gebug logs * arithmetic fix * skip twap test * link issue * Temp disable geo twap E2E --------- Co-authored-by: Matt, Park <[email protected]> Co-authored-by: Roman <[email protected]>
* Refactor tests a bit * Add consensus min gas fee * Fix tests * Delete more crud * Cleanup more duplicate test cases * flip isCheckTx sign * One more test needed * Run invalid fee denom test across both check & deliver * Remove extra line * Add hack to get around txfee problem in ibctesting * Handle genesis * Minor code cleanup * tryfix simulation * Fix for legacy simulator * Update x/txfees/keeper/feedecorator_test.go Co-authored-by: Matt, Park <[email protected]> * Apply matt comments * See what happens by adding fees * Add genesis logic update * Try fixing e2e * Add some better logging to find error * remove stat, fix typo * fix(e2e): fix e2e test for consensus min gas fee #4244 (#4317) * chore(e2e): update init image on main for #4244 * changes * fix more problems * more fixes * lint * twap gebug logs * arithmetic fix * skip twap test * link issue * Temp disable geo twap E2E --------- Co-authored-by: Matt, Park <[email protected]> Co-authored-by: Roman <[email protected]>
Closes: #XXX
This relates to #4244
SendIBC
to exclude fee token from the balance check