Skip to content

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 [email protected]: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 [email protected] milestone Jan 17, 2023
@darioush
Copy link

great work, couple nits:
https://github.com/ava-labs/subnet-evm/pull/441/files

@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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