You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling MoveCall, we should be able ignore the Gas field. In this way the fullnode should assign the proper gas object. But we met AccountAddressParseError in the current impl
Modify the source code to the following format
Gas: string => any
type MoveCallRequest struct {
// the transaction signer's Sui address
Signer string json:"signer"
// the package containing the module and function
PackageObjectId string json:"packageObjectId"
// the specific module in the package containing the function
Module string json:"module"
// the function to be called
Function string json:"function"
// the type arguments to the function
TypeArguments []interface{} json:"typeArguments"
// the arguments to the function
Arguments []interface{} json:"arguments"
// gas object to be used in this transaction, node will pick one from the signer's possession if not provided
Gas any json:"gas"
// the gas budget, the transaction will fail if the gas cost exceed the budget
GasBudget string json:"gasBudget"
}
Provide Your Environment
the latest
Describe the bug
When calling MoveCall, we should be able ignore the Gas field. In this way the fullnode should assign the proper gas object. But we met
AccountAddressParseError
in the current implSteps or screenshots to reproduce the behavior
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: