Skip to content

Commit

Permalink
rusk: Rename Certificate to Attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
fed-franz committed Jun 13, 2024
1 parent 371a5eb commit 85fea81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rusk/tests/common/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use dusk_wallet_core::Transaction as PhoenixTransaction;
use execution_core::StakePublicKey;
use node_data::{
bls::PublicKeyBytes,
ledger::{Block, Certificate, Header, IterationsInfo, SpentTransaction},
ledger::{Attestation, Block, Header, IterationsInfo, SpentTransaction},
message::payload::Vote,
};

Expand Down Expand Up @@ -86,8 +86,8 @@ pub fn generator_procedure(

let mut failed_iterations = IterationsInfo::default();
for to_slash in &missed_generators {
failed_iterations.cert_list.push(Some((
Certificate {
failed_iterations.att_list.push(Some((
Attestation {
result: node_data::message::payload::RatificationResult::Fail(
Vote::NoCandidate,
),
Expand Down

0 comments on commit 85fea81

Please sign in to comment.