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
Stephen Buttolph and Quentin Mc Gaw
3766df5748
Move GasLimit handling into the header package
...
See https://github.com/ava-labs/coreth/pull/822
2025-03-13 12:43:19 +01:00
Stephen Buttolph and Quentin Mc Gaw
23576e668f
Move header.ExtraPrefix calculation
...
See https://github.com/ava-labs/coreth/pull/825
2025-03-13 12:43:06 +01:00
Stephen Buttolph and Quentin Mc Gaw
93a5ce31cb
Improve plugin/evm/header tests
...
See https://github.com/ava-labs/coreth/pull/816
2025-03-13 12:42:54 +01:00
Stephen Buttolph and Quentin Mc Gaw
f6b1d3ab47
Refactor AP3 Window and Params
...
See https://github.com/ava-labs/coreth/pull/808
2025-03-13 12:42:44 +01:00
Quentin McGaw
dcbb43815a
feat(internal/ethapi)!: reject eth_getProof queries for historical blocks
...
- default behavior for pruning mode to reject blocks before the 32 blocks preceding the last accepted block
- default behavior for archive mode to reject blocks before ~24h worth of blocks preceding the last accepted block
- archive mode new option `historical-proof-query-window` to customize the blocks window, or set it to 0 to accept any block number
See https://github.com/ava-labs/coreth/pull/719
2025-03-13 12:41:27 +01:00
Stephen Buttolph and Quentin Mc Gaw
993b1b848a
Refactor BlockGasCost calculations
...
See https://github.com/ava-labs/coreth/pull/792
2025-03-13 12:41:14 +01:00
Stephen Buttolph and Quentin Mc Gaw
e2eb81efd1
Remove header.Extra from EstimateNextBaseFee
...
See https://github.com/ava-labs/coreth/pull/793
2025-03-13 12:41:03 +01:00
Stephen Buttolph and Quentin Mc Gaw
95b67daaa4
Refactor header.Extra verification
...
See https://github.com/ava-labs/coreth/pull/788
2025-03-13 12:40:52 +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
be9a0e3614
remove ctx locks and use chain locks ( #1483 )
...
Signed-off-by: Ceyhun Onur <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2025-03-10 19:28:42 +00:00