Commit Graph
199 Commits
Author SHA1 Message Date
02588fd2f1 bump avalanchego to master (updates x/crypto) (#1410)
* bump avalanchego to master (updates x/crypto)

* fix

* Encapsulate Signer (#693)

* Remove the bls dependency
---------
Co-authored-by: Darioush Jalali <[email protected]>

* bump to v1.12.1

---------

Co-authored-by: Richard Pringle <[email protected]>
2024-12-18 14:40:44 +00:00
Darioush JalaliandGitHub 223e08b1a9 mark flaky: TestTimedUnlock (#1411) 2024-12-18 06:22:48 -08:00
Ceyhun OnurandGitHub 6a67aa9986 close database on shutdown (#1403)
* bump avago to v1.12.0

* close database on shutdown

* update release notes

* rename verdb

* close only if standalone db

* bump avago branch version

* bump avago
2024-12-10 20:20:57 +03:00
Ceyhun OnurandGitHub d0dcdd55c4 bump avago to v1.12.0 (#1402) 2024-12-05 19:50:27 +03:00
Ceyhun OnurandGitHub 0cfca7f87b bump avago to v1.11.13 (#1391) 2024-11-19 14:36:45 +00:00
Ceyhun OnurandGitHub 513e24c51e bump avago to v1.11.13-rc.1 (#1389)
* fix start timestamp

* add client

* rename sov to l1validator

* bump avago to v1.11.13-rc.1

* update compatibility
2024-11-16 01:22:56 +03:00
43fe68684d Refactor uptime tracking (#1388)
Co-authored-by: Darioush Jalali <[email protected]>
Co-authored-by: Michael Kaplan <[email protected]>
2024-11-15 19:01:56 +00:00
c0a9ad0fcd Uptime tracking (#1263)
* add validator state

* add pausable uptime manager

* remove stuttering name

* rename state listener

* add uptime tracking to VM

* remove unused param

* add wg for update validators

* update state before network shutdown

* restart bootstrapping status in test

* add get validator to state

* rename uptime to validator

* fix mock state

* tests

* Update plugin/evm/validators/state.go

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

* use update enum

* Update plugin/evm/validators/state.go

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

* Update plugin/evm/validators/state.go

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

* respond to comments

* update avalanchego dep branch

* reviews

* reword errs

* fix test changes

* fix upgrades after deactivating latest in context

* use test branch from avalanchego

* use branch commit for ava version

* update e2e ava version

* update avago dep

* remove extra line...

* export struct

* reviews

* conflict fix

* custom err msg

* add listener mock

* bump avago test branch

* remove config

* remove api changes

* use non-version db for validatorsDB

* remove errs from resume and pause

* check after stopping

* use expectedTime in tests

* reviews

* fix len

* remove log

* use interfaces from pkgs

* improve comments

* new fields and refactorings

* fix linter

* clarify comments

* update comment

* bump to poc branch

* reviews

* update comment

* update to avago master

---------

Signed-off-by: Ceyhun Onur <[email protected]>
Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
2024-11-13 22:27:03 +03:00
7f9518dfe5 move interfaces to separate pkgs (#1379)
* add validator state

* add pausable uptime manager

* remove stuttering name

* rename state listener

* Update plugin/evm/validators/state.go

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

* use update enum

* Update plugin/evm/validators/state.go

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

* Update plugin/evm/validators/state.go

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

* respond to comments

* update avalanchego dep branch

* reviews

* reword errs

* fix test changes

* fix upgrades after deactivating latest in context

* use branch commit for ava version

* reviews

* add listener mock

* remove errs from resume and pause

* check after stopping

* use expectedTime in tests

* reviews

* move interfaces to separate pkgs

* regen mock

---------

Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
2024-11-05 22:17:08 +00:00
4e3537fdaf Validator state (#1371)
* add validator state

* remove stuttering name

* Update plugin/evm/validators/state.go

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

* use update enum

* Update plugin/evm/validators/state.go

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

* Update plugin/evm/validators/state.go

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

* respond to comments

* update avalanchego dep branch

* fix test changes

* fix upgrades after deactivating latest in context

* use branch commit for ava version

* add listener mock

---------

Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
2024-10-30 19:05:35 +03:00
Ceyhun OnurandGitHub e8709ba854 bump versions (#1370) 2024-10-22 06:42:39 -07:00
Darioush JalaliandGitHub 49929df487 fix chainID in TestWaitDeployedCornerCases (#1364) 2024-10-17 16:52:58 +00:00
Ceyhun OnurandGitHub 1ca6396bb5 uptime: update avalanchego dep branch (#1348)
* update avalanchego dep branch

* fix upgrades after deactivating latest in context

* use branch commit for ava version

* bump avago

* bump go

* restore format changes

---------

Signed-off-by: Ceyhun Onur <[email protected]>
2024-10-07 17:44:14 +00:00
Darioush JalaliandGitHub 45da69b2aa fix ci: linux ci doesn't have dos2unix (#1352)
* fix ci: linux ci doesn't have dos2unix

* remove dupe
2024-09-27 11:10:51 -07:00
Darioush JalaliandGitHub 75f3492e76 windows ci: remove cr before comparing to known_flakes.txt (#1319)
* windows ci: remove cr before comparing to known_flakes.txt

* try

* try

* try
2024-09-23 11:27:38 -07:00
marunandGitHub ffe4249178 [testing] Fix image build validation for unmerged avalanchego commit (#1349)
* [testing] Enable image build testing for unmerged avalanchego version

* fixup: Correct CI failures
2024-09-20 18:53:45 +00:00
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