Skip to content

apollo_propeller: add reconstruction error type#11052

Merged
sirandreww-starkware merged 1 commit intomain-v0.14.1-committerfrom
12-23-apollo_propeller_add_reconstruction_error_type
Jan 15, 2026
Merged

apollo_propeller: add reconstruction error type#11052
sirandreww-starkware merged 1 commit intomain-v0.14.1-committerfrom
12-23-apollo_propeller_add_reconstruction_error_type

Conversation

@sirandreww-starkware
Copy link
Contributor

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor Author

sirandreww-starkware commented Dec 24, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

This was referenced Dec 24, 2025
Copy link
Contributor

@guy-starkware guy-starkware left a comment

Choose a reason for hiding this comment

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

@guy-starkware reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @noamsp-starkware, @ShahakShama, and @sirandreww-starkware).


crates/apollo_propeller/src/types.rs line 199 at r1 (raw file):

        }
    }
}

Anyway if you want you should change all of these...

Code quote:

impl std::fmt::Display for ReconstructionError {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        match self {
            ReconstructionError::ErasureReconstructionFailed(msg) => {
                write!(f, "Erasure reconstruction failed: {}", msg)
            }
            ReconstructionError::MismatchedMessageRoot => {
                write!(f, "Mismatched message root, the publisher is most likely malicious")
            }
            ReconstructionError::UnequalShardLengths => {
                write!(f, "Unequal shard lengths, the shards are most likely malicious")
            }
            ReconstructionError::MessagePaddingError => {
                write!(f, "The message was padded incorrectly by the publisher")
            }
        }
    }
}

Copy link
Contributor Author

@sirandreww-starkware sirandreww-starkware left a comment

Choose a reason for hiding this comment

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

@sirandreww-starkware made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @guy-starkware, @noamsp-starkware, and @ShahakShama).


crates/apollo_propeller/src/types.rs line 199 at r1 (raw file):

Previously, guy-starkware wrote…

Anyway if you want you should change all of these...

same as previous PR (added a TODO and will do this later)

@sirandreww-starkware sirandreww-starkware force-pushed the 12-23-apollo_propeller_add_reconstruction_error_type branch from 3429e4e to 6cfd5de Compare January 4, 2026 17:17
@sirandreww-starkware sirandreww-starkware force-pushed the 12-23-apollo_propeller_add_shard_publish_error_type branch from aef8cb9 to 24df536 Compare January 4, 2026 17:17
Copy link
Contributor

@guy-starkware guy-starkware left a comment

Choose a reason for hiding this comment

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

@guy-starkware reviewed 1 file and all commit messages, and resolved 1 discussion.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @noamsp-starkware and @ShahakShama).

Copy link
Collaborator

@ShahakShama ShahakShama left a comment

Choose a reason for hiding this comment

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

@ShahakShama reviewed all commit messages and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @noamsp-starkware and @sirandreww-starkware).


crates/apollo_propeller/src/types.rs line 184 at r2 (raw file):

}

impl std::fmt::Display for ReconstructionError {

As before, remove these

@sirandreww-starkware sirandreww-starkware force-pushed the 12-23-apollo_propeller_add_reconstruction_error_type branch from 6cfd5de to b3f3c87 Compare January 12, 2026 14:23
@sirandreww-starkware sirandreww-starkware force-pushed the 12-23-apollo_propeller_add_shard_publish_error_type branch from 24df536 to 386dae9 Compare January 12, 2026 14:23
@sirandreww-starkware sirandreww-starkware changed the base branch from 12-23-apollo_propeller_add_shard_publish_error_type to graphite-base/11052 January 13, 2026 11:04
Copy link
Contributor Author

@sirandreww-starkware sirandreww-starkware left a comment

Choose a reason for hiding this comment

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

@sirandreww-starkware made 1 comment.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @guy-starkware, @noamsp-starkware, and @ShahakShama).


crates/apollo_propeller/src/types.rs line 184 at r2 (raw file):

Previously, ShahakShama wrote…

As before, remove these

Done.

Copy link
Collaborator

@ShahakShama ShahakShama left a comment

Choose a reason for hiding this comment

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

@ShahakShama reviewed 1 file and all commit messages, and resolved 1 discussion.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @noamsp-starkware).

@sirandreww-starkware sirandreww-starkware force-pushed the 12-23-apollo_propeller_add_reconstruction_error_type branch from b3f3c87 to fc56114 Compare January 13, 2026 11:14
@sirandreww-starkware sirandreww-starkware changed the base branch from graphite-base/11052 to 12-23-apollo_propeller_add_shard_publish_error_type January 13, 2026 11:15
@sirandreww-starkware sirandreww-starkware force-pushed the 12-23-apollo_propeller_add_shard_publish_error_type branch from 269fba2 to 26a792b Compare January 14, 2026 09:16
@sirandreww-starkware sirandreww-starkware force-pushed the 12-23-apollo_propeller_add_reconstruction_error_type branch from fc56114 to 4033098 Compare January 14, 2026 09:16
@graphite-app graphite-app bot changed the base branch from 12-23-apollo_propeller_add_shard_publish_error_type to graphite-base/11052 January 15, 2026 08:51
@sirandreww-starkware sirandreww-starkware force-pushed the 12-23-apollo_propeller_add_reconstruction_error_type branch from 4033098 to dfd8ae8 Compare January 15, 2026 09:26
@sirandreww-starkware sirandreww-starkware changed the base branch from graphite-base/11052 to main-v0.14.1-committer January 15, 2026 09:26
Copy link
Contributor Author

@sirandreww-starkware sirandreww-starkware left a comment

Choose a reason for hiding this comment

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

@sirandreww-starkware reviewed 1 file and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @noamsp-starkware).

@sirandreww-starkware sirandreww-starkware added this pull request to the merge queue Jan 15, 2026
@Yoni-Starkware Yoni-Starkware removed this pull request from the merge queue due to the queue being cleared Jan 15, 2026
@sirandreww-starkware sirandreww-starkware added this pull request to the merge queue Jan 15, 2026
Merged via the queue into main-v0.14.1-committer with commit 3d0d680 Jan 15, 2026
24 of 29 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments