2

Suppose I start with a Frontier-based template node and want it to sync with a Geth full node, as if it was an Ethereum execution client.

What are the minimal set of changes necessary to make this happen?

2 Answers 2

2

Not a comprehensive answer, but I do not think this is trivial.

The first and most obvious issue to me would be networking support, as ETH uses devp2p and Substrate / Frontier uses libp2p.

1
  • Eth moved towards libp2p after the Merge. That doesn't invalidate your answer though, a Frontier/Geth compatibility is near to impossible. Sep 19 at 16:09
0

Frontier is a Substrate client that just happens to have an EVM inside the Runtime.

pallet-evm and pallet-ethereum will give you compatibility on an execution and RPC level, but that's it.

All consensus, networking, and storage primitives are completely different from traditional Ethereum clients.

Enabling this kind of compatibility would likely be a daunting engineering effort.

You're better off simply migrating the state and/or history from your Frontier-based EVM to whatever new client you choose.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.