Open rtunazzz opened 1 week ago
We are looking into upgrading op-geth to include upstream geth changes as a whole, rather than changing just the dependencies. Dependencies can diverge otherwise, and we prefer consistency with upstream versions as much as possible for compatibility and testing confidence.
We are looking into upgrading op-geth to include upstream geth changes as a whole, rather than changing just the dependencies. Dependencies can diverge otherwise, and we prefer consistency with upstream versions as much as possible for compatibility and testing confidence.
That sounds great @protolambda. Is there a plan for that? Any way I can help?
Turns out this MR doesn't actually fix my problem with deps anyway. Signatures of some functions in geth has changed since the fork which also causes conflicts in 3rd party geth libraries.
e.g. constructing a new block now uses in geth
func (b *Block) WithBody(body Body) *Block
where as op-geth still uses the old
func (b *Block) WithBody(transactions []*Transaction, uncles []*Header) *Block
Description
Running
go get -u
to update outdated packages & resolving any conflicts.Tests
No tests have been added, since this is only a deps bump
Additional context
The
go-ethereum
library has updated their dependencies, causing package version conflicts in some repos when using the golangop-geth
library.For example, on any repos using latest
op-geth
as well as any library that uses latestgo-ethereum
(v1.14.5
) will currently causes errors such as:This is due to
go-ethereum
using a newer version ofgithub.com/crate-crypto/go-kzg-4844 v1.0.0
(link).