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
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
41c58abb6e
Update EVM
2025-07-26 03:55:18 -05:00
zeekay
1cfa89aa03
Use luxfi/crypto, luxfi/database, luxfi/ids
2025-07-25 22:22:41 -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
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
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
2cb1ee55cc
Rename SubnetEVM to EVM throughout codebase
...
- Updated all references from SubnetEVM to EVM
- This aligns with the new Lux architecture where EVM can run on L1, L2, or L3
- Removed 'subnet' terminology as it's being deprecated
2025-07-21 18:48:02 -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
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
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
b76ca05159
Releases/v0.7.4 rc.0 ( #1592 )
...
Co-authored-by: Stephen Buttolph <[email protected] >
2025-06-04 22:41:59 +00:00
Quentin McGaw and Arran 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
Quentin Mc Gaw
497f43672c
Merge branch 'master' into libevm
2025-03-21 10:27:18 +01:00
Stephen Buttolph and Quentin Mc Gaw
f60631fdda
Name F-Upgrade Fortuna
...
See https://github.com/ava-labs/coreth/pull/854
2025-03-13 16:41:24 +01:00
Stephen Buttolph and Quentin Mc Gaw
f2d604b380
Add F-Upgrade upgrades.Config support
...
See https://github.com/ava-labs/coreth/pull/770
2025-03-13 12:40:29 +01:00
Darioush Jalali and GitHub
ec00827c6e
refactor: params.ChainConfigExtra & RulesExtra -> params/extras (coreth a7f7061) ( #1430 )
2025-02-04 10:12:00 -08: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
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
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
0926f80e56
set timestamps in chain config ( #1353 )
2024-09-30 17:05:04 +00:00
Darioush Jalali and GitHub
928c5099d3
params: add BerlinBlock, LondonBlock, ShanghaiTime ( #1337 )
...
* params: add LondonBlock
* params: add ShanghaiTime
* params: add BerlinBlock
* params: add IsLondon checks to Cancun (similar to upstream)
2024-09-11 07:12:52 -07:00
Ceyhun Onur and GitHub
3ae977a0e8
add new line after timestamp hardforks ( #1331 )
2024-09-04 07:38:22 -07: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
Ceyhun Onur and GitHub
efb0f1d83e
use ctx network upgrades ( #1291 )
2024-08-20 16:32:25 +00:00
c00da36df7
Params nits ( #1280 )
...
* refactor params config
* rename SetEVMUpgrades
* rename file
---------
Co-authored-by: Darioush Jalali <[email protected] >
2024-08-14 15:11:55 +03:00
Ceyhun Onur and GitHub
69d3d83412
rename e upgrade to etna ( #1276 )
2024-08-12 18:06:29 +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
5fed36811e
Update avago 1.11.10 rc0 ( #1241 )
...
* Update to latest p2p API (#594 )
* sdk app errors
Signed-off-by: Joshua Kim <[email protected] >
* nit
Signed-off-by: Joshua Kim <[email protected] >
* nit
Signed-off-by: Joshua Kim <[email protected] >
* nit
Signed-off-by: Joshua Kim <[email protected] >
* nit
Signed-off-by: Joshua Kim <[email protected] >
* nit
Signed-off-by: Joshua Kim <[email protected] >
* nit
Signed-off-by: Joshua Kim <[email protected] >
* nit
Signed-off-by: Joshua Kim <[email protected] >
* nti
Signed-off-by: Joshua Kim <[email protected] >
* nit
Signed-off-by: Joshua Kim <[email protected] >
* nit
Signed-off-by: Joshua Kim <[email protected] >
* nit
Signed-off-by: Joshua Kim <[email protected] >
* nti
Signed-off-by: Joshua Kim <[email protected] >
---------
Signed-off-by: Joshua Kim <[email protected] >
* update go mod
* Remove block.Status (#593 )
* Remove block.Status
* nit
* nit
* nit
* update coreth indirect dep
* fix linter
* use rc.0 tag for e2e tests
* eupgrade: base definitions (#603 )
* eupgrade: base definitions
* updates
* nit: consistently use EUpgrade for replace later
* update test configs
* refactor json genesis specs in vm_test.go
* Update params/config.go
Signed-off-by: Darioush Jalali <[email protected] >
---------
Signed-off-by: Darioush Jalali <[email protected] >
* Update avalanchego v1.11.10 prerelease (#607 )
* update avago 668b452
* update avago
* update with test build tags
* update golangci
* update avalanchego
---------
Signed-off-by: Ceyhun Onur <[email protected] >
Co-authored-by: Ceyhun Onur <[email protected] >
* update to latest avago
* add test build tags to allowlist pkg
* add test tags
* add test tags to bind cmd
* add gingko test tags
* revert cosmetic changes
* fix test chain config timestamps
---------
Signed-off-by: Joshua Kim <[email protected] >
Signed-off-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
Co-authored-by: Joshua Kim <[email protected] >
Co-authored-by: Stephen Buttolph <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2024-07-26 19:41:18 +03:00
0b3ab4db15
Deprecate active precompiles ( #1186 )
...
* remove config fields from active rules at
* deprecate get active precompiles at
---------
Co-authored-by: Darioush Jalali <[email protected] >
2024-06-05 14:03:27 +03:00
0dc5c02e45
Geth v1.13.8 ( #1146 )
...
* 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
* bump avago
* bump coreth
* resync (#1164 )
* resync
* reapply fix
* review comments
* remove fixit comment
* fix space in log levels (#1167 )
* fix legacy lvls (#1175 )
* fix legacy lvls
* fix simulator logger
* fix typo in rlpgen comment
* update avalanchego to version with coreth on master branch
---------
Co-authored-by: Ceyhun Onur <[email protected] >
2024-05-16 10:31:36 -07:00
Ceyhun Onur and GitHub
616533416b
E upgrade config ( #1135 )
...
* introduce e upgrade
* map upgrades
* check if upgrade is non-nil
* fix checkForks
* Fix tests
* revert test changes
* fix tests
* remove block no param from IsCancun
* add UT
* use avalanche defaults for timestamps
* use non-zero timestamps in genesis configs
* fix test timestamps
* add timestamp to ethapi genesis
* fix blockchain test genesis timestamp
* fix test
* review fixes
2024-05-01 15:31:49 +03:00
177089c5ba
move network upgrade code to file ( #1136 )
...
* move network upgrade code to file
* Update params/network_upgrades.go
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* rename setevmupgrades
---------
Signed-off-by: Ceyhun Onur <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2024-03-29 17:51:04 +03:00
Ceyhun Onur and GitHub
9641a032ef
Genesis chainconfig cleanup ( #1123 )
...
* add upgrade overrides
* print json strings
* fix tests
* nits
* fix lint
2024-03-19 14:31:20 +00:00
Darioush Jalali and GitHub
b98246b716
squashed all from geth-v1.12.2-x ( #1117 )
...
* squashed all from geth-v1.12.2-x
* fix merge
2024-03-06 12:32:17 -08:00
Ceyhun Onur and GitHub
5877d7d0f3
fix cancun banner release ( #1076 )
2024-02-02 15:48:13 +01:00
07ff25b373
avago bump: Bloom filter metrics + Durango time ( #1064 )
...
* avago bump: Bloom filter metrics + Durango time
* Update plugin/evm/vm.go
Co-authored-by: Stephen Buttolph <[email protected] >
Signed-off-by: Darioush Jalali <[email protected] >
---------
Signed-off-by: Darioush Jalali <[email protected] >
Co-authored-by: Stephen Buttolph <[email protected] >
2024-01-26 21:25:11 +03:00
6308c49540
rename DUpgrade to Durango ( #1029 )
...
* rename DUpgrade to Durango
* Update core/evm.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update x/warp/contract.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update precompile/contracts/nativeminter/contract.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update predicate/predicate_bytes.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update precompile/precompileconfig/config.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update x/warp/config.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update x/warp/contract.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update x/warp/contract.go
Signed-off-by: Darioush Jalali <[email protected] >
---------
Signed-off-by: Darioush Jalali <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2024-01-04 16:41:57 -05:00