76 Commits
Author SHA1 Message Date
zeekay 4ac18547fc Update to v2 module path and fix imports 2025-08-02 13:13:43 -05:00
zeekay b69677733e fix: remove v2 from internal imports 2025-08-02 12:55:11 -05:00
zeekay 69b8f99818 fix: update imports to use v2 paths 2025-08-02 12:54:33 -05:00
zeekay eba7646210 Fix import 2025-08-02 12:47:52 -05:00
zeekay 204ccb43c0 fix: update node imports to v2 path 2025-08-02 12:40:21 -05:00
zeekay b4f8fee98a fix: correct double v2 in imports 2025-08-02 12:34:16 -05:00
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 402cc58096 Unify logging to use luxfi/log everywhere
- Replace all 115+ files using github.com/luxfi/geth/log with github.com/luxfi/log
- Remove complex logger adapters
- Create minimal compatibility layer (asGethLogger) for external dependencies
- Fix go.mod version issue with luxfi/node
- Simplify logging infrastructure for better performance and maintainability
2025-07-26 07:28:27 -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 aa9363b885 Re-organize 2025-07-25 01:18:10 -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 30986b4f91 Clean up project 2025-07-24 00:41:34 -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 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 8a4d08e0ae Re-organize consensus 2025-07-21 22:01:01 -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 2a19fe59a2 Update EVM module to remove local replace directives 2025-07-20 06:38:41 +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 8da155c1b1 Update imports 2025-07-18 01:55:16 +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
Quentin Mc Gaw 9f170c7057 Merge branch 'master' into libevm 2025-04-02 11:28:31 +02:00
Quentin McGawandArran Schlosberg f890fcd476 chore(all): final changes to the libevm branch
Changes applied from comments on the review of https://github.com/ava-labs/coreth/pull/820

See original PR https://github.com/ava-labs/coreth/pull/862

Signed-off-by: Quentin McGaw <[email protected]>
Co-authored-by: Arran Schlosberg <[email protected]>
2025-04-01 10:15:18 +02:00
Ceyhun OnurandQuentin Mc Gaw 99fca502ac chore(all): remove vmerrs package
- Import errors from libevm/vmerrs
- Define subnet-evm specific errors in plugin/evm/vmerrors

See original PR https://github.com/ava-labs/coreth/pull/829
2025-04-01 10:08:42 +02:00
62b5cf8d0d [documentation] Differentiate between L1 and Subnet self-signing optimization cases (#1529)
Signed-off-by: cam-schultz <[email protected]>
Co-authored-by: Quentin McGaw <[email protected]>
2025-03-28 14:29:21 +00:00
eae544c463 chore(all): fix different typos (#1506)
Signed-off-by: pudongair <[email protected]>
Signed-off-by: linchizhen <[email protected]>
Signed-off-by: lencap <[email protected]>
Co-authored-by: pudongair <[email protected]>
Co-authored-by: linchizhen <[email protected]>
Co-authored-by: lencap <[email protected]>
2025-03-25 19:25:23 +00: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
Quentin Mc Gaw af698ac18e Merge branch 'master' into merge-coreth-master 2025-03-13 16:40:34 +01:00
9a7239ab94 update: readme changes for 9000 upgrade
See https://github.com/ava-labs/coreth/pull/761

Co-authored-by: Darioush Jalali <[email protected]>
Co-authored-by: Quentin McGaw <[email protected]>
2025-03-13 12:40:16 +01:00
cce6dc2a2e chore: fix some comments (#1431)
Signed-off-by: chuangjinglu <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>
2025-03-04 23:27:35 +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
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
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
89ee35b1bc Fix Typos in Documentation (#1404)
* typos README.md

Signed-off-by: Dmytrol <[email protected]>

* typos README.md

Signed-off-by: Dmytrol <[email protected]>

---------

Signed-off-by: Dmytrol <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>
2024-12-12 11:13:24 +03:00
74327ea329 Code sync to go-ethereum v1.13.14 (#1152)
* 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

* ready to format

* format: remove upstream go-ethereum

* format: rename packages as fork

* Revert "format: remove avalanche header"

This reverts commit 09d505bd5e906ac186643061437e665b116b5bf6.

* fix logging

* deadcode linting

* more linting

* fix mock

* fix unused

* expecteds

* passing UTs

* add comment

* unused

* resolve some open issues

* undo script change

* test resillience

* fix compile

* wip

* test is fixed

* fix expecteds

* nits

* fix merge

* remove todos

* try

* try

* try

* docker stuff

* fix

* does this work

* fix

* hardcode for now

* fix

* hardcode for now

* remove TODO comments

* fix

* make txindexer more similar to upstream

* peer/network: move ctx check

* enforce tips in miner

* align nits with arr4n

* remove use of deprecated type core.GenesisAccount

* Revert "peer/network: move ctx check"

This reverts commit f37bc6bc3ef228bbd6f997b00871aabfcd37403e.

* fix ctx check

* fix ctx again

* undo vm_test changes

* reduce diffs with ARR4N's branch

* update for enforcing gasTip

* unbuffer chan

* update to use commit(true)

* use TestOnlyAllowDuplicateBlocks

* Revert "update to use commit(true)"

This reverts commit 4aa9cc9efb36586a93cea9a39842d4d304b584b6.

* overflow in state_transition err

* add http body limit flag (#1327)

* Tail lock revisited (#1328)

* avoid modifying the pointer

* improve readability

* prevent race in tail reading

* improve repairTxIndexTail readability

* use shared func

---------

Co-authored-by: Ceyhun Onur <[email protected]>
2024-09-02 17:56:46 +03:00
Darioush JalaliandGitHub feed42f7bf Bump avago master (#1316)
* bump avalanchego to master

* go mod tidy
2024-08-29 09:21:56 -07:00
Darioush JalaliandGitHub 8167d32d82 warp: add "requirePrimaryNetworkSigners" precompile config (#1232)
* warp: add "requirePrimaryNetworkSigners" precompile config

* unused

* passing ut for re-enable precompile

* simplify

* Update plugin/evm/vm_warp_test.go

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

* reduce diff

* review comments

* refactor

* verified in ut

* minor refactor

* simplify

* Revert "simplify"

This reverts commit d698dfb76d40b1724b6b0f87875172c9cde8d490.

---------

Signed-off-by: Darioush Jalali <[email protected]>
2024-08-22 17:32:19 +00: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