Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
geoff-vball committed Nov 28, 2024
1 parent 7a812ad commit 9ed8d9d
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions tests/utils/validator_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -568,9 +568,10 @@ func InitializeAndCompleteNativeValidatorRegistration(

// Construct a L1ValidatorRegistrationMessage Warp message from the P-Chain
log.Println("Completing validator registration")
registrationSignedMessage := ConstructL1ValidatorRegistrationMessageForInitialValidator(
registrationSignedMessage := ConstructL1ValidatorRegistrationMessage(
validationID,
0,
expiry,
node,
true,
l1Info,
pChainInfo,
Expand Down Expand Up @@ -645,9 +646,10 @@ func InitializeAndCompleteERC20ValidatorRegistration(

// Construct a L1ValidatorRegistrationMessage Warp message from the P-Chain
log.Println("Completing validator registration")
registrationSignedMessage := ConstructL1ValidatorRegistrationMessageForInitialValidator(
registrationSignedMessage := ConstructL1ValidatorRegistrationMessage(
validationID,
0,
expiry,
node,
true,
l1Info,
pChainInfo,
Expand Down Expand Up @@ -712,9 +714,10 @@ func InitializeAndCompletePoAValidatorRegistration(

// Construct a L1ValidatorRegistrationMessage Warp message from the P-Chain
log.Println("Completing validator registration")
registrationSignedMessage := ConstructL1ValidatorRegistrationMessageForInitialValidator(
registrationSignedMessage := ConstructL1ValidatorRegistrationMessage(
validationID,
0,
expiry,
node,
true,
l1Info,
pChainInfo,
Expand Down Expand Up @@ -1184,9 +1187,10 @@ func InitializeAndCompleteEndPoSValidation(

// Construct a L1ValidatorRegistrationMessage Warp message from the P-Chain
log.Println("Completing validator removal")
registrationSignedMessage := ConstructL1ValidatorRegistrationMessageForInitialValidator(
registrationSignedMessage := ConstructL1ValidatorRegistrationMessage(
validationID,
0,
expiry,
node,
false,
l1Info,
pChainInfo,
Expand Down Expand Up @@ -1328,9 +1332,10 @@ func InitializeAndCompleteEndPoAValidation(
ValidateL1ValidatorWeightMessage(signedWarpMessage, validationID, 0, nonce)

// Construct a L1ValidatorRegistrationMessage Warp message from the P-Chain
registrationSignedMessage := ConstructL1ValidatorRegistrationMessageForInitialValidator(
registrationSignedMessage := ConstructL1ValidatorRegistrationMessage(
validationID,
0,
Node{},
false,
l1Info,
pChainInfo,
Expand Down

0 comments on commit 9ed8d9d

Please sign in to comment.