Skip to content

Commit

Permalink
Merge commit 'ca2eb94890' into bump/0.5.83
Browse files Browse the repository at this point in the history
  • Loading branch information
tbro committed Jan 9, 2025
2 parents 8ac4d09 + ca2eb94 commit c8c5d2a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion crates/task-impls/src/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ impl<TYPES: NodeType, V: Versions> UpgradeTaskState<TYPES, V> {
let upgrade_proposal = UpgradeProposal {
upgrade_proposal: upgrade_proposal_data.clone(),
view_number: TYPES::View::new(view + UPGRADE_PROPOSE_OFFSET),
epoch: self.cur_epoch,
};

let signature = TYPES::SignatureKey::sign(
Expand Down
1 change: 0 additions & 1 deletion crates/testing/tests/tests_1/vid_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ async fn test_vid_task() {
num_transactions: encoded_transactions.len() as u64,
},
view_number: ViewNumber::new(2),
epoch: EpochNumber::new(0),
};
let message = Proposal {
data: proposal.clone(),
Expand Down
5 changes: 0 additions & 5 deletions crates/types/src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ pub struct DaProposal<TYPES: NodeType> {
pub metadata: <TYPES::BlockPayload as BlockPayload<TYPES>>::Metadata,
/// View this proposal applies to
pub view_number: TYPES::View,
/// Epoch this proposal applies to
pub epoch: TYPES::Epoch,
}

/// A proposal to start providing data availability for a block.
Expand Down Expand Up @@ -181,7 +179,6 @@ impl<TYPES: NodeType> From<DaProposal2<TYPES>> for DaProposal<TYPES> {
encoded_transactions: da_proposal2.encoded_transactions,
metadata: da_proposal2.metadata,
view_number: da_proposal2.view_number,
epoch: TYPES::Epoch::new(0),
}
}
}
Expand All @@ -197,8 +194,6 @@ where
pub upgrade_proposal: UpgradeProposalData<TYPES>,
/// View this proposal applies to
pub view_number: TYPES::View,
/// Epoch this proposal applies to
pub epoch: TYPES::Epoch,
}

/// VID dispersal data
Expand Down

0 comments on commit c8c5d2a

Please sign in to comment.