Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support MEV #2224

Merged
merged 4 commits into from
Mar 8, 2024
Merged

feat: support MEV #2224

merged 4 commits into from
Mar 8, 2024

Conversation

irrun
Copy link
Contributor

@irrun irrun commented Feb 19, 2024

Description

  • core/types: define Bid and related error message
  • internal/eth_api: add MevAPI to receive bids from builder
  • eth/api_admin: add API to support start and stop mev dynamically
  • miner: add bidSimulator to maintain bid simulation and fetch best bid from
  • consensus: add func to query the next inturn validator
  • ethclient: add clients for MevAPI

Rationale

bnb-chain/BEPs#322 (comment)

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

core/types/bid.go Outdated Show resolved Hide resolved
core/types/bid.go Outdated Show resolved Hide resolved
core/types/bid.go Outdated Show resolved Hide resolved
core/types/bid.go Outdated Show resolved Hide resolved
core/types/bid.go Outdated Show resolved Hide resolved
core/types/bid.go Outdated Show resolved Hide resolved
core/types/bid_error.go Outdated Show resolved Hide resolved
eth/api_admin.go Outdated Show resolved Hide resolved
miner/bid_simulator.go Outdated Show resolved Hide resolved
miner/bid_simulator.go Outdated Show resolved Hide resolved
miner/bid_simulator.go Outdated Show resolved Hide resolved
miner/bid_simulator.go Outdated Show resolved Hide resolved
miner/bid_simulator.go Outdated Show resolved Hide resolved
miner/bid_simulator.go Outdated Show resolved Hide resolved
miner/bid_simulator.go Outdated Show resolved Hide resolved
miner/miner.go Outdated Show resolved Hide resolved
miner/miner_mev.go Outdated Show resolved Hide resolved
miner/miner_mev.go Outdated Show resolved Hide resolved
miner/miner_mev.go Outdated Show resolved Hide resolved
miner/miner_mev.go Outdated Show resolved Hide resolved
miner/miner_mev.go Outdated Show resolved Hide resolved
miner/miner_mev.go Outdated Show resolved Hide resolved
miner/miner_mev.go Outdated Show resolved Hide resolved
miner/miner_mev.go Outdated Show resolved Hide resolved
miner/worker.go Outdated Show resolved Hide resolved
@irrun irrun requested a review from unclezoro February 22, 2024 13:17
core/types/bid.go Outdated Show resolved Hide resolved
* core/types: define Bid and related error message
* internal/eth_api: add MevAPI to receive bids from builder
* eth/api_admin: add API to support start and stop mev dynamically
* miner: add bidSimulator to maintain bid simulation and fetch best bid from
* consensus: add func to query the next inturn validator
miner/bid_simulator.go Outdated Show resolved Hide resolved
@irrun irrun force-pushed the raina/BEP-322 branch 2 times, most recently from 7423fb8 to ec87f9c Compare March 7, 2024 12:35
@irrun irrun requested review from buddh0 and j75689 March 8, 2024 01:53
buddh0
buddh0 previously approved these changes Mar 8, 2024
@unclezoro unclezoro merged commit 89c4ab2 into bnb-chain:develop Mar 8, 2024
7 checks passed
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.

5 participants