Skip to content

Commit

Permalink
Fix test typos (#2233)
Browse files Browse the repository at this point in the history
Signed-off-by: marun <maru.newby@avalabs.org>
Co-authored-by: marun <maru.newby@avalabs.org>
  • Loading branch information
dhrubabasu and marun authored Oct 27, 2023
1 parent 66375f5 commit 826f941
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vms/platformvm/txs/remove_subnet_validator_tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func TestRemoveSubnetValidatorTxSerialization(t *testing.T) {
}
avax.SortTransferableOutputs(complexRemoveValidatorTx.Outs, Codec)
utils.Sort(complexRemoveValidatorTx.Ins)
require.NoError(simpleRemoveValidatorTx.SyntacticVerify(&snow.Context{
require.NoError(complexRemoveValidatorTx.SyntacticVerify(&snow.Context{
NetworkID: 1,
ChainID: constants.PlatformChainID,
AVAXAssetID: avaxAssetID,
Expand Down
4 changes: 2 additions & 2 deletions vms/platformvm/txs/transfer_subnet_ownership_tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func TestTransferSubnetOwnershipTxSerialization(t *testing.T) {
expectedUnsignedSimpleTransferSubnetOwnershipTxBytes := []byte{
// Codec version
0x00, 0x00,
// RemoveSubnetValidatorTx Type ID
// TransferSubnetOwnershipTx Type ID
0x00, 0x00, 0x00, 0x21,
// Mainnet network ID
0x00, 0x00, 0x00, 0x01,
Expand Down Expand Up @@ -276,7 +276,7 @@ func TestTransferSubnetOwnershipTxSerialization(t *testing.T) {
}
avax.SortTransferableOutputs(complexTransferSubnetOwnershipTx.Outs, Codec)
utils.Sort(complexTransferSubnetOwnershipTx.Ins)
require.NoError(simpleTransferSubnetOwnershipTx.SyntacticVerify(&snow.Context{
require.NoError(complexTransferSubnetOwnershipTx.SyntacticVerify(&snow.Context{
NetworkID: 1,
ChainID: constants.PlatformChainID,
AVAXAssetID: avaxAssetID,
Expand Down

0 comments on commit 826f941

Please sign in to comment.