Skip to content

Incorrect Type for gasBudget in BatchTransaction Function #40

@insistedMarin

Description

@insistedMarin

Problem

In the BatchTransaction function located in client_call.go line 369, the type of gasBudget is incorrect. Currently, it is defined as an uint64, but it should be types.SafeSuiBigInt[uint64] to align with the expected type and prevent errors during transaction execution.

Suggested Solution

Update the function as follows:

func (c *Client) BatchTransaction(
    ctx context.Context,
    signer suiAddress,
    txnParams []map[string]interface{},
    gas *suiObjectID,
    gasBudget types.SafeSuiBigInt[uint64],
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions