Skip to content

Conversation

@karalabe
Copy link
Member

@karalabe karalabe commented Oct 3, 2023

This PR starts feeding blobpool transaction events into all other parts of Geth via the tx subscription mechanism. A few caveats:

  • Blob transactions fed into the event system will always be without sidecars. Feeding the blobs through everything would be very expensive. If something needs the blobs themselves, those should request it explicitly.
  • If Cancun is enabled, eth/67 is disabled since there's no way to tag the tx announcements with the blobs. Whilst this wouldn't necessarily be needed just now, it's IMO good practice.
  • The subscriptions were extended to allow subscribing to new transaction that either include or not reorged resurrections. This is good because things that are pulled back up from disk should already be known to everybody, so there's no point in reannouncing them.

@karalabe karalabe added this to the 1.13.3 milestone Oct 3, 2023
@karalabe karalabe requested a review from lightclient October 3, 2023 14:23
Copy link
Member

@MariusVanDerWijden MariusVanDerWijden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karalabe karalabe merged commit a8a9c8e into ethereum:master Oct 4, 2023
hyunchel pushed a commit to hyunchel/go-ethereum that referenced this pull request Oct 6, 2023
…28243)

* core, eth, miner: start propagating and consuming blob txs

* eth/protocols/eth: disable eth/67 if Cancun is enabled

* core/txpool, eth, miner: pass gas limit infos in lazy tx for mienr filtering

* core/txpool, miner: add lazy resolver for pending txs too

* core, eth: fix review noticed bugs

* eth, miner: minor polishes in the mining and announcing logs

* core/expool: unsubscribe the event scope
ghost pushed a commit to blocknative/go-ethereum that referenced this pull request Oct 12, 2023
…28243)

* core, eth, miner: start propagating and consuming blob txs

* eth/protocols/eth: disable eth/67 if Cancun is enabled

* core/txpool, eth, miner: pass gas limit infos in lazy tx for mienr filtering

* core/txpool, miner: add lazy resolver for pending txs too

* core, eth: fix review noticed bugs

* eth, miner: minor polishes in the mining and announcing logs

* core/expool: unsubscribe the event scope
ghost pushed a commit to blocknative/go-ethereum that referenced this pull request Oct 16, 2023
…28243)

* core, eth, miner: start propagating and consuming blob txs

* eth/protocols/eth: disable eth/67 if Cancun is enabled

* core/txpool, eth, miner: pass gas limit infos in lazy tx for mienr filtering

* core/txpool, miner: add lazy resolver for pending txs too

* core, eth: fix review noticed bugs

* eth, miner: minor polishes in the mining and announcing logs

* core/expool: unsubscribe the event scope
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
…28243)

* core, eth, miner: start propagating and consuming blob txs

* eth/protocols/eth: disable eth/67 if Cancun is enabled

* core/txpool, eth, miner: pass gas limit infos in lazy tx for mienr filtering

* core/txpool, miner: add lazy resolver for pending txs too

* core, eth: fix review noticed bugs

* eth, miner: minor polishes in the mining and announcing logs

* core/expool: unsubscribe the event scope
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
ghost pushed a commit to blocknative/go-ethereum that referenced this pull request Jan 16, 2024
…28243)

* core, eth, miner: start propagating and consuming blob txs

* eth/protocols/eth: disable eth/67 if Cancun is enabled

* core/txpool, eth, miner: pass gas limit infos in lazy tx for mienr filtering

* core/txpool, miner: add lazy resolver for pending txs too

* core, eth: fix review noticed bugs

* eth, miner: minor polishes in the mining and announcing logs

* core/expool: unsubscribe the event scope
AnnaShaleva added a commit to bane-labs/go-ethereum that referenced this pull request Feb 7, 2024
…71c907d1dc6504ed32a9161e71351

Merge Geth master updates starting from 766272f
ending by 16ce7bf.

The list of PRs that are important for us:
- ethereum/go-ethereum#28147 removal of rollback mechanism in downloader. We may still need this mechanism since we're pre-merge and allow forks;
- ethereum/go-ethereum@3dc45a3 related to release pipeline, example of pre-release version update;
- ethereum/go-ethereum@dc34fe8 related to release pipeline, example of post-release version update;
- ethereum/go-ethereum#28098 BLOBBASEFEE opcode implemented as a part of Cancun (we have to support it eventually);
- ethereum/go-ethereum#28195 introduce new Cancun-related block fields to eth tools;
- ethereum/go-ethereum#28243 introduce blob transactions support for internal eth services;
- ethereum/go-ethereum#28084 allows to invoke contract at specific block hash, may be useful for Governance contract integration;
- ethereum/go-ethereum#28538 Dockerfile.alltools update example, just to remember that it should be in sync with Dockerfile;
- ethereum/go-ethereum#28605 Improved Cancun- and Shanghai- related consensus verification. Although we must enable Shanghai and Cancun in dBFT, this PR is a hint of what should be changed wrt Clique/Ethash implementation for this;
- ethereum/go-ethereum#28549 GitHub actions are added for tests;
- ethereum/go-ethereum#27766 Beacon Committee chain implementation (light chain that is able to verify signed blocks once synced);

Signed-off-by: Anna Shaleva <[email protected]>
AnnaShaleva added a commit to bane-labs/go-ethereum that referenced this pull request Feb 7, 2024
AnnaShaleva added a commit to bane-labs/go-ethereum that referenced this pull request Feb 8, 2024
…1dc6504ed32a9161e71351

Merge Geth master updates starting from 766272f
ending by 99dc3fe (v1.13.11 stable release).

The list of PRs that are important for us:
    - ethereum/go-ethereum#28147 removal of rollback mechanism in downloader. We may still need this mechanism since we're pre-merge and allow forks;
    - ethereum/go-ethereum@3dc45a3 related to release pipeline, example of pre-release version update;
    - ethereum/go-ethereum@dc34fe8 related to release pipeline, example of post-release version update;
    - ethereum/go-ethereum#28098 BLOBBASEFEE opcode implemented as a part of Cancun (we have to support it eventually);
    - ethereum/go-ethereum#28195 introduce new Cancun-related block fields to eth tools;
    - ethereum/go-ethereum#28243 introduce blob transactions support for internal eth services;
    - ethereum/go-ethereum#28084 allows to invoke contract at specific block hash, may be useful for Governance contract integration;
    - ethereum/go-ethereum#28538 Dockerfile.alltools update example, just to remember that it should be in sync with Dockerfile;
    - ethereum/go-ethereum#28605 Improved Cancun- and Shanghai- related consensus verification. Although we must enable Shanghai and Cancun in dBFT, this PR is a hint of what should be changed wrt Clique/Ethash implementation for this;
    - ethereum/go-ethereum#28549 GitHub actions are added for tests;
    - ethereum/go-ethereum#27766 Beacon Committee chain implementation (light chain that is able to verify signed blocks once synced);

Signed-off-by: Anna Shaleva <[email protected]>
AnnaShaleva added a commit to bane-labs/go-ethereum that referenced this pull request Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants