Skip to content

Conversation

@joroshiba
Copy link
Member

Summary

Updating to match updated understanding of validator heights.

Background

PR #589 updated to use the trailing validator, since this is the validator set AFTER the block, but this check was not updated so blocks from DA always rejected.

Changes

  • minor update to da logic

Testing

CI

This patch extracts Rust types that are used in communication between
sequencer, sequencer-relayer, conductor, and celestia (as the
data availability layer). The resulting protobuf types are intended to
be the only way that services exchange data, making the current json-based
wire format obsolete.

The protobuf types defined in v1alpha1 of the sequencer API are deprecated
(and were also never used).

add a builder to astria-merkle for deserialization

rename chain_id -> rollup_id

remove roots, proofs from protos where appropriate

clean-up sequencer-types by removing unused bits

fix sequencer-relayer tests by constructing the correct action roots
@github-actions github-actions bot added conductor pertaining to the astria-conductor crate proto pertaining to the Astria Protobuf spec labels Nov 29, 2023
@joroshiba joroshiba changed the base branch from main to superfluffy/sequencer-types-as-protos November 29, 2023 19:00
@joroshiba joroshiba changed the base branch from superfluffy/sequencer-types-as-protos to superfluffy/sequencer-types-as-protos-bytes-chain-ids November 29, 2023 19:01
@joroshiba joroshiba changed the base branch from superfluffy/sequencer-types-as-protos-bytes-chain-ids to superfluffy/sequencer-types-as-protos November 29, 2023 19:01
@github-actions github-actions bot added documentation Improvements or additions to documentation ci issues that are related to ci and github workflows sequencer pertaining to the astria-sequencer crate sequencer-relayer pertaining to the astria-sequencer-relayer crate composer pertaining to composer docker and removed documentation Improvements or additions to documentation ci issues that are related to ci and github workflows sequencer pertaining to the astria-sequencer crate sequencer-relayer pertaining to the astria-sequencer-relayer crate labels Nov 29, 2023
@joroshiba joroshiba force-pushed the joroshiba/validator-height branch from 72b9754 to 7c68c96 Compare November 29, 2023 22:24
Copy link
Contributor

@noot noot left a comment

Choose a reason for hiding this comment

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

do you want to merge this into main?

Base automatically changed from superfluffy/sequencer-types-as-protos to main November 30, 2023 01:27
@joroshiba joroshiba requested a review from a team as a code owner November 30, 2023 01:27
@github-actions github-actions bot added ci issues that are related to ci and github workflows proto pertaining to the Astria Protobuf spec sequencer pertaining to the astria-sequencer crate sequencer-relayer pertaining to the astria-sequencer-relayer crate composer pertaining to composer labels Nov 30, 2023
@github-actions github-actions bot removed ci issues that are related to ci and github workflows proto pertaining to the Astria Protobuf spec sequencer pertaining to the astria-sequencer crate sequencer-relayer pertaining to the astria-sequencer-relayer crate composer pertaining to composer labels Nov 30, 2023
@joroshiba joroshiba merged commit 9253846 into main Nov 30, 2023
@joroshiba joroshiba deleted the joroshiba/validator-height branch November 30, 2023 02:46
SuperFluffy added a commit that referenced this pull request Nov 30, 2023
…619)

## 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
sgranfield4403-3 added a commit to sgranfield4403-3/astria that referenced this pull request Oct 2, 2025
…#619)

## 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 astriaorg/astria#613
AngieD101 added a commit to AngieD101/astria that referenced this pull request Oct 10, 2025
…#619)

## 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 astriaorg/astria#613
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 docker-build used to trigger docker builds on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants