Rewrite simulation test to use estimate_tx_fees
#2208
Labels
O: tests
Objective: Test more aspect of the relayer
estimate_tx_fees
#2208
Summary
The manual test
test_simulation
should be rewritten into an automated test that callsestimate_tx_fees
to assert the expected outcome.Problem Definition
The original
test_simulation
was written as a manual test, as there was no easy way to capture the log output in tests.With #2044 merged, we can test the behavior by calling functions such as
estimate_tx_fees
orsend_tx_simulate
directly. This will allow us to parse the result of the simulation directly, instead of observing it manually from the logs.Other than that, we noticed that the logs when running the simulation test in Gaia v6 and v7 are different from the original expected behavior in Gaia v5. This should be investigated further, and tested in the new simulation test.
The error shown on Gaia v6 looks like:
For Admin Use
The text was updated successfully, but these errors were encountered: