Skip to content

[e2e/load] consolidateFunds fails due to insufficient funds #2023

@RodrigoVillar

Description

@RodrigoVillar

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:

unitPrices, err := cli.UnitPrices(ctx, false)

which we use to compute the fee that each transfer back to the original funder will use:

fee, err := fees.MulSum(units, unitPrices)

The amount we send to the original funder is determined as follows:

hypersdk/tests/e2e/e2e.go

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions