zeekay
e5550479f0
chore: remove 84 TODOs from production code (37 remaining)
2026-03-02 23:59:00 -08:00
zeekay
d32e075809
refactor: update to vm v1.0.18, migrate log and metrics packages
...
- Update vm dependency to v1.0.18
- Remove internal log package in favor of luxfi/log
- Migrate prometheus to gatherer package
2026-01-11 21:38:34 -08:00
zeekay
6cee3f0f39
evm: fix precompiles and add ML-DSA support
...
- Fix pqcrypto precompile API
* Correct ML-KEM/ML-DSA/SLH-DSA verify patterns
* Use PublicKeyFromBytes() -> Verify() pattern
* All tests passing
- Add ML-DSA precompile at 0x0200...0006
* Complete implementation with tests
* Gas cost: 100k base + 10 per message byte
* Performance: ~108μs verify time
* FIPS 204 compliant via circl
- Fix warp precompile
* Correct signature verification
* Update tests
- Re-enable skipped tests
* vm_upgrade_bytes_test.go
* vm_validators_test.go
* vm_warp_test.go
* load_test.go
* warp_test.go
- Add gossip logger adapter
- Update database implementations
- Fix config tests
All precompiles now working with real post-quantum crypto
2025-11-22 16:37:24 -08:00
zeekay
99f9994980
feat: update consensus import paths for v1.21.1
...
- Fixed all import paths for new consensus structure
- Added local replace directives for development
- Updated uptime and choices import paths throughout
2025-11-10 08:20:16 -08:00
zeekay
8bc9dd01a8
Fix CI: Go version and script permissions
...
- Change Go version from 1.24.6 to 1.22.8 (stable version)
- Ensure all build scripts have executable permissions
- Fix covdata issue by using stable Go version
- CI should now pass all checks
2025-09-19 05:56:47 +00:00
zeekay
e52ff28505
Fix dependencies to use correct tagged versions
2025-08-12 18:41:45 +00:00
zeekay
f8e357bedd
Update usage of log, metrics, etc
2025-08-04 17:05:04 +00:00
zeekay
ff82f8284a
Update to latest geth, so on
2025-08-04 02:23:56 -05:00
zeekay
028e0a5ca0
feat: update EVM implementation with latest improvements
...
- Update import paths to use luxfi/consensus instead of luxfi/snow
- Add protocol parameters for EIP-4844 blob gas support
- Improve database handling with proper metrics and caching
- Update dependency management scripts for better fork maintenance
- Fix various import paths and test references
2025-08-04 01:45:45 -05:00
zeekay
74698fa0b3
Fix compilation errors: imports, triedb types, and upgrade references
2025-08-02 06:26:03 +00:00
zeekay
203dc16d61
Fix more compilation errors: disable warp verification, fix BigMax, update DBOverride implementations
2025-08-02 06:13:56 +00:00
zeekay
b6299fa5ee
Fix more compilation errors: unused imports, DBOverride workaround, validator state compatibility
2025-08-02 06:10:37 +00:00
zeekay
9a0c7ed1e8
Fix compilation errors: math import, triedb compatibility, warp API updates, params errors
2025-08-02 06:06:49 +00:00
zeekay
b1979b4a02
Update EVM
2025-08-01 01:23:42 +00:00
zeekay
3ad3898e74
Fix more tests
2025-07-28 02:25:05 +00:00
zeekay
88c11d21de
Use go-ethereum under hood for v1
2025-07-26 19:55:05 +00: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
7d8b52af3f
Update copyrights properly
2025-07-21 21:10:03 -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
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
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
e16b6784db
fix: remove libevm dependencies
...
- Replace ethereum/go-ethereum/libevm with ava-labs/libevm imports
- Prepare for removal of libevm dependencies
2025-07-17 16:54:47 -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
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
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
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
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
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