28 Commits
Author SHA1 Message Date
zeekay 5bde5ae476 fix: resolve merge conflicts in test files
- Fixed merge conflicts in precompile_config_test.go
- Fixed merge conflicts in block_test.go
- Fixed merge conflicts in test_statedb.go
2025-07-17 16:44:45 -05:00
zeekay 4ac513dba4 Merge upstream subnet-evm v0.7.5
Merged latest upstream changes from ava-labs/subnet-evm v0.7.5 while preserving Lux customizations:
- Updated copyright headers to Lux Industries Inc 2025
- Kept Lux branding and network references
- Preserved custom Lux configurations
- Updated dependencies to latest versions
- Removed deprecated files (trie/, core/vm/, etc)
- Updated import paths to use go-ethereum libraries where applicable
2025-07-03 23:56:17 -04:00
37ff0fc4d7 Docker image combined tag (#1566)
Signed-off-by: Martin Eckardt <[email protected]>
Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Martin Eckardt <[email protected]>
Co-authored-by: Michael Kaplan <[email protected]>
Co-authored-by: Quentin McGaw <[email protected]>
2025-04-24 11:56:27 +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
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
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
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
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
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
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
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
zeekay f8dd36a8be Update SubnetEVM 2024-01-03 09:44:09 +01:00
4721f3ebe2 Sync coreth v0.12.4 rc0 (#694)
* apply diff to rc0

* replace coreth with subnet-evm

* go mod tidy

* remove must commit

* remove apricots

* replace coreth with subnet-evm

* rename banff and cortina

* test memory db

* add dUpgrade

* fix errors

* sync with v0.12.4-rc0

* more diffs

* change templates

* readd preparePredicateSlots

* run goimports

* readd tx allow list check to txpool

* Fix tests

* readd subnet evm check for tests

* fix tests

* add gas limit & coinbase fakers

* Fix timestamp types

* check error from newblockchain

* fix gas limit in simulated genesis

* downgrade ci to go 1.19

* gofmt files

* rebump go to 1.20

* bump anr to latest

* bump anr to latest

* prepare predicate storage slots in Subnet-EVM

* uncomment tests

* change order of airdrop memory cleanup

* add utils import

* Coreth 0.12.4 x apply (#720)

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

* move instruction sets

* revert unpack changes

* reduce diffs

* move genesis verify to vm (#753)

* move genesis verify to vm

* fix comment

* set a correct default from genesis

* fix log

* revert change to vm.go

---------

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

* avoid adding/removing GasLimits in tests (#755)

* move genesis verify to vm

* fix comment

* set a correct default from genesis

* fix log

* revert change to vm.go

* avoid adding/removing GasLimits in tests

* nit

---------

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

---------

Co-authored-by: Darioush Jalali <[email protected]>
2023-07-26 09:45:17 -04:00
aaronbuchwaldandGitHub 8c08ebc052 Refactor e2e tests (#425)
* Simplify e2e tests

* Add TODOs

* WIP

* Replace GetSubnetIDF

* Bump avalanchego to v1.9.6-rc.0

* Working on tests

* Light client mode to unlock dynamic state sync

* revert version to pass ci (?)

* fix simulator go.mod

* Set env variable using os setenv

* Needed renames to run all solidity precompile tests

* Cleanup

* E2E test GH Action

* Remove simualtor from GH Actions

* Re-add simulator to GH Actions

* nits

* Modify run script to support running a network and running simulator

* Fix GH Actions file

* Bump avalanchego to v1.9.6-rc.2

* go mod tidy

* Fix run script

* Reduce ctx timeout for starting new subnet to 15s

* Set data dir from github action

* Update run script

* Create separate load test for ginkgo

* Refactor scripts

* Fix up env variables in run single node script

* WIP

* Add install_cli.sh script

* Create 1 script to start a non-staking network of nodes in a subshell

* Fix run script to run 5 node non-staking network and add simple load script

* Fix load test

* go mod update to ago v1.9.7

* Fix allowed geth imports for simulator

* Populate constants to fix blst warning

* load constants in run ginkgo

* Update run simulator name check

* Update data dir

* Add plugin dir env variable

* Update github action and env var used in install avago script

* Filter out both precompile and load test from unit test script

* Add comment about skipping load test in unit test script

* Fix lint geth allowed pkgs

* Address nits

* Remove unused DATA_DIRs var from run script

* Add TODO to update run script to allow running N nodes instead of just one

* Update READMEs

* Break down simulator

* Cleanup

* Update cmd/simulator/README.md

* Update cmd/simulator/README.md

* Update cmd/simulator/README.md

* Update contract-examples/README.md

* Address review comments

* Address PR comments
2023-01-26 16:23:32 -05:00
felipemaderoandGitHub 4ff12f4922 bump to avago 1.8.6 (#279)
* bump avago + anr

* add cross compilation

* mod tidy

* CGO_CFLAGS instead of CGO_FLAGS

* strange "" stuff in goreleaser

* add comment for CGO_FLAGS setting. move seting to constants

* fix path var

* fix unit test script

* bump avago version in versions.sh

* add checksum check for SDK archive

* fix checksum
2022-10-05 15:56:07 -04:00
Gyuho LeeandGitHub 9f7318bfa4 tests/e2e: add basic curl tests for RPC server (#118)
build_test.sh: exclude "tests/e2e"

Signed-off-by: Gyuho Lee <[email protected]>
2022-05-31 11:51:24 -07:00
Ceyhun Onur 99e74a2d78 merge coreth 0.8.9-rc.0 2022-04-01 03:47:21 +03:00
Patrick O'Grady e5f96d6896 shorter timeout 2022-03-13 11:33:10 -07:00
Aaron Buchwald f1a335748c Mark flaky unit tests and update ci tests/coverage 2022-03-04 15:10:03 -05:00
Patrick O'Grady 6d04b9aa37 remove parallelism reduction 2022-03-03 16:39:39 -08:00
Patrick O'Grady 1c7ea45eee failfast 2022-03-03 13:09:44 -08:00
Patrick O'Grady e68bb25add improve local runner experience 2022-03-02 10:24:34 -08:00
Patrick O'Grady 6600d88ca2 double parallelism 2022-03-01 09:05:13 -08:00
Patrick O'Grady 0f085f5795 reduce parallelism 2022-03-01 08:37:34 -08:00
Patrick O'Grady 65893a2e08 reduce timeout 2022-03-01 08:19:12 -08:00
Patrick O'Grady 3bb170407b make tests verbose 2022-02-15 19:00:07 -08:00
Patrick O'Grady f6aef56afd first commit 2021-12-15 12:28:56 -08:00