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

Migrate warp backend from Subnet-EVM #387

Merged
merged 7 commits into from
Nov 28, 2023
Merged

Migrate warp backend from Subnet-EVM #387

merged 7 commits into from
Nov 28, 2023

Conversation

aaronbuchwald
Copy link
Collaborator

@aaronbuchwald aaronbuchwald commented Nov 13, 2023

Why this should be merged

This PR migrates the warp/ package and required accompanying changes from Subnet-EVM into Coreth: https://github.com/ava-labs/subnet-evm/tree/v0.5.9/warp

How this was tested

Takes test coverage from the migrated package.

@aaronbuchwald aaronbuchwald self-assigned this Nov 15, 2023
@aaronbuchwald aaronbuchwald marked this pull request as ready for review November 16, 2023 14:35
darioush
darioush previously approved these changes Nov 16, 2023
peer/client.go Outdated Show resolved Hide resolved
plugin/evm/config.go Show resolved Hide resolved
plugin/evm/vm.go Show resolved Hide resolved
warp/aggregator/aggregator.go Outdated Show resolved Hide resolved
warp/validators/state.go Show resolved Hide resolved
warp/handlers/signature_request_test.go Show resolved Hide resolved
aaronbuchwald and others added 2 commits November 27, 2023 17:18
Co-authored-by: Ceyhun Onur <ceyhun.onur@avalabs.org>
Signed-off-by: aaronbuchwald <aaron.buchwald56@gmail.com>
@aaronbuchwald aaronbuchwald merged commit 06c94d3 into master Nov 28, 2023
8 checks passed
@aaronbuchwald aaronbuchwald deleted the warp-backend branch November 28, 2023 17:14
darioush pushed a commit that referenced this pull request Apr 25, 2024
* save progress

* save progress

* saving more progress

* add more context

* more comments

* fix items

* fix removal

* passs config

* add additional comment

* move cache init

* remove TODO

* fix logs format

* nits

* insert into cache oldest first

* make bounded buffer generic

* cleanup FIFO cache

* cleanup comments

* simplify bounded buffer

* fix `Last`

* nits

* more comment nits

* fix min size of FIFOCache

* add NoOpFIFOCache

* move `FlattenLogs` to `types`

* fix off by 1

* revert LastBloomIndex

* fifo cache nits

* simplify bounded buffer

* move acceptedHeaderCache to headerchain

* remove unnecessary comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants