ethereum-optimism / cannon

On chain interactive fault prover for Ethereum
MIT License
584 stars 135 forks source link

minigeth: remove unused code #102

Closed alexchenzl closed 2 years ago

alexchenzl commented 2 years ago

When I try to fix #92, I found there are some code in minigeth which will cause IDE warnings but will not affect normal building.

After a detailed comparison between the l2minigeth branch and the original l1minigeth branch, I found the following code are not used by main.go and should be removed:

build/
eth/
consensus/beacon/
core/beacon/
trie/util_test.go
rlp/rlpgen/

Building and all cases in test_minigeth passed on my local laptop after removing above files.

I think the possible cause is latest go-ethereum updates introduce some new files, but not all them were noticed in manual rebasing process.

This issue should be done before #92