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

[OTE-538] feat(OE): Abort OE in PrepareProposal #51

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

teddyding
Copy link

@teddyding teddyding commented Jul 10, 2024

Description

See inline comment for reasoning.
More Context

Copy link

linear bot commented Jul 10, 2024

Copy link

@teddyding your pull request is missing a changelog!

baseapp/abci.go Outdated Show resolved Hide resolved
@julienrbrt
Copy link

Hi! This seems to be a great addition to the base SDK. Are you willing to submit a PR that targets the main branch of the SDK?

baseapp/abci.go Outdated
// Overlap is undesirable, since internalFinalizeBlock` and `PrepareProoposal` could share access to
// in-memory structs.
// No-op if OE is not enabled.
// Similar call to Abort() is done in `ProcessProposal`
Copy link
Author

Choose a reason for hiding this comment

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

See

app.optimisticExec.Abort()

baseapp/abci.go Outdated Show resolved Hide resolved
@teddyding teddyding force-pushed the td/abort-oe-prepare branch 2 times, most recently from 543d2c9 to db7aa44 Compare July 18, 2024 22:02
baseapp/abci.go Outdated Show resolved Hide resolved
@teddyding teddyding merged commit 6f4eab5 into dydx-fork-v0.50.5 Jul 18, 2024
36 of 37 checks passed
@teddyding teddyding deleted the td/abort-oe-prepare branch July 18, 2024 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants