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
bee2bd51c1
fix: update EVM for new consensus interfaces and Lux metrics
...
- Add AppSender adapter for interface compatibility
- Update block interfaces to match new consensus chain
- Replace prometheus metrics with Lux metrics library
- Fix import paths for consensus packages
- Update message types for new consensus engine
- Fix block Accept/Reject method signatures
- Add missing Status() method to Block
- Create public wrapper methods for ChainVM interface
- Update gossip pool to use Lux metrics
This ensures compatibility with updated node consensus interfaces.
2025-07-30 14:21:42 -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
8e2a0e979a
Update architecture
2025-07-25 00:10:28 -05:00
zeekay
e79433b58a
Update LP support
2025-07-24 02:25:18 -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
7d8b52af3f
Update copyrights properly
2025-07-21 21:10:03 -05:00
zeekay
2a19fe59a2
Update EVM module to remove local replace directives
2025-07-20 06:38:41 +00:00
zeekay
608f45f8e9
Fix build, update to latest node infra
2025-07-18 15:07:36 -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
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
e65d47be20
remove request parse check in network forwarding ( #977 ) ( #1593 )
...
Signed-off-by: Ceyhun Onur <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
Co-authored-by: Hanzo Dev <[email protected] >
2025-06-04 22:19:01 +00:00
Quentin Mc Gaw
497f43672c
Merge branch 'master' into libevm
2025-03-21 10:27:18 +01:00
5d1b0d8a14
Remove legacy gossip ( #1435 )
...
* Began #1428 by removing legacy gossip handler from network.go and its test file.
* Completed all recommended removals in #1428 . Did not address any other changes in the original PR outside the scope of this issue
* Skip registration in Codec for removed EthTxsGossip type to ensure that numbering is consistent
* Fixed small RELEASES.md error incorrectly denoting version
* Apply suggestions from code review
Nit - typo, reduce git diffs
Co-authored-by: Quentin McGaw <[email protected] >
Signed-off-by: Austin Larson <[email protected] >
* Changed test codec version name for clarity
* Removed testCodecVersion due to later comparison with message.Version - use this for tests instead
---------
Signed-off-by: Austin Larson <[email protected] >
Co-authored-by: Ceyhun Onur <[email protected] >
Co-authored-by: Quentin McGaw <[email protected] >
2025-01-29 13:15:55 -05: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
Darioush Jalali and GitHub
fa13b3d518
nit: peer/network.go: remove refs to cross chain in comments ( #1333 )
2024-09-05 14:31:17 +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 Jalali and GitHub
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
03aea9d701
Mark ourself as connected ( #543 ) ( #1172 )
...
Co-authored-by: Stephen Buttolph <[email protected] >
2024-05-13 17:16:31 +00:00
Stephen Buttolph and GitHub
4d1f3225b8
Remove cancellation for Send.*AppRequest messages ( #1142 )
...
* Remove cancellation for Send.*AppRequest messages
* Check context cancellation before sending request
2024-04-04 15:57:48 -04:00
Ceyhun Onur and GitHub
7b87893eab
Coreth sync v0.13.1 rc.5 ( #1111 )
...
* sync coreth v0.13.1-rc.5
* fix tests
* fix upgrade bytes test
* bump subnet-evm version
* sort default configs
* sort default configs
2024-03-01 17:29:13 +01:00
ce843d4cd1
P2p sdk handlers ( #1031 )
...
* rename tx handlers
* add p2p sdk handlers
* fix tests
* fix imports
* bump min go version
* downgrade golangci
* remove noop handler
* bump avago rc
* fix uint64
* bump avalanchego rc version
* fix linter
* revert txpool uint change
* bump subnet-evm version
* run simulator in a different step
* remove load test from precompile tests
* run simulator in a different step
* remove load test from precompile tests
* rename simulator to load test
* parallelize e2e steps
* use checkout
* split to different workflows
* move to same folder
* bump avago
* add time to codec
* fix load test (#1043 )
* tweak global limit
* uncomment submit
* update consts
* update avalanchego version
* fix compilation err
* simpler fix
* remove mempool configs
* bump latest avago rc
* fix tests
* update avalanchego
* fix mockgen
* bump ANR
* remove unnecessary log levels
* Fix bloom reset (#1049 )
* add UT for eth tx pool subscribe
* fix eth tx pool subscribtion
* don't use journal
* simplify test
* increase timeout
* Update plugin/evm/tx_gossip_test.go
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
---------
Signed-off-by: Ceyhun Onur <[email protected] >
Co-authored-by: Ceyhun Onur <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
* Fix racey bloom access and replace time.Sleep with require.Eventually
---------
Signed-off-by: Ceyhun Onur <[email protected] >
Co-authored-by: Patrick O'Grady <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
Co-authored-by: Stephen Buttolph <[email protected] >
2024-01-23 17:23:08 +03:00
zeekay
f8dd36a8be
Update SubnetEVM
2024-01-03 09:44:09 +01:00
315cf93071
prepare release v0.5.10 ( #1019 )
...
* bump versions
* change p2p network code
* Revert "change p2p network code"
This reverts commit 7960d9e524 .
* Use `p2p.Network` (#384 )
---------
Co-authored-by: Joshua Kim <[email protected] >
2023-12-07 00:11:32 +03:00
aaronbuchwald and GitHub
76fba30fdb
downgrade p2p network logs from debug to trace ( #1007 )
2023-11-28 15:02:03 -05:00
Dan Laine and GitHub
53a0b4a668
Add contexts ( #874 )
...
* add context to SendAppRequest signature
* stop waiting on app response upon context cancellation
* add contexts in other network send functions
* crosschain cancellation
* app request cancellation
* app request any on cancellation
* fixes
* change ErrorContains to ErrorIs
* treat as fatal TODO
* use context
* simplify texts
* test nits
* comment; make responseChan buffer length 1
* update test
* peer: remove TODOs for treating appSender err as fatal
2023-10-03 19:51:51 -04:00
Ceyhun Onur and GitHub
6e22df3bc5
Add SDK Router message handling ( #316 ) ( #858 )
...
* Add SDK Router message handling (#316 )
Co-authored-by: Stephen Buttolph <[email protected] >
* revert avago version bump
* Fix hanging requests after Shutdown (#326 ) (#859 )
* Fix hanging requests after Shutdown (#326 )
* fix requests hanging after shutdown
* fix build
---------
Signed-off-by: Stephen Buttolph <[email protected] >
Co-authored-by: Stephen Buttolph <[email protected] >
* Bump avago rc (#860 )
* Update to 1.10.10-rc.2 (#328 )
* update to avalanchego 1.10.10-rc.2
* nits
* nit
* add batchsize
* increase timeout dynamically
---------
Co-authored-by: Joshua Kim <[email protected] >
---------
---------
2023-09-18 21:24:58 -04:00
70720cb5cf
Fail outstanding app requests on shutdown ( #618 )
...
Co-authored-by: aaronbuchwald <[email protected] >
2023-04-20 10:15:57 -07:00
aaronbuchwald and GitHub
b592052bd4
Start coreth migration ( #552 )
...
* Start coreth migration
* Bump version to v0.4.11 and avalanchego dep
* goimports core/blockchain.go
* Update compatibility.json
* Update compatibility in README
* Bump avalanchego dep to v1.9.10
2023-03-01 17:44:38 -08:00
Ceyhun Onur and GitHub
4446703a0a
Coreth 0.11.6 sync ( #436 )
...
* sync changes from coreth-0.11.6
* remove diff patch
* revert format changes
* nits (#441 )
2023-01-23 14:06:36 -05:00
715ca80766
use generic set ( #391 )
...
* use generic set
* bump version
* nit
* update inner go mod
* Bump rpcchainvm version in compatibility.json
Co-authored-by: aaronbuchwald <[email protected] >
Co-authored-by: Stephen <[email protected] >
2022-12-06 18:09:37 -07:00
a7afbfc2c4
Bump avalanchego v1.9.3 and Coreth Migration through v0.11.3 ( #369 )
...
* Migrate coreth to v0.11.3 wip
* WIP
* WIP
* migrate eth/gasprice
* update block building
* Add skip upgrade check to config
* Finish up changes
* Add ctx to tests
* Remove ported timer
* mod tidy for cmd/simulator
* Remove dead testcode
* Fix typo
* Fixes
* Fixes
* sync auto-formatted changes (#371 )
* sync auto-formatted changes
* add coreth version txt
* add latest coreth version
* Update plugin/evm/block_builder.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update plugin/evm/vm.go
Co-authored-by: Darioush Jalali <[email protected] >
Co-authored-by: Ceyhun Onur <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2022-11-29 09:39:18 -05:00
158e8882bd
Bump avalanchego v1.9.1 ( #324 )
...
* changes to requester
* fix compilation
* whoopse
* whoopse again
* Bump avalanchego dependency to v1.9.1
* Migrate OpenTelemetry changes
* go mod tidy cmd/simulator
Co-authored-by: Anusha Chillara <[email protected] >
Co-authored-by: Stephen <[email protected] >
2022-10-28 19:30:48 -04:00
9ab180e289
chore(network): implementing no-op cross-chain app handlers ( #304 )
...
* implementing cross-chain app handlers
* nits
Co-authored-by: Ceyhun Onur <[email protected] >
2022-10-19 08:19:48 -07:00
Darioush Jalali and GitHub
4d160e239e
statesync for subnet-evm ( #189 )
...
* Unwrap ETHChain
* hook in vm.ethConfig
* statesync for subnet-evm
* remove unused configJSON
* add err check
* add synchronization
* add default config values
* delay initialization of gossiper
* Revert "add synchronization"
This reverts commit 2e8c93e58d7853de15a21ebd1460a3cd3858a6af.
* fix test
* fix statesync code prefix issue
* fix comment
* Update sync/README.md
* Update sync/README.md
* Update sync/README.md
* Update core/rawdb/accessors_state_sync.go
* port missing file from coreth
* fix-import
* subscribe before goroutine
2022-08-30 09:57:09 -04:00
a4fd1b5a8e
[AV-1898] Update [email protected] ( #147 )
...
* update versions
* Fix updated version
* use bumped ANR branch
* dep from ANR main now
* nits
Co-authored-by: Aaron Buchwald <[email protected] >
Co-authored-by: Felipe Madero <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2022-07-13 18:09:16 -04:00
307b38cdb3
[AV-1753] merge coreth 0.8.12 ( #132 )
...
* merge coreth 0.8.12
* add nits (#133 )
Co-authored-by: Patrick O'Grady <[email protected] >
2022-06-13 19:54:50 -07:00