Skip to content

Commit 33e6503

Browse files
authored
fix onramp encoder including typearg (#338)
1 parent b24b6a5 commit 33e6503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/ops/ccip_onramp/op_deploy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ var WithdrawFeeTokensHandler = func(b cld_ops.Bundle, deps sui_ops.OpTxDeps, inp
429429
return sui_ops.OpTxResult[DeployCCIPOnRampObjects]{}, fmt.Errorf("failed to encode WithdrawFeeTokens call: %w", err)
430430
}
431431

432-
call, err := sui_ops.ToTransactionCall(encodedCall, input.StateObjectId)
432+
call, err := sui_ops.ToTransactionCallWithTypeArgs(encodedCall, input.StateObjectId, []string{input.TypeArg})
433433
if err != nil {
434434
return sui_ops.OpTxResult[DeployCCIPOnRampObjects]{}, fmt.Errorf("failed to convert encoded call to TransactionCall: %w", err)
435435
}

0 commit comments

Comments
 (0)