Hi everyone, I was trying to deploy a complex move package to testnet. It gives a gateway 504 error. I can deploy a small package and also deploy this package on localnet.
SuiHTTPStatusError: Unexpected status code: 504
at SuiHTTPTransport.request (C:\Users\xx\node_modules@mysten\sui.js\src\client\http-transport.ts:109:10)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at async SuiClient.executeTransactionBlock (C:\Users\xx\node_modules@mysten\sui.js\src\client\client.ts:414:10) {
status: 504,
statusText: ‘Gateway Timeout’
}
This move package has 16 move file and each has around 500 lines of code. I was thinking the deloying is complex so time cusuming. The rpc cut off my connection before the deployment finished.
I am using the testnet rpc: .testnet.sui.io. I also tried a few other rpc, which also gives
code: -32603, type: ‘InternalError’ or code: -32002, type: ‘ServerError’.
Does anyone have such experience deploying large package? Is there any suggested rpc could adjust setting?