OffchainLabs / go-ethereum

GNU Lesser General Public License v3.0
54 stars 94 forks source link

Merge v1.11.2 #205

Closed Tristan-Wilson closed 1 year ago

Tristan-Wilson commented 1 year ago

This PR merges in upstream's v1.11.2 into our fork's master branch. There were a number of conflicts that have been resolved, see the notes below and on individual commit messages.

Nitro is now successfully building (https://github.com/OffchainLabs/nitro/pull/1517) against this PR.

There are still some tests with Nitro still need to be performed, see @tsahee's comment https://github.com/OffchainLabs/go-ethereum/pull/205#pullrequestreview-1358050644

Notes from merge

Status of tests in go-ethereum package

Some tests on master were already failing, along with some tests on the upstream v1.11.2 branch. All tests that were passing on master are still passing on this branch and I fixed a few more, so although the tests aren't all passing, I don't think we have broken anything new.

Failing only on v1.1.2 merge branch

--- FAIL: TestCallTracerNativeWithLog (0.00s) - new in v1.11.2, probably fails for same reason as TestCallTracerNative

Failing in both origin/master and v1.11.2 merge branch

--- FAIL: TestT8n (0.03s) - exact text match not expecting our L1GasUsed param, fixed on this branch --- FAIL: TestCallTracerNative (0.00s) --- FAIL: TestZeroValueToNotExitCall (0.00s)

Fails in both v1.11.2 branch and in upstream/v1.11.2

--- FAIL: TestConsoleWelcome (0.07s) - fails due to version string having git commit, fixed on this branch --- FAIL: TestAttachWelcome (5.37s) - fails due to version string having git commit, fixed on this branch --- FAIL: TestSequentialRead (0.00s) --- FAIL: TestSequentialReadByteLimit (0.00s) --- FAIL: TestFreezerReadonly --- FAIL: TestRandom (0.00s)

Conflict resolution notes (change X conflicting change -> resolution)

These are my notes from resolving the conflicts in the merge commit itself. There are also other fixes, mostly fixes relating to the initial merge, applied as separate commits after the merge commit.

Tristan-Wilson commented 1 year ago

Most of the conflicts came from https://github.com/OffchainLabs/go-ethereum/pull/186, @PlasmaPower can you please check my resolution of them?