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

fix: proper handling of halted txs #463

Merged
merged 5 commits into from
Dec 3, 2024
Merged

fix: proper handling of halted txs #463

merged 5 commits into from
Dec 3, 2024

Conversation

itegulov
Copy link
Contributor

@itegulov itegulov commented Dec 2, 2024

What 💻

Closes #456, closes #462

This PR makes VM rollback when it encounters a halting transaction. This means we can seal blocks with partially halting transactions now. Also halting transactions no longer crash the node.

Why ✋

Better devx

@itegulov itegulov requested a review from a team as a code owner December 2, 2024 11:54
@dutterbutter
Copy link
Collaborator

Please address failed tests

e2e-tests-rust/src/lib.rs Outdated Show resolved Hide resolved
@dutterbutter dutterbutter added the needs changes 🔧 Review requested changes on a PR label Dec 2, 2024
# Conflicts:
#	e2e-tests-rust/Cargo.toml
#	e2e-tests-rust/src/lib.rs
#	e2e-tests-rust/tests/lib.rs
#	src/node/in_memory.rs
@itegulov itegulov requested a review from dutterbutter December 3, 2024 08:09
@dutterbutter dutterbutter merged commit 1578ee4 into main Dec 3, 2024
13 checks passed
@dutterbutter dutterbutter deleted the daniyar/halted-txs branch December 3, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs changes 🔧 Review requested changes on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: one halt should not prevent block from sealing Block sealing panic
2 participants