Skip to content

Commit 135825c

Browse files
committed
refactor: rename NonPayingData to NonPayingReplacementData
1 parent 34375b2 commit 135825c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

batcher/aligned-batcher/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ use types::errors::{BatcherError, TransactionSendError};
5353

5454
use crate::config::{ConfigFromYaml, ContractDeploymentOutput};
5555
use crate::telemetry::sender::TelemetrySender;
56-
use crate::types::non_paying::NonPayingData;
56+
use crate::types::non_paying::NonPayingReplacementData;
5757

5858
mod config;
5959
mod connection;
@@ -1770,7 +1770,7 @@ impl Batcher {
17701770
async fn generate_non_paying_data(
17711771
&self,
17721772
client_msg: &SubmitProofMessage,
1773-
) -> Result<NonPayingData, TransactionSendError> {
1773+
) -> Result<NonPayingReplacementData, TransactionSendError> {
17741774
info!("Handling nonpaying message");
17751775
let Some(non_paying_config) = self.non_paying_config.as_ref() else {
17761776
warn!("There isn't a non-paying configuration loaded. This message will be ignored");
@@ -1793,7 +1793,7 @@ impl Batcher {
17931793
.await;
17941794

17951795
info!("Non-paying verification data message handled");
1796-
Ok(NonPayingData {
1796+
Ok(NonPayingReplacementData {
17971797
address: non_paying_config.replacement.address(),
17981798
nonced_verification_data,
17991799
signature: non_paying_replacement_msg.signature,

batcher/aligned-batcher/src/types/non_paying.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use ethers::types::{Address, Signature};
33
use serde::{Deserialize, Serialize};
44

55
#[derive(Serialize, Deserialize, Clone, Debug)]
6-
pub struct NonPayingData {
6+
pub struct NonPayingReplacementData {
77
pub address: Address,
88
pub nonced_verification_data: NoncedVerificationData,
99
pub signature: Signature,

0 commit comments

Comments
 (0)