zeekay
1cfa89aa03
Use luxfi/crypto, luxfi/database, luxfi/ids
2025-07-25 22:22:41 -05:00
zeekay
9990441454
Adapt EVM to be new C-chain
2025-07-24 00:25:45 -05:00
zeekay
19fe8dc2c7
Replace ethereum/go-ethereum references with luxfi/geth
...
- Updated go:generate comments to use luxfi/geth instead of ethereum/go-ethereum
- Fixed GitHub issue/PR references to point to luxfi repositories
- Updated comments referencing the Lux geth fork
- Part of the migration to unified EVM architecture with Lux consensus
2025-07-23 17:34:24 -05:00
zeekay
257304ad75
Disable Anthithesis
2025-07-22 01:42:32 -05:00
zeekay
7d8b52af3f
Update copyrights properly
2025-07-21 21:10:03 -05:00
zeekay
66651957a4
Update docs
2025-07-21 19:04:03 -05:00
zeekay
8da155c1b1
Update imports
2025-07-18 01:55:16 +00:00
zeekay
9cb77af539
fix: remove ALL ava-labs/libevm imports
...
- Remove all references to github.com/ava-labs/libevm
- Clean up imports in state, triedb, and test files
2025-07-17 17:06:20 -05:00
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
zeekay
1d04d6d04f
Update copyright headers to Lux Industries Inc 2025
...
Updated all copyright headers from "Lux Partners Limited" to "Lux Industries Inc" and updated the year to 2025 to reflect the new holding company structure.
2025-07-03 23:49:31 -04:00
Ceyhun Onur and GitHub
57bdf1b18a
Fix docker image push ( #1571 )
2025-05-05 11:04:14 +00: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
Quentin Mc Gaw
9f170c7057
Merge branch 'master' into libevm
2025-04-02 11:28:31 +02:00
3e7c79c2f5
chore(ci): simplify monitoring configuration (re-apply #1440 ) ( #1545 )
...
Signed-off-by: maru <[email protected] >
Co-authored-by: maru <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2025-04-02 08:57:51 +00:00
Arran Schlosberg and Quentin Mc Gaw
cfb6dda961
refactor: use upstream core/types
...
Complete the transition of `core/types` to upstream code.
Note that the previous commit results in _all_ upstream types / vars / consts being in the `imports.go` file. This results in a strict partition of upstream and local identifiers so it is safe to simply change import paths.
1. Globally change all imports from `subnet-evm/core/types` to `libevm/core/types`;
2. Rename all `subnet-evm/core/types` imports to `customtypes` for ease of review here;
3. Dot import `libevm/core/types` in tests only to avoid hundreds of noisy changes.
See original PR https://github.com/ava-labs/coreth/pull/875
2025-04-01 10:14:52 +02:00
Arran Schlosberg and Quentin Mc Gaw
d26f6e4f50
chore: disallow direct libevm/params import
...
Until a complete transition to a `libevm` package, it shouldn't be allowed to be imported directly.
Remove the package from the allowed list and move a `types` test into `package types_test` to avoid a circular dependency.
See original PR https://github.com/ava-labs/coreth/pull/874
2025-04-01 10:12:19 +02:00
Quentin McGaw
79daefb144
chore(rawdb): migration to plugin/evm/rawdb
...
See original PR https://github.com/ava-labs/coreth/pull/851
2025-04-01 10:11:51 +02:00
6bb66d3f81
chore(metrics): use libevm metrics package ( #1508 )
...
- use libevm/metrics instead of subnet-evm/metrics
- file kept and refactored `metrics/prometheus/prometheus.go` with the `Gatherer` implementation we use
- file kept and refactored `metrics/prometheus/prometheus_test.go`
- new file `metrics/prometheus/interfaces.go` added for refactoring
- geth global variable `metrics.Enabled` is set to true both in libevm and in `plugin/evm.VM.initializeMetrics`
Signed-off-by: Quentin McGaw <[email protected] >
Co-authored-by: Arran Schlosberg <[email protected] >
2025-04-01 10:04:35 +02:00
12984efb0b
chore: release v0.7.3-rc.0 ( #1537 )
...
Co-authored-by: Ceyhun Onur <[email protected] >
2025-03-31 12:10:10 +00:00
a7cf34ae78
[ci] Simplify monitoring configuration ( #1440 )
...
Signed-off-by: maru <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2025-03-26 20:53:47 +00:00
maru and GitHub
a663e0cda5
Switch from go install to go run to avoid cluttering shared bin path ( #1510 )
2025-03-26 15:22:33 +00:00
Quentin Mc Gaw
497f43672c
Merge branch 'master' into libevm
2025-03-21 10:27:18 +01:00
maru and GitHub
07eef3a780
[docker] Fix multi-arch builds for unmerged avalanchego versions ( #1474 )
2025-03-10 18:09:17 +00:00
maru and GitHub
2a8bec7a80
Simplify avalanchego version maintenance ( #1469 )
2025-03-10 09:31:21 +00:00
Ceyhun Onur and GitHub
083e51fce9
fix multiarch docker binary build ( #1461 )
2025-03-04 23:26:34 +03:00
Ceyhun Onur and GitHub
f1e3aed4e7
chore(ci): use go.mod version and remove unused lint.sh ( #1456 )
2025-03-03 19:44:12 +03:00
b5698242c8
chore: Bump avalanchego to master ( #1443 )
...
Co-authored-by: Martin HS <[email protected] >
Co-authored-by: Marius van der Wijden <[email protected] >
Co-authored-by: Quentin McGaw <[email protected] >
Co-authored-by: Richard Pringle <[email protected] >
Co-authored-by: Ceyhun Onur <[email protected] >
Co-authored-by: Tsachi Herman <[email protected] >
2025-02-24 06:41:24 -08:00
Ceyhun Onur and GitHub
21182dae3e
bump avalanchego to v1.12.2 ( #1436 )
...
* bump avalanchego to v1.12.2
* remove unneeded var
* fix antithesis images
* add cross-compile setup to dockerfile
* use build_env.sh in Dockerfile
* export variables
* remove build_env.sh from Dockerfile
* remove comment
* revert
2025-01-30 00:39:20 +03:00
337a89abb5
sync coreth changes up to 3148809 ( #1434 )
...
* move config package (coreth c167754ba)
* refactor: Split config package so it doesn't import core, core/vm (#734 )
Co-authored-by: Quentin McGaw <[email protected] >
* bump avalanchego (same as coreth's 4765329f)
* Apply upstream fixes (up to d3cc618) (#766 )
Co-authored-by: maskpp <[email protected] >
Co-authored-by: Aaron Chen <[email protected] >
Co-authored-by: Shiming Zhang <[email protected] >
Co-authored-by: Felix Lange <[email protected] >
Co-authored-by: Nathan <[email protected] >
Co-authored-by: Eric <[email protected] >
* fix panic if config duration is set to 0 (#765 )
* fix mocks
* antithesis script patch: change dir for avalanchego build (for go.mod)
---------
Co-authored-by: Quentin McGaw <[email protected] >
Co-authored-by: maskpp <[email protected] >
Co-authored-by: Aaron Chen <[email protected] >
Co-authored-by: Shiming Zhang <[email protected] >
Co-authored-by: Felix Lange <[email protected] >
Co-authored-by: Nathan <[email protected] >
Co-authored-by: Eric <[email protected] >
2025-01-29 18:14:55 +03:00
Darioush Jalali and GitHub
513c6fa7ab
libevm phase 2: Use libevm statedb from upstream ( #1421 )
...
Co-authored-by: Arran Schlosberg <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
Co-authored-by: Michael Kaplan <[email protected] >
Co-authored-by: Ceyhun Onur <[email protected] >
Co-authored-by: Richard Pringle <[email protected] >
Co-authored-by: Quentin McGaw <[email protected] >
Co-authored-by: Meaghan FitzGerald <[email protected] >
Co-authored-by: Quentin McGaw <[email protected] >
Co-authored-by: mountcount <[email protected] >
Co-authored-by: chuangjinglu <[email protected] >
Co-authored-by: guqicun <[email protected] >
Co-authored-by: Dmytrol <[email protected] >
fix problematic const name and some typos in comment (#1400 )
fix some function names in interface comment (#1397 )
close database on shutdown (#1403 )
fix some function names in comment (#1405 )
Fix Typos in Documentation (#1404 )
fix test generator (#724 )
2025-01-13 07:45:49 -08:00
Quentin McGaw and GitHub
5983bc9577
chore(all): simplify mocks generation ( #1413 )
...
- Localized mockgen commands in the package where they are needed
- Generate mocks from your IDE directly
- Platform independent way of generating mocks
- Check automatically mocks are kept up to date with their matching interfaces
- Check automatically mocks all have a matching source controlled generation command
- Remove license headers for generated mocks
- Generating mocks section added in contributing document
- Use same mockgen version as specified in go.mod
2025-01-07 13:21:54 +01:00
a298553a2e
add multiatch docker build to support arm ( #1417 )
...
* add multiatch docker build to support arm
* fix build img id
* Update .github/workflows/publish_docker.yml
Co-authored-by: Quentin McGaw <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* Update .github/workflows/publish_docker.yml
Co-authored-by: Quentin McGaw <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* fix vm id
* remove debug echo
* revert format change
---------
Signed-off-by: Ceyhun Onur <[email protected] >
Co-authored-by: Quentin McGaw <[email protected] >
2025-01-06 19:12:05 +03:00
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 Jalali and GitHub
223e08b1a9
mark flaky: TestTimedUnlock ( #1411 )
2024-12-18 06:22:48 -08:00
e3a01fb149
use libevm: params, core/vm, eth/tracers/* + some of core/types ( #1380 )
...
* format: as coreth
* use libevm: params, core/vm, eth/tracers/* + some of core/types (#662 )
Co-authored-by: Arran Schlosberg <[email protected] >
* format: as subnet-evm
* fix coreth formatting
* fix mocks
* fix contract deployer allowlist
* nits
* nits
* nit
* fix test import loop
* fix imports
* nits
* fix
* add TODO
---------
Co-authored-by: Arran Schlosberg <[email protected] >
2024-12-12 10:04:35 -08:00
Ceyhun Onur and GitHub
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 Onur and GitHub
d0dcdd55c4
bump avago to v1.12.0 ( #1402 )
2024-12-05 19:50:27 +03:00
Ceyhun Onur and GitHub
0cfca7f87b
bump avago to v1.11.13 ( #1391 )
2024-11-19 14:36:45 +00:00
Ceyhun Onur and GitHub
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 Onur and GitHub
e8709ba854
bump versions ( #1370 )
2024-10-22 06:42:39 -07:00
Darioush Jalali and GitHub
49929df487
fix chainID in TestWaitDeployedCornerCases ( #1364 )
2024-10-17 16:52:58 +00:00
Ceyhun Onur and GitHub
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 Jalali and GitHub
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 Jalali and GitHub
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
marun and GitHub
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