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

fakebeacon: a fake beacon api server for op-stack. #2678

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

jhgdike
Copy link
Contributor

@jhgdike jhgdike commented Sep 3, 2024

Description

add a description of your changes here...

Rationale

tell us why we need these changes...

We want to deploy a new chain like OP Mainnet/Testnet with OP-Stack for BSC Mainnet/Testnet, but OP-Stack uses some APIs of the beacon chain to fetch blobs' info. The problem is that our BSC doesn't have a chain like the beacon chain, and blobs on the BSC are associated with the transaction itself.

add an example CLI or API response...

[FakeBeacon]
Enable = true
Addr = "0.0.0.0"
Port = 8686

OR

geth ....
--fake-beacon
--fake-beacon.addr="0.0.0.0"
--fake-beacon.port=8686

Notable changes:

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

beacon/fakebeacon/utils.go Outdated Show resolved Hide resolved
beacon/fakebeacon/utils.go Outdated Show resolved Hide resolved
@bnb-chain bnb-chain deleted a comment from jhgdike Sep 3, 2024
@bnb-chain bnb-chain deleted a comment from jhgdike Sep 3, 2024
@zzzckck zzzckck merged commit 094519d into bnb-chain:develop Sep 4, 2024
6 of 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.

4 participants