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

EIP-2124 (forkid) and EIP-2364 (eth/64) supported? #564

Closed
bobsummerwill opened this issue Mar 24, 2020 · 6 comments
Closed

EIP-2124 (forkid) and EIP-2364 (eth/64) supported? #564

bobsummerwill opened this issue Mar 24, 2020 · 6 comments

Comments

@bobsummerwill
Copy link

Is there support for EIP-2124 (forkid) and EIP-2364 (eth/64)?
Or planned support for these?

https://eips.ethereum.org/EIPS/eip-2124
https://eips.ethereum.org/EIPS/eip-2364

The same logic works for ETC as for ETH, but the canonical data describing the forks for ETC is different than ETH after block 1,920,000.

@meowbits has been working on an implementation/extension of this logic in the Core-Geth downstream. Is there any logic for these network protocols in Besu yet?

See https://ecips.ethereumclassic.org/ECIPs/ecip-1082 and ethereumclassic/ECIPs#294.

Thanks!

@timbeiko
Copy link
Contributor

It appears to me that both were already merged, see:

Closing for now, but please re-open if anything is missing.

@bobsummerwill
Copy link
Author

bobsummerwill commented Mar 25, 2020

Great - thanks for the info, @timbeiko.

CC @meowsbits.

@meowsbits
Copy link

@timbeiko Thanks for linking those PRs.

Given these code snippets, I doubt that besu has implemented ECIP1082 (as Bob cited).

I looked specifically at

From the specification, the fork list gathering function should omit block 1920000 under the classic configuration.

Here's some test data https://github.com/etclabscore/core-geth/pull/82/files#diff-cfc9a5f866915f6231af672563880e03R129.

@timbeiko
Copy link
Contributor

timbeiko commented Mar 26, 2020

Oh, I don't know of any ECIP. The PegaSys team doesn't really implement those. If the two linked above are the equivalent to the EIPs, then it should be fairly simple to make compatible with ETC.

@meowsbits
Copy link

meowsbits commented Mar 26, 2020

Just for reference, here's how multi-geth/multi-geth implemented it: multi-geth/multi-geth@269fdfe#diff-b02f7700e9e7a28b82d2b7ba19e4bc9eR214

@bobsummerwill
Copy link
Author

To be clear, I was not thinking that the ECIP had been implemented, @timbeiko.

That is work which we would need to contract out.

I just wanted to check if the base functionality was there for Besu.

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

No branches or pull requests

3 participants