236 Commits
Author SHA1 Message Date
Darioush JalaliandGitHub 0bffe25fdd update known_flakes.txt (#1332) 2024-09-05 11:53:47 +00:00
Ceyhun OnurandGitHub 66f180e50e Bump avago rc (#1330)
* bump avago to rc

* go mod tidy

* update versions
2024-09-04 12:08:47 +03:00
Darioush JalaliandGitHub feed42f7bf Bump avago master (#1316)
* bump avalanchego to master

* go mod tidy
2024-08-29 09:21:56 -07:00
marunandGitHub 4bd95875b7 [ci] Validate image build (#1318)
A recent failure of post-merge image build suggested the need for a
pre-merge sanity check to avoid unintentionally merging changes that
break the image build.
2024-08-28 14:32:58 -07:00
Darioush JalaliandGitHub 069c6a2edf build_docker_image.sh: use AVALANCHEGO_NODE_IMAGE (#1313)
* build_docker_image.sh: use AVALANCHEGO_NODE_IMAGE

* fix
2024-08-27 21:39:43 +03:00
Darioush JalaliandGitHub 820d559d4e Add observed flakes (#1312)
* add TestResyncNewRootAfterDeletes as a known flake

* add other failures

* remove T8n for now
2024-08-27 09:01:23 -07:00
Darioush JalaliandGitHub 6d6b72d3bf ci: fix NO_RACE + CI re-run on timeouts or fails of known flakes (#1304)
* fix script

* fix

* suggested for ci: re-run tests if failures are flakes (#1305)

* suggested ci improvement: re-run tests if failures are flakes

* remove flake indicators

* bash

* add more flakes

* fix bash

* fix

* add flake

* sort
2024-08-26 08:19:49 -07:00
marunandGitHub 5a06f5a7a7 [tmpnet] Update to use new monitoring urls (*-poc) (#1298)
* [tmpnet] Update to use new monitoring urls (*-poc)

* fixup: Updated to use required action version
2024-08-22 12:29:46 -07:00
Darioush JalaliandGitHub 986d2faa91 add NO_RACE so uts can run faster locally (#1294)
* add NO_RACE so uts can run faster locally

* oops
2024-08-21 09:44:02 -07:00
marunandGitHub 65a42aa98a [antithesis] Add initial test setup (#1166)
* [antithesis] Propose initial test setup

* fixup: Simplify generation of docker compose artifacts

* fixup: Ensure images will be pushed

* fixup: Update to use refactored antithesis tooling from avalanchego

* fixup: Update workload to use tmpnet

* fixup: Add workload sanity check to CI job

* fixup: Resolved workload errors

* fixup: Generate deterministic keys

* fixup: Fix invocation of gen_antithesis_compose_config

* fixup: Update to use StoppedTimer

* fixup: Respond to review feedback

* fixup: Move embedded comment out of trigger action

* fixup: Get image build test passing

* fixup: Update how runtime plugin dir is provided

* fixup: Update avalanchego version
2024-08-21 18:13:41 +03:00
Darioush JalaliandGitHub 365a680a4c remove cross-chain handlers (#1286)
* remove cross-chain handlers

* fix version

* bump avalanchego

* update versions.sh
2024-08-15 12:18:23 -07:00
Ceyhun OnurandGitHub d6500d6d84 remove test tags (#1282) 2024-08-14 06:34:01 -07:00
63c86cb152 Allow VM_ID as input to docker publish job (#1278)
* rename e upgrade to etna

* docker stuff

* fix

* fix

* fix

* move to workflow_dispatch

---------

Co-authored-by: Ceyhun Onur <[email protected]>
2024-08-13 08:28:54 -07:00
Darioush JalaliandGitHub 43e1ca5bb7 fix docker build (#1277) 2024-08-12 23:18:38 +03:00
6a8e82fad4 Bump avalanchego to master (#1268)
* Bump avalanchego to master

* Update avalanchego x (#1275)

* remove test tags

* use avago default

* revert ws diffs

* remove ginkgo test tags

---------

Co-authored-by: Ceyhun Onur <[email protected]>
2024-08-12 15:59:42 +00:00
Ceyhun OnurandGitHub b1c32065b6 use default path to build, remove symlinking (#1256) 2024-07-29 16:17:49 +00:00
marunandGitHub 32de46199d Revert build script change to allow specifying the full binary path (#1252) 2024-07-26 19:44:22 +00:00
dff8c47675 Update to use default plugin dir ($HOME/.avalanchego/plugins) (#1245)
* Update to use default plugin dir ($HOME/.avalanchego/plugins)

This has been the default for avalanchego since v1.9.6.

* fixup: Update dockerfile to copy the original rather than the symlink

* remove plugin paths

Signed-off-by: Ceyhun Onur <[email protected]>

---------

Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>
2024-07-26 10:07:54 -07:00
5fed36811e Update avago 1.11.10 rc0 (#1241)
* Update to latest p2p API (#594)

* sdk app errors

Signed-off-by: Joshua Kim <[email protected]>

* nit

Signed-off-by: Joshua Kim <[email protected]>

* nit

Signed-off-by: Joshua Kim <[email protected]>

* nit

Signed-off-by: Joshua Kim <[email protected]>

* nit

Signed-off-by: Joshua Kim <[email protected]>

* nit

Signed-off-by: Joshua Kim <[email protected]>

* nit

Signed-off-by: Joshua Kim <[email protected]>

* nit

Signed-off-by: Joshua Kim <[email protected]>

* nti

Signed-off-by: Joshua Kim <[email protected]>

* nit

Signed-off-by: Joshua Kim <[email protected]>

* nit

Signed-off-by: Joshua Kim <[email protected]>

* nit

Signed-off-by: Joshua Kim <[email protected]>

* nti

Signed-off-by: Joshua Kim <[email protected]>

---------

Signed-off-by: Joshua Kim <[email protected]>

* update go mod

* Remove block.Status (#593)

* Remove block.Status

* nit

* nit

* nit

* update coreth indirect dep

* fix linter

* use rc.0 tag for e2e tests

* eupgrade: base definitions (#603)

* eupgrade: base definitions

* updates

* nit: consistently use EUpgrade for replace later

* update test configs

* refactor json genesis specs in vm_test.go

* Update params/config.go

Signed-off-by: Darioush Jalali <[email protected]>

---------

Signed-off-by: Darioush Jalali <[email protected]>

* Update avalanchego v1.11.10 prerelease (#607)

* update avago 668b452

* update avago

* update with test build tags

* update golangci

* update avalanchego

---------

Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>

* update to latest avago

* add test build tags to allowlist pkg

* add test tags

* add test tags to bind cmd

* add gingko test tags

* revert cosmetic changes

* fix test chain config timestamps

---------

Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Darioush Jalali <[email protected]>
Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Joshua Kim <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
2024-07-26 19:41:18 +03:00
marunandGitHub b7d42444a4 [ci] Add actionlint job (#1235) 2024-07-15 18:36:16 +03:00
73bff721bb Subnet evm 0.6.7 (#1229)
* Fix VM.GetBlockIDAtHeight (#595)

* Fix and optimize GetBlockIDAtHeight

* Add test

---------

Co-authored-by: Darioush Jalali <[email protected]>

* bump subnet-evm & avago

* update coreth tip

* bump mingo version

* Update scripts/versions.sh

Co-authored-by: Darioush Jalali <[email protected]>
Signed-off-by: Ceyhun Onur <[email protected]>

* go mod tidy

---------

Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
2024-07-11 12:44:37 +03:00
Darioush JalaliandGitHub 9fe423f32b docker: add tag for commit hash (#1222) 2024-06-26 08:53:48 -07:00
Arran SchlosbergandGitHub e7543505ac chore: script for creating per-file diffs against arbitrary geth commit (#1212)
* chore: script for creating per-file diffs against arbitrary geth commit

* chore: add new-line at end

* fix: linter recommendations
2024-06-18 11:24:09 +01:00
58d966eb1b Avago 1.11.7 (#1206)
* remove notes/ (#571)

* Remove optional gatherer (#563)

* Remove optional gatherer

* nit

* Do not register chain state metrics when metrics are disabled

---------

Co-authored-by: Darioush Jalali <[email protected]>

* add compatibility for v0.6.6

* update avago in readme

---------

Co-authored-by: Darioush Jalali <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>
2024-06-06 19:03:44 +03:00
ccc2391a2b Bump versions (#1185)
* state sync: initialize snapshots in bootstrap set mode (#557)

* state sync: initialize snapshots in bootstrap set mode

* move clear summary path

* undo rename

* improve abortGeneration locks (#559)

* bump versions

* bump latest coreth version

* bump min go version

---------

Co-authored-by: Darioush Jalali <[email protected]>
2024-05-23 17:12:38 -04:00
0dc5c02e45 Geth v1.13.8 (#1146)
* all changes from v.13.2-x branch

* squash initial changes

* remove unneeded files

* fix lint

* gas estimation fix

* accounts/keystore: fix test with sleep

* rpc fixes

* try with a smaller limit

* logging

* change the trim fn

* remove main_test from rpc

* txpool: remove unused "PendingFrom"

* set local-txs-enabled in load tests

* bump avago

* bump coreth

* resync (#1164)

* resync

* reapply fix

* review comments

* remove fixit comment

* fix space in log levels (#1167)

* fix legacy lvls (#1175)

* fix legacy lvls

* fix simulator logger

* fix typo in rlpgen comment

* update avalanchego to version with coreth on master branch

---------

Co-authored-by: Ceyhun Onur <[email protected]>
2024-05-16 10:31:36 -07:00
Ceyhun OnurandGitHub 69e5670ce0 bump versions (#1153)
* bump versions

* update avago versions

* fix tests
2024-05-01 14:39:26 +00:00
e9c7e98e65 Coreth sync nits (#1161)
* use less blocks to gen

* avoid relying on rand.Seed for deterministic results (#535)

* disable blobpool (#536)

* add matrix and race to UTs (#530)

* add matrix and race to UTs

* remove unnecessary runners

* clean script

* lazy read bonus blocks

* increase timeout

* increase frequency

* apply fix fow windows

* increase timeout

* disable fail fast

* increase frequency and timeout

* use latest

* fix coma

* better log

* fix require

* Fix formatting

* fix eventually formats

* test out new wg

* Revert "test out new wg"

This reverts commit 5d4a0a8a17bf78751163e948a6a65dd241b057aa.

* check tx indexes after each block accept

* mark as flaky

* disable blobpool

* add IsSubscribed for testing

* remove subscribed when return

* use atomic bool

* attempt to fix flaky indexing test

* use matrix for UTs

* return if sub nil

* add beacon root checks

* fix test

* return if sub nil

---------

Co-authored-by: Darioush Jalali <[email protected]>
2024-04-29 18:28:40 +03:00
Ceyhun OnurandGitHub 0f6170ffac Bump go version (#1148)
* remove min go lang version from script

* bump golang version to 1.21.9
2024-04-15 17:19:42 +03:00
Ceyhun OnurandGitHub e31a29d5f2 Fix docker push test (#1138)
* refactor docker yml and scripts

* enable pr for test

* fix path

* fix path

* rename img id

* try simpler name

* use -a

* test tag

* remove test steps

* remove avalanchego from image id
2024-04-08 19:43:25 +03:00
marunandGitHub bb3ed07ba9 ci: Enable collection of logs and metrics (#1122)
* ci: Enable collection of logs and metrics

* fixup: Cleanup log configuration for load and warp testing
2024-03-27 07:27:12 -07:00
5a73dd477f bump avago v1.11.3 (#1130)
* bump avago v1.11.3

* fix tests

* use test validator state in test context

* fix tmpnet path

* Integrate stake weighted gossip selection (#511)

* Integrate stake weighted gossip selection

* nit

* merged

* add validity check

* remove redeclaration

* use compressed bytes

---------

Co-authored-by: Stephen Buttolph <[email protected]>
2024-03-25 15:00:54 -04:00
Ceyhun OnurandGitHub c105451b9d move docker build to separate ci (#1128)
* move docker build to separate ci

* rename CI workflow for simplicity

* workflow cleanup
2024-03-19 16:16:19 +00:00
Darioush JalaliandGitHub b98246b716 squashed all from geth-v1.12.2-x (#1117)
* squashed all from geth-v1.12.2-x

* fix merge
2024-03-06 12:32:17 -08:00
Ceyhun OnurandGitHub 7b87893eab Coreth sync v0.13.1 rc.5 (#1111)
* sync coreth v0.13.1-rc.5

* fix tests

* fix upgrade bytes test

* bump subnet-evm version

* sort default configs

* sort default configs
2024-03-01 17:29:13 +01:00
0a8242b95e e2e: Switch to the tmpnet fixture (#1027)
* e2e: Switch warp test to use tmpnet fixture

* e2e: Switch load test to use the tmpnet fixture

* Add readme describing use of existing network

* e2e: Remove network manager and dependency on ANR

* fixup: Switch from VMName to VMID with tmpnet.Chain

* fixup: Respond to review comments

* fixup: Use 5 nodes for load testing

* fixup: Fix shellcheck errors

* cleanup artifact dirs

* fixup: Update to reflect tmpnet configuration changes

* fixup: go mod tidy

* fixup: Use the default evm logging level for load testing

* fixup: Lower the avalanchego logging levels for load testing

* fixup: respond to review comments

* fixup: Respond to review comments #2

* fixup: Disable unnecessary stdout logging

---------

Co-authored-by: Ceyhun Onur <[email protected]>
2024-02-29 10:24:19 +01:00
Ceyhun OnurandGitHub 1235e8324a bump versions (#1102) 2024-02-23 21:24:38 +00:00
Darioush JalaliandGitHub 66fb868ad2 prepare v0.6.0 release (#1101)
* prepare v0.6.0 release

* changes for v33

* bump ANR
2024-02-22 17:11:14 -05:00
62d0d8b4b6 Update minimum golang version to v1.21.7 (#1088)
* Update minimum golang version to v1.21.7

* update versions.sh

---------

Co-authored-by: Darioush Jalali <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>
2024-02-09 11:35:02 -08:00
Darioush JalaliandGitHub 7c03d8a7c2 take slice of cmd/utils from upstream (#1082)
* take slice of cmd/utils from upstream

* add header
2024-02-09 08:59:10 +00:00
Ceyhun OnurandGitHub 2233fa11c4 Sync coreth 0.12.11 rc.3 (#1075)
* rename pkg

* update to coreth 0.12.11-rc.3

* revert pkg rename

* fix coreth related changes

* fix allowed pkgs

* run mockgen

* reduce diffs with coreth

* remove atomic stats

* fix rpc get block receipts test
2024-02-02 06:29:12 -08:00
marunandGitHub b480fae01f ci: Add shellcheck step to lint job (#1061)
* `ci`: Add shellcheck step to lint job

* fixup: Exclude upstream files
2024-01-31 13:31:27 +00:00
Darioush JalaliandGitHub 7425988d52 Align with coreth (#1067) 2024-01-30 15:45:11 -08:00
07ff25b373 avago bump: Bloom filter metrics + Durango time (#1064)
* avago bump: Bloom filter metrics + Durango time

* Update plugin/evm/vm.go

Co-authored-by: Stephen Buttolph <[email protected]>
Signed-off-by: Darioush Jalali <[email protected]>

---------

Signed-off-by: Darioush Jalali <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>
2024-01-26 21:25:11 +03:00
Darioush JalaliandGitHub 24a6a05cb8 remove ethdb (#1051) 2024-01-23 23:13:38 +03:00
ce843d4cd1 P2p sdk handlers (#1031)
* rename tx handlers

* add p2p sdk handlers

* fix tests

* fix imports

* bump min go version

* downgrade golangci

* remove noop handler

* bump avago rc

* fix uint64

* bump avalanchego rc version

* fix linter

* revert txpool uint change

* bump subnet-evm version

* run simulator in a different step

* remove load test from precompile tests

* run simulator in a different step

* remove load test from precompile tests

* rename simulator to load test

* parallelize e2e steps

* use checkout

* split to different workflows

* move to same folder

* bump avago

* add time to codec

* fix load test (#1043)

* tweak global limit

* uncomment submit

* update consts

* update avalanchego version

* fix compilation err

* simpler fix

* remove mempool configs

* bump latest avago rc

* fix tests

* update avalanchego

* fix mockgen

* bump ANR

* remove unnecessary log levels

* Fix bloom reset (#1049)

* add UT for eth tx pool subscribe

* fix eth tx pool subscribtion

* don't use journal

* simplify test

* increase timeout

* Update plugin/evm/tx_gossip_test.go

Co-authored-by: Darioush Jalali <[email protected]>
Signed-off-by: Ceyhun Onur <[email protected]>

---------

Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>

* Fix racey bloom access and replace time.Sleep with require.Eventually

---------

Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Patrick O'Grady <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>
2024-01-23 17:23:08 +03:00
Ceyhun OnurandGitHub e4957fb432 Split load test (#1041)
* run simulator in a different step

* remove load test from precompile tests

* rename simulator to load test

* parallelize e2e steps

* use checkout

* split to different workflows

* move to same folder
2024-01-08 08:23:21 -08:00
Ceyhun OnurandGitHub 49a3807235 bump min go version (#1032)
* bump min go version

* downgrade golangci
2024-01-04 13:24:07 -08:00
zeekay 65408996d7 Update import path 2024-01-03 09:50:41 +01:00
zeekay e09f9ae0e1 Update executable to luxd 2024-01-03 09:49:05 +01:00