Skip to content

Conversation

@bharath-123
Copy link
Contributor

@bharath-123 bharath-123 commented Sep 24, 2024

The loop method in txpool listens to the latest head event which updates the head and state of the legacy txpool. With the trusted auctioneer, we want to update the head and state of the legacy txpool with the latest optimistic block seen. To do that, we listen to the ChainOptimisticHeadEvent instead of the ChainHeadEvent which gives us the latest updated optimistic block.

Changes made:

  1. Use the ChainOptimisticHeadEvent instead of ChainHeadEvent in loop method in txpool
  2. Set the latest optimistic head in the EthSuite tests to the head of the chain during test setup.

@bharath-123 bharath-123 changed the title use optimistic head event in txpool's maintanance loop feat: use optimistic head event in txpool's maintanance loop Sep 24, 2024
@bharath-123 bharath-123 changed the title feat: use optimistic head event in txpool's maintanance loop feat: Trusted auctioneer: use optimistic head event in txpool's maintanance loop Sep 24, 2024
@bharath-123 bharath-123 force-pushed the bharath/implement-optimistic-fork-event branch from 90436eb to c430a9d Compare September 27, 2024 10:25
@bharath-123 bharath-123 force-pushed the bharath/use-optimistic-fork-event branch from 9d50c4d to 294e394 Compare September 27, 2024 10:26
@bharath-123 bharath-123 force-pushed the bharath/implement-optimistic-fork-event branch from c430a9d to f879a65 Compare September 27, 2024 10:55
@bharath-123 bharath-123 force-pushed the bharath/use-optimistic-fork-event branch from 294e394 to bcfeacc Compare September 27, 2024 11:00
@bharath-123 bharath-123 force-pushed the bharath/implement-optimistic-fork-event branch from f879a65 to 3767bca Compare September 30, 2024 18:02
@bharath-123 bharath-123 force-pushed the bharath/use-optimistic-fork-event branch from bcfeacc to dcb9f9a Compare September 30, 2024 18:04
@bharath-123 bharath-123 marked this pull request as ready for review October 1, 2024 18:10
@bharath-123 bharath-123 force-pushed the bharath/implement-optimistic-fork-event branch from 3767bca to e51654f Compare October 16, 2024 11:25
@bharath-123 bharath-123 force-pushed the bharath/use-optimistic-fork-event branch from dcb9f9a to a398f94 Compare October 16, 2024 11:26
@bharath-123 bharath-123 force-pushed the bharath/implement-optimistic-fork-event branch from e51654f to 9f637f0 Compare October 24, 2024 08:40
@bharath-123 bharath-123 force-pushed the bharath/use-optimistic-fork-event branch from a398f94 to 6d2cf55 Compare October 24, 2024 08:46
@bharath-123 bharath-123 force-pushed the bharath/implement-optimistic-fork-event branch from 9f637f0 to eeff05b Compare October 24, 2024 09:13
@bharath-123 bharath-123 force-pushed the bharath/use-optimistic-fork-event branch from 6d2cf55 to bbdf862 Compare October 24, 2024 15:21
@bharath-123 bharath-123 force-pushed the bharath/implement-optimistic-fork-event branch from eeff05b to 176e880 Compare October 29, 2024 08:06
@bharath-123 bharath-123 force-pushed the bharath/use-optimistic-fork-event branch from bbdf862 to 8a663d7 Compare October 29, 2024 08:09
@bharath-123 bharath-123 force-pushed the bharath/implement-optimistic-fork-event branch from 176e880 to 207d70d Compare November 12, 2024 08:43
@bharath-123 bharath-123 force-pushed the bharath/use-optimistic-fork-event branch from 8a663d7 to c4399d9 Compare November 12, 2024 08:44
@bharath-123 bharath-123 force-pushed the bharath/implement-optimistic-fork-event branch from 207d70d to 556dc4a Compare November 20, 2024 06:47
@bharath-123 bharath-123 force-pushed the bharath/use-optimistic-fork-event branch from c4399d9 to 674bb32 Compare November 20, 2024 06:50
@bharath-123 bharath-123 force-pushed the bharath/implement-optimistic-fork-event branch from 556dc4a to 4578ae6 Compare January 9, 2025 09:49
@bharath-123 bharath-123 force-pushed the bharath/use-optimistic-fork-event branch from 674bb32 to 708d153 Compare January 9, 2025 09:49
@bharath-123 bharath-123 force-pushed the bharath/implement-optimistic-fork-event branch from 4578ae6 to 721ee82 Compare January 13, 2025 17:40
@bharath-123 bharath-123 force-pushed the bharath/use-optimistic-fork-event branch from 708d153 to 0fac052 Compare January 13, 2025 17:45
chore: Trusted Auctioneer: update the protos
feat: Trusted Auctioneer: Add initial set of metrics for auctioneer
feat: Trusted Auctioneer: Code cleanups
…-block

feat: Trusted Auctioneer: Add API to query the current optimistic block
feat: Trusted Auctioneer: Support unmarshalling signed allocations and placing it at the TOB
feat: Trusted Auctioneer: Add a cmd line flag to run a Flame node in auctioneer mode
refactor: Trusted Auctioneer: Separate execution api service and optimistic execution api service
feat: Trusted Auctioneer: Implement bundle streaming
…ecution

feat: Trusted Auctioneer: implement stream execute optimistic block
feat: Trusted Auctioneer: add event which is triggered when the mempool is cleared
feat: Trusted Auctioneer: Clear mempool when mempool state is reset
@bharath-123 bharath-123 merged commit 19f8867 into bharath/implement-optimistic-fork-event Jan 13, 2025
@bharath-123 bharath-123 mentioned this pull request Jan 13, 2025
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.

2 participants