Skip to content

Commit dcb1d2d

Browse files
committed
test: Add MaxTwinAdmins parameter to DAO pallet mock configuration
1 parent d0f3818 commit dcb1d2d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • substrate-node/pallets/pallet-dao/src

substrate-node/pallets/pallet-dao/src/mock.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ parameter_types! {
145145
pub const MaxInterfaceIpsLength: u32 = 5;
146146
pub const MaxInterfacesLength: u32 = 10;
147147
pub const MaxFarmPublicIps: u32 = 512;
148+
pub const MaxTwinAdmins: u32 = 10;
148149
pub const TimestampHintDrift: u64 = 60;
149150
}
150151

@@ -172,6 +173,7 @@ impl pallet_tfgrid::Config for TestRuntime {
172173
type FarmName = TestFarmName;
173174
type MaxFarmNameLength = MaxFarmNameLength;
174175
type MaxFarmPublicIps = MaxFarmPublicIps;
176+
type MaxTwinAdmins = MaxTwinAdmins;
175177
type MaxInterfacesLength = MaxInterfacesLength;
176178
type InterfaceName = TestInterfaceName;
177179
type InterfaceMac = TestInterfaceMac;

0 commit comments

Comments
 (0)