Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cortina 16: Ava-labs/core-eth v0.12.9-rc5 (avalanchego 1.10.16) #92

Merged
merged 13 commits into from
Mar 8, 2024

Conversation

knikos
Copy link
Member

@knikos knikos commented Mar 8, 2024

Why this should be merged

This PR contains changes from ava-labs/core-eth between cortina-14 and cortina-15. Its required for upcoming merge of cortina-15 changes to caminogo.

Notable changes

Diff with previous tag v1.1.15-rc1 (coreth v0.12.8-rc.1) ava-labs/coreth@v0.12.8-rc.1...v0.12.9-rc.5

How this works

Conflicts

  • RELEASES.md
  • core/blockchain.go (due to newly introduced avax method CacheConfig() right below our SetAdminController)
  • go.sum
  • plugin/evm/version.go
  • scripts/versions.sh

Fixes

N/A

How this was tested

Automated unit tests

aaronbuchwald and others added 13 commits November 3, 2023 12:04
* ethclient: restore special casing in ToBlockNumArg

* add explicit SafeBlockNumber

* wspace

* add string
* make prefetcher thread-safe

* outline TODOs

* add more TODOs

* add more TODOs

* update miner to use prefetcher

* remove Copy2

* work on refactoring prefetcher for concurrent use

* keep on keeping on

* spec multi-trie

* limit prefetching across all subfetchers

* making progress

* add functionality to wait

* remove addressed TODOs

* rename sm

* more cleanup

* move term to mt

* more moving around

* move loop into prefetcher

* more cleanup

* outline todo for using a single queue

* working through single channel

* continuing refactor

* make sure to return copy

* change name to trie orchestrator

* more progress on revamp

* skip prefetch if to is nil

* start task processing

* remove unnecessary changes

* add more stop behavior

* add comment for miner prefetcher

* add comments for const

* tests passing locally

* cleanup usage of wg

* track time spent waiting on fetcher

* track skips

* nit on prefetcher

* don't clear state channel

* cleanup restore outstanding requests

* add debugging logs

* remove verbose logging

* ensure inner loop uses different variables

* clean up var naming

* replace panics with logs

* set target task size as fixed

* remove loop checks

* clearer metrics tracking

* use bounded workers

* use cancelable context

* copy meter

* add doneLock

* add more comments

* simplify bounded workers

* track outstanding work

* Stop -> Wait

* allow copies up to maxConcurrentReads

* add largest load metric

* lint

* respect metrics enabled

* track num fetchers

* build works

* fix prefetcher test

* don't clear pending tasks when waiting

* cleanup trie prefetcher scale up

* update tests with parallelism

* use spawner instead of spawn

* fix more tests

* fix shutdown stall

* update default parallelism to 48

* spawn trie per key

* change prefetcher parallelism to 16

* add TODO

* remove context from bounded workers

* remove context from bounded workers

* remove delivery metrics

* handle shutdown in wait

* remove extra locking

* rename var

* update comments around shutdown path

* reorder channel vars

* use processingTasks instead of outstandingRequests

* fix comment on panic

* ensure idle workers are fed first

* try live copy first

* remove unnecessary waitgroup

* honor stop
…ock requests (ava-labs#402)

* sync/handlers: add soft cap on total block data size while serving block requests

* sync/handlers: add block that exceeds soft cap if it's the first block

* plugin/evm: update network codec size to 2MB

* address nits

* Add comment to p2p codec max message size
# Conflicts:
#	RELEASES.md
#	core/blockchain.go
#	go.sum
#	plugin/evm/version.go
#	scripts/versions.sh
@knikos knikos requested a review from evlekht March 8, 2024 13:00
@knikos knikos marked this pull request as ready for review March 8, 2024 13:01
@knikos knikos merged commit d258907 into dev Mar 8, 2024
7 checks passed
@knikos knikos deleted the nikos/cortina/16 branch March 8, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants