-
Couldn't load subscription status.
- Fork 127
Description
Currently, there is a flake when running the gradual load workload test in the e2e tests: https://github.com/ava-labs/hypersdk/actions/runs/14382901714/job/40330980490?pr=2004#step:4:1595
We get the current network unit prices here:
Line 548 in 3db59d2
| unitPrices, err := cli.UnitPrices(ctx, false) |
which we use to compute the fee that each transfer back to the original funder will use:
Line 565 in 3db59d2
| fee, err := fees.MulSum(units, unitPrices) |
The amount we send to the original funder is determined as follows:
Lines 584 to 585 in 3db59d2
| amount := balance - fee | |
| action := createTransfer(to.Address(), amount, nonce) |
However, it seems that the unitPrices that we queried are lower than the actual network fees due to the fact that we're getting an insufficient balance error.