Skip to content

Commit

Permalink
Merge branch 'implement-acp-77-logging' into implement-acp-77-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Nov 9, 2024
2 parents 4ce98ac + 7b5e10e commit 8ffa4ba
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions vms/platformvm/txs/executor/standard_tx_executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3125,20 +3125,19 @@ func TestStandardExecutorRegisterSubnetValidatorTx(t *testing.T) {
nil, // chainIDs
)

message := test.message
if message == nil {
message = warpMessage.Bytes()
}
registerSubnetValidatorTx, err := wallet.IssueRegisterSubnetValidatorTx(
test.balance,
pop.ProofOfPossession,
message,
warpMessage.Bytes(),
test.builderOptions...,
)
require.NoError(err)

unsignedTx := registerSubnetValidatorTx.Unsigned.(*txs.RegisterSubnetValidatorTx)
if test.message != nil {
unsignedTx.Message = test.message
}
if test.updateTx != nil {
unsignedTx := registerSubnetValidatorTx.Unsigned.(*txs.RegisterSubnetValidatorTx)
test.updateTx(unsignedTx)
}

Expand Down

0 comments on commit 8ffa4ba

Please sign in to comment.