Hello,
When i try to publish my code. Code is very simple code. I can build without problem but to publish i get this RPC call failed.
may be api version Mismatch but I am not sure. Mine is : 1.24.0 but client is 1.23.0
Please let me know . Thank you.
$ sui client publish --gas-budget 10000000 /mnt/c/WINDOWxxxxxxxxxxxxd/sources/Hello.move
[warn] Client/Server api version mismatch, client api version : 1.23.0, server api version : 1.24.0
UPDATING GIT DEPENDENCY xxxxxx
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING hello_world
Successfully verified dependencies on-chain against source.
RPC call failed: ErrorObject { code: ServerError(-32002), message: “Transaction execution failed due to issues with transaction inputs, please review the errors and try again: TransferObjects, MergeCoin, and Publish cannot have empty arguments. If MakeMoveVec has empty arguments, it must have a type specified.”, data: None }
Caused by:
RPC call failed: ErrorObject { code: ServerError(-32002), message: “Transaction execution failed due to issues with transaction inputs, please review the errors and try again: TransferObjects, MergeCoin, and Publish cannot have empty arguments. If MakeMoveVec has empty arguments, it must have a type specified.”, data: None }
i use’’ sui client publish --gas-budget 100000000 ‘’ in the source file or ‘’ sui client publish --gas-budget 100000000/home/aooooooooe/happy ‘’ but both get:
‘‘RPC call failed: ErrorObject { code: ServerError(-32002), message: “Transaction execution failed due to issues with transaction inputs, please review the errors and try again:\n- TransferObjects, MergeCoin, and Publish cannot have empty arguments. If MakeMoveVec has empty arguments, it must have a type specified”, data: None }’’
@aoooooe You should run sui client publish --gas-budget 100000000 in the folder where your Move.toml and source directory are located, not inside the source file. Also if you’re specifying a path, make sure each argument is properly spaced.
If the issue persists, please share the result of the following command:
i do with your advice ,but it doesnt work,that is the result of the following command
because i can reply you with a link so i change url a bit,
sui 1.33.2-8d34b8d51818
alias │ url │ active │
├─────────┼────────────────────
│ testnet │ fullnode.testnet.sui io:443 | * │
Could you please check your local environment for anything that might be interfering with the connection to the RPC nodes? I recommend taking the following actions:
Reboot your PC
Review your network settings, including VPN and antivirus, to ensure nothing is causing interference