Skip to content

Conversation

@SuperFluffy
Copy link
Contributor

Summary

Use macros and methods provided by our dependencies to have a more expressive style

Background

tendermint's Height type provides Height::increment, eyre::ensure! allows expressing if ... { bail!(...) } in a more semantic way.

Changes

  • Fixed some stylistic code choices.

Testing

No logic changes, test still run.

Related Issues

Followup to #613

@github-actions github-actions bot added the conductor pertaining to the astria-conductor crate label Nov 30, 2023
@SuperFluffy SuperFluffy merged commit 6d78f58 into main Nov 30, 2023
@SuperFluffy SuperFluffy deleted the superfluffy/direct-height-comparison branch November 30, 2023 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conductor pertaining to the astria-conductor crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants