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 Onur and GitHub
d301d57063
chore: release v0.7.5 ( #1609 )
2025-06-26 13:01:58 +00:00
375d3eccce
Remove handler special case ( #1604 )
...
Co-authored-by: aaronbuchwald <[email protected] >
2025-06-25 17:55:19 +00:00
9e9b747ae2
Fix log structuring ( #1606 )
...
Co-authored-by: Stephen Buttolph <[email protected] >
2025-06-25 17:55:01 +00:00
3f09b5243e
Reduce custom types ( #1603 )
...
Signed-off-by: Ceyhun Onur <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
Co-authored-by: Quentin McGaw <[email protected] >
2025-06-25 17:54:56 +00:00
566f90e00c
Simplfy vm tests ( #1605 )
...
Co-authored-by: Stephen Buttolph <[email protected] >
2025-06-25 17:54:35 +00:00
3bd64e5c39
Remove static service ( #1602 )
...
Co-authored-by: aaronbuchwald <[email protected] >
Co-authored-by: Stephen Buttolph <[email protected] >
2025-06-25 17:54:29 +00:00
23c020850f
chore(plugin/evm/customtypes): use upstream RLPHash function ( #918 ) ( #1601 )
...
Co-authored-by: Quentin McGaw <[email protected] >
2025-06-24 20:09:23 +00:00
Stephen Buttolph and GitHub
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 Onur and GitHub
63bfb62783
set minfee from state on mempool init ( #1594 )
2025-06-04 22:41:42 +00: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
Nicolas Arnedo Villanueva and GitHub
4c005b19b4
updated link Subnet-EVM API ( #1588 )
2025-06-02 12:59:28 +00:00
Ceyhun Onur and GitHub
ed4fd5c53a
use avago db factory to create new databases ( #1567 )
...
Signed-off-by: Ceyhun Onur <[email protected] >
2025-05-15 16:50:59 +00:00
Ceyhun Onur and GitHub
fef9618cb0
bump avalanchego to 6e04bc0ac1d3 ( #1577 )
2025-05-15 16:02:52 +00:00
5a2142701a
docs: add releasing readme document ( #1538 )
...
Signed-off-by: Quentin McGaw <[email protected] >
Co-authored-by: Ceyhun Onur <[email protected] >
2025-05-15 14:58:10 +00:00
Quentin McGaw and GitHub
59032cac49
chore(all): minor changes post-libevm merge ( #1552 )
2025-05-15 13:34:18 +00:00
Quentin McGaw and GitHub
9afa615197
chore(all): use upstream protocol params ( #1563 )
2025-05-15 12:36:18 +00:00
Ceyhun Onur and GitHub
9e09713625
wrap corruptable db ( #1565 )
2025-04-18 08:57:40 +00:00
Quentin Mc Gaw
9f170c7057
Merge branch 'master' into libevm
2025-04-02 11:28:31 +02: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 McGaw
ccab64fcf8
chore(types): move plugin/evm/types to plugin/evm/customtypes
...
See original PR https://github.com/ava-labs/coreth/pull/890
2025-04-01 10:15:17 +02:00
Quentin McGaw
4f86a8c129
chore(rawdb): move plugin/evm/rawdb to plugin/evm/customrawdb
...
See original PR https://github.com/ava-labs/coreth/pull/888
2025-04-01 10:15:14 +02:00
Arran Schlosberg and Quentin Mc Gaw
083810610a
refactor: move core/types to plugin/evm/types
...
The `types` package now only contains `coreth` logic an nothing from upstream so it shouldn't live in the same location in the repo.
Automated:
```shell
$ git mv core/types plugin/evm/types
$ find -name '*.go' | xargs sed -i 's|"github.com/ava-labs/coreth/core/types"|"github.com/ava-labs/coreth/plugin/evm/types"|'
$ golangci-lint run --fix
```
See original PR https://github.com/ava-labs/coreth/pull/877
2025-04-01 10:14:56 +02: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
Arran Schlosberg and Quentin Mc Gaw
b5551b8aad
chore(plugin/evm): log libevm version during VM init
...
See original PR https://github.com/ava-labs/coreth/pull/871
2025-04-01 10:12:15 +02:00
Quentin McGaw and Arran Schlosberg
e255b3cc1e
refactor(core/rawdb): table-driven InspectDatabase config
...
See original PR https://github.com/ava-labs/coreth/pull/850
Co-authored-by: Arran Schlosberg <[email protected] >
2025-04-01 10:11:56 +02:00
Quentin McGaw
2967749cb4
refactor(core/types): add WithHeaderExtra helper function
...
See original PR https://github.com/ava-labs/coreth/pull/855
2025-04-01 10:11:55 +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
Quentin McGaw and Arran Schlosberg
6d0bf13fbb
chore(core/types): remove block.go and import Block and Body from libevm
...
- `BlockGasCost` getter pure function
- New import from libevm's `core/types`: `Block`, `Blocks`, `Body`, `CalcUncleHash`, `NewBlock` and `NewBlockWithHeader`
- remove now unneeded `core/types/block.go`
See original PR https://github.com/ava-labs/coreth/pull/760
Signed-off-by: Quentin McGaw <[email protected] >
Co-authored-by: Arran Schlosberg <[email protected] >
2025-04-01 10:10:03 +02:00
ba0ad8d3b3
chore(core/types): header JSON and RLP serialization hooks
...
- Define `HeaderExtra` with `RLP` and `JSON` serialization methods
- remove `BlockNonce`
- remove `EncodeNonce`
- new functions `GetHeaderExtra` and `SetHeaderExtra`
- Migrate existing custom `Header` to `HeaderSerializable` in block_ext.go with only `Hash` method for RLP code generation
- Rename files gen_header_json.go to gen_header_serializable_json.go
- Rename files gen_header_rlp.go to gen_header_serializable_rlp.go
- Update avalanchego to prevent double core/types extra registration conflict
See original PR https://github.com/ava-labs/coreth/pull/746
Signed-off-by: Quentin Mc Gaw <[email protected] >
Co-authored-by: Quentin Mc Gaw <[email protected] >
Co-authored-by: Arran Schlosberg <[email protected] >
Co-authored-by: Ceyhun Onur <[email protected] >
Co-authored-by: Darioush Jalili <[email protected] >
2025-04-01 10:09:58 +02:00
Ceyhun Onur and Quentin 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
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
felipemadero and GitHub
d175efbd0a
don't assume rpc format on the plugin evm client ( #1509 )
2025-03-28 10:19:57 +00:00
Meaghan FitzGerald and GitHub
a289889187
docs(plugin/evm): add local API docs to be pulled by Docs remote-content.mts ( #1513 )
2025-03-25 18:24:15 +00:00
Quentin Mc Gaw
497f43672c
Merge branch 'master' into libevm
2025-03-21 10:27:18 +01:00
Richard Pringle and Quentin Mc Gaw
07bd80e153
Update avalanchego version
...
See https://github.com/ava-labs/coreth/pull/779
2025-03-13 16:41:26 +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
Ceyhun Onur and Quentin Mc Gaw
cdcc5cc2f7
move ap4 block gas cost check to header
...
See https://github.com/ava-labs/coreth/pull/849
2025-03-13 16:41:21 +01:00
Ceyhun Onur and Quentin Mc Gaw
fbdc6f17d9
partial cherry-pick: Coreth/Implement ACP-176
...
See https://github.com/ava-labs/coreth/pull/815
2025-03-13 16:41:19 +01:00
Quentin Mc Gaw
af698ac18e
Merge branch 'master' into merge-coreth-master
2025-03-13 16:40:34 +01:00
Stephen Buttolph and Quentin Mc Gaw
9b0be0edfe
Implement header.ExtraPrefix serialization in upgrade/ packages
...
See https://github.com/ava-labs/coreth/pull/846
2025-03-13 12:44:16 +01:00
Stephen Buttolph and Quentin Mc Gaw
ebff831b4f
Add Rules to PredicateBytesFromExtra
...
See https://github.com/ava-labs/coreth/pull/845
2025-03-13 12:44:05 +01:00
Stephen Buttolph and Quentin Mc Gaw
a414698c8f
Move predicate header parsing
...
See https://github.com/ava-labs/coreth/pull/824
2025-03-13 12:43:57 +01:00
Stephen Buttolph and Quentin Mc Gaw
7b22ec6ef2
Round up in header.EstimateRequiredTip
...
See https://github.com/ava-labs/coreth/pull/840
2025-03-13 12:43:37 +01:00