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

Coreth 0.11.6 sync #436

Merged
merged 6 commits into from
Jan 23, 2023
Merged

Coreth 0.11.6 sync #436

merged 6 commits into from
Jan 23, 2023

Conversation

ceyonur
Copy link
Collaborator

@ceyonur ceyonur commented Jan 17, 2023

Why this should be merged

Syncs coreth 0.11.6 changes

How this works

$ git checkout -b coreth-0.11.6-sync
$ git remote add coreth git@github.com:ava-labs/coreth.git
$ git fetch --all
$ git diff v0.11.3 v0.11.6 > diff.patch
$ git apply diff.patch --reject --whitespace=fix

v0.11.3 was the last synced tag to subnet-evm (prior to this PR)

After applying the patch, then iterate manually over rejected files. at this point I preferred iterating over coreth diffs in a separate window and checked differences manually. I.e open 2 windows one:
1- within coreth that shows diffs between v0.11.3 to v0.11.6
2- subnet-evm
and compare missing differences in folders with those rejected files.

How this was tested

UTs should cover this.

@ceyonur ceyonur linked an issue Jan 17, 2023 that may be closed by this pull request
@ceyonur ceyonur self-assigned this Jan 17, 2023
@ceyonur ceyonur added this to the Subnet-EVM@v0.4.9 milestone Jan 17, 2023
core/blockchain_test.go Outdated Show resolved Hide resolved
eth/filters/bench_test.go Outdated Show resolved Hide resolved
@darioush
Copy link
Collaborator

@aaronbuchwald aaronbuchwald mentioned this pull request Jan 23, 2023
10 tasks
Comment on lines +38 to +41
defaultRegossipTxsPerAddress = 1
defaultPriorityRegossipFrequency = 1 * time.Second
defaultPriorityRegossipMaxTxs = 32
defaultPriorityRegossipTxsPerAddress = 16
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we migrate these to coreth as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean priority regossiping?

Copy link
Collaborator

@aaronbuchwald aaronbuchwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks for putting this up 🙌

@aaronbuchwald aaronbuchwald merged commit dbc1b4d into master Jan 23, 2023
@aaronbuchwald aaronbuchwald deleted the coreth-0.11.6-sync branch January 23, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate Coreth v0.11.4 Changes to Subnet-EVM
3 participants