Skip to content

Commit

Permalink
rename DAMembers
Browse files Browse the repository at this point in the history
  • Loading branch information
tbro committed Dec 16, 2024
1 parent 5c32108 commit 28dffec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions types/src/v0/impls/stake_table.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use super::{
v0_3::{DaMembers, StakeTable, StakeTables},
v0_3::{DAMembers, StakeTable, StakeTables},
L1Client, NodeState, PubKey, SeqTypes,
};

Expand Down Expand Up @@ -33,7 +33,7 @@ use url::Url;
type Epoch = <SeqTypes as NodeType>::Epoch;

impl StakeTables {
pub fn new(stake_table: StakeTable, da_members: DaMembers) -> Self {
pub fn new(stake_table: StakeTable, da_members: DAMembers) -> Self {
Self {
stake_table,
da_members,
Expand Down
4 changes: 2 additions & 2 deletions types/src/v0/v0_3/stake_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub struct CombinedStakeTable(Vec<PeerConfigKeys<PubKey>>);

#[derive(Clone, Debug, From, Into)]
/// NewType to disambiguate DA Membership
pub struct DaMembers(pub Vec<StakeTableEntry<PubKey>>);
pub struct DAMembers(pub Vec<StakeTableEntry<PubKey>>);

#[derive(Clone, Debug, From, Into)]
/// NewType to disambiguate StakeTable
Expand All @@ -22,5 +22,5 @@ pub struct StakeTable(pub Vec<StakeTableEntry<PubKey>>);
#[derive(Clone, Debug)]
pub struct StakeTables {
pub stake_table: StakeTable,
pub da_members: DaMembers,
pub da_members: DAMembers,
}

0 comments on commit 28dffec

Please sign in to comment.