Skip to content

Commit

Permalink
correct arg order
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-schultz committed Oct 24, 2024
1 parent 503da7d commit d21de01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/utils/validator_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@ func CompleteERC20DelegatorRegistration(
) *types.Receipt {
abi, err := erc20tokenstakingmanager.ERC20TokenStakingManagerMetaData.GetAbi()
Expect(err).Should(BeNil())
callData, err := abi.Pack("completeDelegatorRegistration", uint32(0), delegationID)
callData, err := abi.Pack("completeDelegatorRegistration", delegationID, uint32(0))
Expect(err).Should(BeNil())
return CallWarpReceiver(
ctx,
Expand Down Expand Up @@ -1215,7 +1215,7 @@ func CompleteEndERC20Delegation(
) *types.Receipt {
abi, err := erc20tokenstakingmanager.ERC20TokenStakingManagerMetaData.GetAbi()
Expect(err).Should(BeNil())
callData, err := abi.Pack("completeEndDelegation", uint32(0), delegationID)
callData, err := abi.Pack("completeEndDelegation", delegationID, uint32(0))
Expect(err).Should(BeNil())
return CallWarpReceiver(
ctx,
Expand Down Expand Up @@ -1264,7 +1264,7 @@ func CompleteNativeDelegatorRegistration(
) *types.Receipt {
abi, err := nativetokenstakingmanager.NativeTokenStakingManagerMetaData.GetAbi()
Expect(err).Should(BeNil())
callData, err := abi.Pack("completeDelegatorRegistration", uint32(0), delegationID)
callData, err := abi.Pack("completeDelegatorRegistration", delegationID, uint32(0))
Expect(err).Should(BeNil())
return CallWarpReceiver(
ctx,
Expand Down Expand Up @@ -1306,7 +1306,7 @@ func CompleteEndNativeDelegation(
) *types.Receipt {
abi, err := nativetokenstakingmanager.NativeTokenStakingManagerMetaData.GetAbi()
Expect(err).Should(BeNil())
callData, err := abi.Pack("completeEndDelegation", uint32(0), delegationID)
callData, err := abi.Pack("completeEndDelegation", delegationID, uint32(0))
Expect(err).Should(BeNil())
return CallWarpReceiver(
ctx,
Expand Down

0 comments on commit d21de01

Please sign in to comment.