diff --git a/crates/task-impls/src/upgrade.rs b/crates/task-impls/src/upgrade.rs index 3ff8e073a8..de1fcad3f8 100644 --- a/crates/task-impls/src/upgrade.rs +++ b/crates/task-impls/src/upgrade.rs @@ -291,7 +291,6 @@ impl UpgradeTaskState { 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( diff --git a/crates/testing/tests/tests_1/vid_task.rs b/crates/testing/tests/tests_1/vid_task.rs index adafcbfbf7..9105b2dd02 100644 --- a/crates/testing/tests/tests_1/vid_task.rs +++ b/crates/testing/tests/tests_1/vid_task.rs @@ -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(), diff --git a/crates/types/src/data.rs b/crates/types/src/data.rs index e84b2f03c1..5daae25d43 100644 --- a/crates/types/src/data.rs +++ b/crates/types/src/data.rs @@ -146,8 +146,6 @@ pub struct DaProposal { pub metadata: >::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. @@ -181,7 +179,6 @@ impl From> for DaProposal { encoded_transactions: da_proposal2.encoded_transactions, metadata: da_proposal2.metadata, view_number: da_proposal2.view_number, - epoch: TYPES::Epoch::new(0), } } } @@ -197,8 +194,6 @@ where pub upgrade_proposal: UpgradeProposalData, /// View this proposal applies to pub view_number: TYPES::View, - /// Epoch this proposal applies to - pub epoch: TYPES::Epoch, } /// VID dispersal data