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

add fullnode sync test #128

Closed
wants to merge 67 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
43b6d7a
add disconnection test
trinitys7 Apr 19, 2024
d32e65a
fix disconnection test
trinitys7 Apr 22, 2024
c270faf
merge main
trinitys7 Apr 22, 2024
9a23669
fix disconnection test
trinitys7 Apr 22, 2024
5000639
custom dymension epoch for faster disconnection
trinitys7 Apr 22, 2024
1ca51cd
remove previous epoch set
trinitys7 Apr 22, 2024
4f074e8
remove previous epoch set
trinitys7 Apr 22, 2024
1ed1ed0
use index to modify genesisKV
trinitys7 Apr 22, 2024
5f1d4b4
Merge branch 'main' into trinity/disconnection-test
trinitys7 Apr 23, 2024
9345dc3
add disconnection test for rollapp-wasm
trinitys7 Apr 23, 2024
36bf25f
use customDymensionConfig as a clone of dymensionConfig
trinitys7 Apr 23, 2024
044a3fc
remove relayer
trinitys7 Apr 23, 2024
ea89963
make customDymensionConfig separate with dymensionConfig
trinitys7 Apr 23, 2024
e1d97ec
use function that returns ibc.ChainConfig instead of init()
trinitys7 Apr 23, 2024
dceed60
add fullnode-sync test
trinitys7 Apr 23, 2024
81d77a5
merge main
trinitys7 Apr 23, 2024
c3b007b
change fullnode on wasm test to 1
trinitys7 Apr 23, 2024
01b860d
refactor test
trinitys7 Apr 24, 2024
05a6aab
[PFM] E2E test for transfer from gaia to rollapp (#117)
ThanhNhann Apr 24, 2024
8a28586
3rd party demand orders tests (#125)
lacsomot Apr 24, 2024
218259b
chore!: Bump relayer version (#129)
anhductn2001 Apr 25, 2024
8091ed3
Check packet commitments on ibc grace period ends (#123)
lacsomot Apr 25, 2024
750f95c
Refactor create channel (#132)
lacsomot Apr 25, 2024
75920c8
Remove Claims module (#137)
anhductn2001 Apr 25, 2024
1f943af
Test delayed ack relayer down (#134)
lacsomot Apr 26, 2024
4cdfa79
[pfm] `e2e for rollapp1 to rollapp2 with register erc20` (#124)
ThanhNhann May 2, 2024
9b8f72f
Optimize time run (#141)
anhductn2001 May 6, 2024
ea487c2
Add reusable workflow for each Rollapp type (#144)
anhductn2001 May 6, 2024
bee4330
[eibc] E2E for TestEIBCNotFulfillment (#127)
ThanhNhann May 6, 2024
52024e9
[Feat]: E2E test for finalize block (#83)
ThanhNhann May 6, 2024
5a18928
Update delayedack.md (#140)
lacsomot May 7, 2024
31d24b8
[PFM] e2e for rollapp1 to rollapp2 without register erc20 (#145)
ThanhNhann May 8, 2024
46f5c8d
[Fix] fix test `TestIBCPFM_RollApp1ToRollApp2WithErc20` (#147)
ThanhNhann May 8, 2024
a9c774d
Feat: Add test demand order fulfillment in 2 different rollapps (#126)
hoangdv2429 May 8, 2024
ea03315
chore: Update tests to workflows (#149)
anhductn2001 May 8, 2024
381172d
Eibc invariant (#143)
lacsomot May 10, 2024
bec778b
feat(eibc): ibc transfer from hub to rollapp should not have demand o…
hoangdv2429 May 10, 2024
36b60dc
Rollapp invariants test (#148)
lacsomot May 10, 2024
ff46f60
Add TestSequencerInvariant and CI (#151)
lacsomot May 10, 2024
50cb0a8
Chore(spec): update test spec to reflect main branch (#150)
hoangdv2429 May 13, 2024
7c17a62
Upgrade rollapp non state breaking (#153)
trinitys7 May 13, 2024
8d83327
feat: eibc fulfillment on one rollapp and no fulfill on the other (#131)
hoangdv2429 May 13, 2024
c6e6ba4
[eibc] E2E testing for timeout and fulfilled (#130)
ThanhNhann May 13, 2024
d39e866
[Erc20] transfer from hub to rollapp without register (#154)
ThanhNhann May 15, 2024
3589267
docs: add missing specs in readme (#172)
trinitys7 May 15, 2024
6ca12e6
feat!: get all the test cases and add them to the CI matrix (#152)
anhductn2001 May 15, 2024
f7efdce
rollapp-genesis: ibc transfer rollapp to hub when only rollapp side g…
ThanhNhann May 16, 2024
13a6025
changed tests priority in the spec
omritoptix May 16, 2024
b047930
[rollapp-genesis] ibc transfer when only hub side gone through genesi…
ThanhNhann May 17, 2024
05a22e7
Test: Hub Upgrade (#16)
anhductn2001 May 17, 2024
3ecc87f
tests: add eibc AckError test (#142)
trinitys7 May 17, 2024
c8bd78f
fix: unstable CI tests (#173)
ThanhNhann May 18, 2024
1d23511
rollapp upgrade: add test for upgrade which requires migration (#177)
anhductn2001 May 20, 2024
1395333
fix unstable eibc ack tests (#188)
trinitys7 May 20, 2024
6c479ef
test: rollapp-genesis ibc transfer from hub when only hub side gone t…
ThanhNhann May 21, 2024
a02596a
chore: update dymint and go-relayer (#197)
anhductn2001 May 22, 2024
5db3619
Feat(e2e): Add test for rollapp freeze non broken invariants (#195)
hoangdv2429 May 23, 2024
3f6a0b7
Feat: ibc packet rollback on rollapp freeze (#199)
hoangdv2429 May 23, 2024
652b1dd
test: transfer rollapp tokens between hub ↔ rollapp BEFORE rollapp ha…
ThanhNhann May 23, 2024
f9ba02f
[test]: test cases ibc and eibc transfer after hub upgrade (#198)
ThanhNhann May 23, 2024
990388e
merge main
hoangdv2429 May 29, 2024
ced3941
Merge branch 'main' into trinity/fullnode-sync
hoangdv2429 May 29, 2024
e6e91bf
minor waiting for new image
hoangdv2429 Jun 4, 2024
3e799d4
Merge branch 'main' into trinity/fullnode-sync
hoangdv2429 Jun 6, 2024
c4bbc13
WIP need to resolve go mod
hoangdv2429 Jun 12, 2024
455012d
done
hoangdv2429 Jun 13, 2024
c31c3bb
mod tidy
hoangdv2429 Jul 25, 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
1 change: 1 addition & 0 deletions .github/workflows/e2e-test-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,4 @@ jobs:
ROLLAPP_EVM_CI: ${{ inputs.rollapp_evm_ci }}
ROLLAPP_WASM_CI: ${{ inputs.rollapp_wasm_ci }}
RELAYER_CI: ${{ inputs.relayer_ci }}

2 changes: 1 addition & 1 deletion .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ jobs:
go-version: "1.21.4"

- name: Rollapp-Wasm E2E Tests
run: make e2e-test test=${{ matrix.test }}
run: make e2e-test test=${{ matrix.test }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tests/db/*
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ e2e-test-batch-finalization-evm: clean-e2e
e2e-test-disconnection-evm: clean-e2e
cd tests && go test -timeout=25m -race -v -run TestDisconnection_EVM .

e2e-test-fullnode-sync-evm: clean-e2e
cd tests && go test -timeout=25m -race -v -run TestFullnodeSync_EVM .

e2e-test-rollapp-freeze-evm: clean-e2e
cd tests && go test -timeout=25m -race -v -run TestRollAppFreeze_EVM .

Expand Down Expand Up @@ -194,6 +197,9 @@ e2e-test-batch-finalization-wasm:
e2e-test-disconnection-wasm: clean-e2e
cd tests && go test -timeout=25m -race -v -run TestDisconnection_Wasm .

e2e-test-fullnode-sync-wasm: clean-e2e
cd tests && go test -timeout=25m -race -v -run TestFullnodeSync_Wasm .

e2e-test-rollapp-freeze-wasm: clean-e2e
cd tests && go test -timeout=25m -race -v -run TestRollAppFreeze_Wasm .

Expand Down
37 changes: 24 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/dymensionxyz/e2e-tests

go 1.22.1
go 1.22.2

toolchain go1.22.4

replace (
github.com/evmos/ethermint => github.com/dymensionxyz/ethermint v0.22.0-dymension-v0.3
Expand All @@ -9,16 +11,16 @@ replace (
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
// use cometbft
github.com/tendermint/tendermint => github.com/cometbft/cometbft v0.34.32
github.com/vedhavyas/go-subkey => github.com/strangelove-ventures/go-subkey v1.0.7
)

require (
cosmossdk.io/math v1.3.0
github.com/cosmos/cosmos-sdk v0.46.16
github.com/cosmos/ibc-go/v6 v6.2.1
github.com/cosmos/ibc-go/v6 v6.3.1
github.com/decentrio/rollup-e2e-testing v0.0.0-20240605082141-a2b8d70279d8
github.com/dymensionxyz/dymension-rdk v1.1.0-beta
github.com/dymensionxyz/dymension/v3 v3.1.0-rc01.0.20240404003005-53ccf8a922fd
github.com/dymensionxyz/dymension/v3 v3.1.0-rc03.0.20240411195658-f7cd96f53b56
github.com/dymensionxyz/dymint v1.1.2
github.com/evmos/ethermint v0.22.0
github.com/icza/dyno v0.0.0-20220812133438-f0b6f8a18845
github.com/stretchr/testify v1.8.4
Expand All @@ -36,19 +38,23 @@ require (
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/99designs/keyring v1.2.2 // indirect
github.com/BurntSushi/toml v1.3.2 // indirect
github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect
github.com/ChainSafe/go-schnorrkel v1.1.0 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/armon/go-metrics v0.4.1 // indirect
github.com/avast/retry-go/v4 v4.3.4 // indirect
github.com/avast/retry-go/v4 v4.5.0 // indirect
github.com/aws/aws-sdk-go v1.44.122 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
github.com/celestiaorg/merkletree v0.0.0-20210714075610-a84dc3ddbbe4 // indirect
github.com/celestiaorg/nmt v0.20.0 // indirect
github.com/celestiaorg/rsmt2d v0.11.0 // indirect
github.com/cespare/xxhash v1.1.0 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/chzyer/readline v1.5.1 // indirect
github.com/cockroachdb/apd/v2 v2.0.2 // indirect
github.com/cometbft/cometbft v0.37.2 // indirect
github.com/confio/ics23/go v0.9.0 // indirect
github.com/cosmos/btcutil v1.0.5 // indirect
github.com/cosmos/cosmos-proto v1.0.0-beta.3 // indirect
Expand All @@ -63,12 +69,13 @@ require (
github.com/dgraph-io/badger/v3 v3.2103.3 // indirect
github.com/dgraph-io/ristretto v0.1.1 // indirect
github.com/docker/distribution v2.8.1+incompatible // indirect
github.com/docker/docker v24.0.1+incompatible // indirect
github.com/docker/docker v24.0.2+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/dvsekhvalnov/jose2go v1.5.0 // indirect
github.com/ethereum/go-ethereum v1.10.26 // indirect
github.com/dymensionxyz/cosmosclient v0.4.2-beta.0.20240421130646-b8980ec7aade // indirect
github.com/ethereum/go-ethereum v1.12.0 // indirect
github.com/felixge/httpsnoop v1.0.2 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-kit/kit v0.12.0 // indirect
Expand Down Expand Up @@ -106,11 +113,14 @@ require (
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3 // indirect
github.com/holiman/uint256 v1.2.2 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/jmhodges/levigo v1.0.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/klauspost/compress v1.17.6 // indirect
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
github.com/klauspost/reedsolomon v1.11.8 // indirect
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/manifoldco/promptui v0.9.0 // indirect
Expand All @@ -134,6 +144,7 @@ require (
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/regen-network/cosmos-proto v0.3.1 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/rollkit/celestia-openrpc v0.0.0-00010101000000-000000000000 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sasha-s/go-deadlock v0.3.1 // indirect
Expand All @@ -151,7 +162,7 @@ require (
github.com/tidwall/btree v1.5.0 // indirect
github.com/tidwall/gjson v1.14.4 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/tidwall/pretty v1.2.1 // indirect
github.com/tidwall/sjson v1.2.5 // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
github.com/zondax/hid v0.9.2 // indirect
Expand All @@ -162,14 +173,14 @@ require (
go.opentelemetry.io/otel/metric v1.19.0 // indirect
go.opentelemetry.io/otel/trace v1.19.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.19.0 // indirect
golang.org/x/crypto v0.22.0 // indirect
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect
golang.org/x/mod v0.15.0 // indirect
golang.org/x/net v0.21.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/oauth2 v0.16.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/term v0.17.0 // indirect
golang.org/x/sys v0.19.0 // indirect
golang.org/x/term v0.19.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.18.0 // indirect
Expand Down
Loading