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

Automatically downgrade to BFT blocks when oracle usage is detected #2654

Open
jvff opened this issue Oct 19, 2024 · 0 comments
Open

Automatically downgrade to BFT blocks when oracle usage is detected #2654

jvff opened this issue Oct 19, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@jvff
Copy link
Contributor

jvff commented Oct 19, 2024

Motivation

When proposing a block in which an application contract uses oracles, the block must not be a fast block. This is in order to prevent blocking the chain if the oracle responses different between validators. However, right now the client will simply reject those blocks, instead of proposing them using BFT consensus instead of the fast block consensus.

Proposal

If oracle usage is detected in the block, change it to be proposed using a BFT round.

@jvff jvff added the enhancement New feature or request label Oct 19, 2024
@jvff jvff added this to the Mainnet milestone Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant