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

refactor: increase type safety of block lifecycle #5140

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

mversic
Copy link
Contributor

@mversic mversic commented Oct 9, 2024

Context

  • increased type safety around block creation
  • introduced new Created event for blocks
  • relaxed conditions for signature validation

Solution

  • Describe the approach taken to achieve the objective / resolve the issue.

Migration Guide (optional)

  • If this PR contains a breaking change relative to the main branch, provide an instruction on how affected parties might need to adapt to the change.

Review notes (optional)

  • For complex PRs, try to provide some information on how to approach the review more effectively.
  • For example, is there a natural order in which the affected files should be reviewed?

Checklist

  • I've read CONTRIBUTING.md.
  • (optional) I've written unit tests for the code changes.
  • All review comments have been resolved.
  • All CI checks pass.

@github-actions github-actions bot added the api-changes Changes in the API for client libraries label Oct 9, 2024
crates/iroha_data_model/src/block.rs Show resolved Hide resolved
crates/iroha_core/src/block.rs Show resolved Hide resolved
crates/iroha_data_model/src/block.rs Outdated Show resolved Hide resolved
crates/iroha_core/src/sumeragi/main_loop.rs Show resolved Hide resolved
@mversic mversic enabled auto-merge (squash) October 10, 2024 13:14
@mversic mversic merged commit c1b8563 into hyperledger:main Oct 11, 2024
18 of 19 checks passed
@mversic mversic deleted the new_block_lifecycle branch October 11, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-changes Changes in the API for client libraries
Projects
Status: Testing & Verification
Development

Successfully merging this pull request may close these issues.

3 participants