Skip to content

support for coredao go-ethereum fork - #164

Merged
finnbledsoe-cb merged 2 commits into
coinbase:coredao-go-ethereum-support-2from
finnbledsoe-cb:coredao-go-ethereum-support
Jul 20, 2026
Merged

support for coredao go-ethereum fork#164
finnbledsoe-cb merged 2 commits into
coinbase:coredao-go-ethereum-support-2from
finnbledsoe-cb:coredao-go-ethereum-support

Conversation

@finnbledsoe-cb

Copy link
Copy Markdown
Contributor

coredao-org/core-chain forks go-ethereum and diverges in the CreateBloom signature: upstream v1.15.5 is CreateBloom(receipt *Receipt) while core-chain v1.0.22 is CreateBloom(receipts Receipts). The block-validation path added in #151 calls CreateBloom with a single receipt, which does not compile against the fork. Wrap it in EthTypes.Receipts so the SDK builds against coredao-org/core-chain.

This mirrors the arbitrum-go-ethereum-support branch pattern: fork-specific compatibility lives on a chain branch/pre-release tag rather than master, since the change is mutually exclusive with upstream go-ethereum.

Generated with Claude Code

Fixes # .

Motivation

Solution

Open questions

coredao-org/core-chain forks go-ethereum and diverges in the CreateBloom
signature: upstream v1.15.5 is CreateBloom(receipt *Receipt) while
core-chain v1.0.22 is CreateBloom(receipts Receipts). The block-validation
path added in coinbase#151 calls CreateBloom with a single receipt, which does not
compile against the fork. Wrap it in EthTypes.Receipts so the SDK builds
against coredao-org/core-chain.

This mirrors the arbitrum-go-ethereum-support branch pattern: fork-specific
compatibility lives on a chain branch/pre-release tag rather than master,
since the change is mutually exclusive with upstream go-ethereum.

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@cb-heimdall

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Follow-up to the CreateBloom fix so this chain-specific branch actually
compiles and tests against coredao-org/core-chain (previously the go.mod
still pulled stock go-ethereum, so CI failed to build).

- go.mod: replace go-ethereum => coredao-org/core-chain v1.0.22 plus the
  matching kzg/btcd/go-ipa/gnark-crypto pins core-chain requires. Kept in
  sync with rosetta-coredao's go.mod.
- examples/ethereum/config/config.go: the fork does not export the
  Holesky/Sepolia genesis hashes, so use literal placeholder hashes.

(Will be squashed with the CreateBloom commit before the final tag.)

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@finnbledsoe-cb
finnbledsoe-cb changed the base branch from master to coredao-go-ethereum-support-2 July 20, 2026 21:36
@finnbledsoe-cb
finnbledsoe-cb merged commit b699ed4 into coinbase:coredao-go-ethereum-support-2 Jul 20, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants