Skip to content
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

Convert e2e tmpnet #1249

Merged
merged 51 commits into from
Aug 13, 2024
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
c40ddf5
Remove TokenVM
aaronbuchwald Jul 22, 2024
7095be0
Remove tokenvm from CI/scripts/README
aaronbuchwald Jul 22, 2024
7bca597
Start e2e test refactor with workload logic decoupled from test decla…
aaronbuchwald Jul 22, 2024
cfea536
Move sync test w/ TODOs into e2e
aaronbuchwald Jul 24, 2024
809053b
fix lint
aaronbuchwald Jul 24, 2024
f45adce
Add GenerateNBlocks helper
aaronbuchwald Jul 24, 2024
0ebbf5b
fix lint
aaronbuchwald Jul 24, 2024
05dfb9c
fix count dec instead of inc
aaronbuchwald Jul 25, 2024
a8838d3
Re-add state sync
aaronbuchwald Jul 25, 2024
0a0b43e
fmt
aaronbuchwald Jul 25, 2024
fada80c
Mark sync tests as pending
aaronbuchwald Jul 25, 2024
7ed84e0
fix lint
aaronbuchwald Jul 25, 2024
97a28c4
Fix VMConfigPath -> VMConfig
aaronbuchwald Jul 25, 2024
d2d4eea
Add GenerateUntilCancel to handle concurrent sync + broadcast test case
aaronbuchwald Jul 26, 2024
a921cf0
remove single line stop script
aaronbuchwald Jul 26, 2024
7c40180
fix shellcheck
aaronbuchwald Jul 26, 2024
9bbef65
Skip syncing test
aaronbuchwald Jul 26, 2024
51de41e
Allow errors during broadcast txs while syncing
aaronbuchwald Jul 26, 2024
8795540
fix lint
aaronbuchwald Jul 26, 2024
f02817c
move sync test back to separate job with higher timeout
aaronbuchwald Jul 28, 2024
edd119c
fix gh action yml
aaronbuchwald Jul 28, 2024
03fa1af
cleanup
aaronbuchwald Jul 28, 2024
57a9b4e
Add passthrough args + ginkgo focus ping on mode=run
aaronbuchwald Jul 28, 2024
712f91f
fix lint
aaronbuchwald Jul 28, 2024
3f5aa22
fix unbound bash var
aaronbuchwald Jul 28, 2024
feb0c68
Rename map util combinators
aaronbuchwald Jul 29, 2024
84b1853
Merge branch 'main' into start-e2e-test-refactor
aaronbuchwald Jul 29, 2024
7bf3ef3
Merge branch 'main' into start-e2e-test-refactor
aaronbuchwald Jul 31, 2024
78505f6
Refactor e2e tests to use tmpnet
aaronbuchwald Jul 31, 2024
e4f27bd
Address nits
aaronbuchwald Aug 1, 2024
a8f3216
Update workload factory interface
aaronbuchwald Aug 2, 2024
58b6987
Remove unnecessary ctx w/ timeout
aaronbuchwald Aug 2, 2024
54c60f7
Replace describe with it
aaronbuchwald Aug 2, 2024
6a4e3ee
Merge branch 'start-e2e-test-refactor' into convert-e2e-tmpnet
aaronbuchwald Aug 2, 2024
2007094
Merge branch 'main' into convert-e2e-tmpnet
aaronbuchwald Aug 5, 2024
50f8e1a
fix merge
aaronbuchwald Aug 5, 2024
f78f838
Update describe/it
aaronbuchwald Aug 5, 2024
28b3596
add explicit longer context timeout than default (#1251)
iFrostizz Aug 5, 2024
029c797
adjust timeout, balance, fees (#1262)
iFrostizz Aug 8, 2024
dd3e830
defer cancel in state sync while broadcasting txs
aaronbuchwald Aug 8, 2024
8e033d1
Update action timeout
aaronbuchwald Aug 8, 2024
4e01e9b
bump ago to tmpnet fix for subnet config
aaronbuchwald Aug 12, 2024
3436987
Update e2e tests timeout back to 25m
aaronbuchwald Aug 12, 2024
829bc1f
Update ago version to match go mod
aaronbuchwald Aug 12, 2024
4e48c57
Merge branch 'main' into convert-e2e-tmpnet
aaronbuchwald Aug 12, 2024
617d70c
fix stop script
aaronbuchwald Aug 13, 2024
69c56de
Move entrypoint to morpheusvm test file
aaronbuchwald Aug 13, 2024
bd3dbe0
Merge branch 'main' into convert-e2e-tmpnet
aaronbuchwald Aug 13, 2024
d133298
fix lint
aaronbuchwald Aug 13, 2024
a4ad301
bump to ago commit on master
aaronbuchwald Aug 13, 2024
479b2e9
Add comments to WindowTargetUnits and MaxBlockUnits values in genesis…
aaronbuchwald Aug 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions examples/morpheusvm/tests/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"context"
"encoding/json"
"fmt"
"math"
"testing"

"github.com/ava-labs/avalanchego/ids"
Expand Down Expand Up @@ -60,8 +61,11 @@ func init() {
factory = auth.NewED25519Factory(priv)

gen := genesis.Default()
gen.WindowTargetUnits = fees.Dimensions{18446744073709551615, 18446744073709551615, 18446744073709551615, 18446744073709551615, 18446744073709551615}
gen.MaxBlockUnits = fees.Dimensions{1800000, 18446744073709551615, 18446744073709551615, 18446744073709551615, 18446744073709551615}
// Set WindowTargetUnits to MaxUint64 for all dimensions to iterate full mempool during block building.
gen.WindowTargetUnits = fees.Dimensions{math.MaxUint64, math.MaxUint64, math.MaxUint64, math.MaxUint64, math.MaxUint64}
// Set all lmiits to MaxUint64 to avoid limiting block size for all dimensions except bandwidth. Must limit bandwidth to avoid building
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: typo on limits

// a block that exceeds the maximum size allowed by AvalancheGo.
gen.MaxBlockUnits = fees.Dimensions{1800000, math.MaxUint64, math.MaxUint64, math.MaxUint64, math.MaxUint64}
gen.MinBlockGap = 100
gen.CustomAllocation = []*genesis.CustomAllocation{
{
Expand Down
Loading