162 Commits
Author SHA1 Message Date
zeekay e8a1c06f73 feat: update to v2 module path for version 2.0.0-alpha.1 2025-08-02 12:31:47 -05:00
zeekay c7626c26c2 Fix build 2025-08-01 19:57:54 -05:00
zeekay 1cfa89aa03 Use luxfi/crypto, luxfi/database, luxfi/ids 2025-07-25 22:22:41 -05:00
zeekay 470f55de1c Finish refactor to use new go-ethereum 2025-07-25 13:52:34 -05:00
zeekay 8e2a0e979a Update architecture 2025-07-25 00:10:28 -05:00
zeekay 46ea495f07 refactor: rename network_upgrades_alwayson.go to legacy_upgrades.go
Rename file to better differentiate from Lux-specific code as requested.
All upgrade functions continue to return true for clean genesis setup.
2025-07-24 14:53:07 -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 fa58f1b542 Update evm to use consensus/linear refactoring
- Update geth dependency to v0.15.44 with chain->linear refactoring
- Fix warptest to use linear.Block instead of chain.Block
- Update lineartest import alias
2025-07-22 05:03:43 -05:00
zeekay cd319cc04c Update imports for node v1.13.20 refactoring
- Update dependencies to node v1.13.20 and geth v0.15.43
- Fix imports: consensus/engine → consensus/engine/core
- Fix imports: consensus/engine/chain → consensus/engine/linear
- Fix imports: consensus/linear/chaintest → consensus/linear/lineartest
2025-07-22 03:53:35 -05:00
zeekay 04d12b388f Update dependencies: node v1.13.19, geth v0.15.41 2025-07-22 00:11:01 -05:00
zeekay 7d8b52af3f Update copyrights properly 2025-07-21 21:10:03 -05:00
zeekay 5af0b66b69 Remove local replace directives and update to geth v0.15.40, node v1.13.13 2025-07-21 14:22:22 -05:00
zeekay ddafd6c12e Update for CLI compatibility 2025-07-21 12:57:42 -05:00
zeekay 2a19fe59a2 Update EVM module to remove local replace directives 2025-07-20 06:38:41 +00:00
zeekay 8d1c40e93a Update to use node v1.13.6, geth v0.15.6, and evm v0.5.4 2025-07-18 20:58:22 +00:00
zeekay a8911dbe50 Update to use node v1.13.5 and fix snowman import paths
- Update node dependency to v1.13.5
- Replace snowman references with chain
- Update SnowmanAPI to ChainAPI
- Update snowman-api-enabled to chain-api-enabled
- Fix import paths for consensus refactoring
- Update netrunner to v1.6.0
2025-07-18 20:52:53 +00:00
zeekay 608f45f8e9 Fix build, update to latest node infra 2025-07-18 15:07:36 -05:00
zeekay 97896c8439 Updates and improvements 2025-07-18 06:47:51 +00:00
zeekay c2e5564e89 Fix evm module imports and dependencies - resolve self-import issues 2025-07-18 00:38:33 +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 fc1662afd8 Fix import paths and add missing interface stubs for subnet-evm v0.7.5
- Update imports from luxdefi/node to luxfi/node
- Replace libevm interfaces with direct go-ethereum imports
- Add placeholder interface files for missing dependencies
- Update go.mod to use local luxfi/node path
- Fix merge conflicts in multiple files
- Create stub implementations for missing packages

This allows the project structure to align with v0.7.5 requirements
but the build still needs additional work to be fully functional.
2025-07-04 00:03:10 -04: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 OnurandGitHub d301d57063 chore: release v0.7.5 (#1609) 2025-06-26 13:01:58 +00:00
e0b25a7a78 build: Update libevm to v1.13.14-0.3.0.rc.1 (#1017) (#1608)
Co-authored-by: Austin Larson <[email protected]>
2025-06-25 18:52:34 +00:00
Stephen ButtolphandGitHub 7d6b65bcc3 Update avalanchego version to v1.13.2-rc.0 (#1597) 2025-06-18 15:35:50 +00:00
b76ca05159 Releases/v0.7.4 rc.0 (#1592)
Co-authored-by: Stephen Buttolph <[email protected]>
2025-06-04 22:41:59 +00:00
Ceyhun OnurandGitHub fef9618cb0 bump avalanchego to 6e04bc0ac1d3 (#1577) 2025-05-15 16:02:52 +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
Quentin McGaw 8c6fac7b65 chore(ci): check gencodec generated files are up to date
- fix generation of code using type aliases and Go 1.23
- reproducible generation locally (pin gencodec version)
- CI keeps generated Go files up to date with other source code
- Generate missing files

See original PR https://github.com/ava-labs/coreth/pull/856
2025-04-01 10:11:55 +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
Quentin McGawandGitHub 7cce3fc550 Revert "chore(deps): bump avalanchego to v1.13.1-0.20250321174807-6c72dfc4254a (#1516)" (#1535) 2025-03-28 17:24:50 +00:00
Quentin McGawandGitHub 083c910070 chore(deps): bump avalanchego to v1.13.1-0.20250321174807-6c72dfc4254a (#1516) 2025-03-28 14:28:19 +00:00
yacovmandGitHub c77125303d Update BLST to v0.3.14 to support Go 1.24 (#1534)
Signed-off-by: Yacov Manevich <[email protected]>
2025-03-28 13:22:22 +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
Quentin McGawandGitHub fc601a9c94 chore(deps): use libevm avalanchego based on v1.12.3-rc.1.0 (#1514) 2025-03-25 19:22:37 +01:00
Quentin Mc Gaw 497f43672c Merge branch 'master' into libevm 2025-03-21 10:27:18 +01:00
Richard PringleandQuentin Mc Gaw 07bd80e153 Update avalanchego version
See https://github.com/ava-labs/coreth/pull/779
2025-03-13 16:41:26 +01:00
Stephen ButtolphandQuentin Mc Gaw f60631fdda Name F-Upgrade Fortuna
See https://github.com/ava-labs/coreth/pull/854
2025-03-13 16:41:24 +01: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 OnurandGitHub 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 JalaliandGitHub 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 McGawandGitHub 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
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
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