From 85fea81a6d0270ac534a121c085d50c62de4a460 Mon Sep 17 00:00:00 2001 From: Federico Franzoni <8609060+fed-franz@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:21:34 +0200 Subject: [PATCH] rusk: Rename Certificate to Attestation --- rusk/tests/common/state.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rusk/tests/common/state.rs b/rusk/tests/common/state.rs index b0771093ac..36a0c59940 100644 --- a/rusk/tests/common/state.rs +++ b/rusk/tests/common/state.rs @@ -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, }; @@ -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, ),