oxheadalpha / nft-tutorial

Tezos FA2 NFT CLI Tool And Tutorial
MIT License
92 stars 25 forks source link

Testnet boostrap results in empty implicit contract #11

Closed benjamin-wilson closed 2 years ago

benjamin-wilson commented 3 years ago

Switching networks in tznft.json to testnet results in this error when trying to boostrap:

originating balance inspector contract...
inspector origination error {
  "message": "Http error response: (500) [{\"kind\":\"branch\",\"id\":\"proto.008-PtEdo2Zk.implicit.empty_implicit_contract\",\"implicit\":\"tz1f6LtT8nER9aYaaNb7PPJq7rkhwpcXexU6\"}]\n",
  "status": 500,
  "statusText": "Internal Server Error",
  "body": "[{\"kind\":\"branch\",\"id\":\"proto.008-PtEdo2Zk.implicit.empty_implicit_contract\",\"implicit\":\"tz1f6LtT8nER9aYaaNb7PPJq7rkhwpcXexU6\"}]\n",
  "url": "https://rpcalpha.tzbeta.net/chains/main/blocks/head/helpers/scripts/run_operation",
  "name": "HttpResponse"
}
failed to start. {"message":"Http error response: (500) [{\"kind\":\"branch\",\"id\":\"proto.008-PtEdo2Zk.implicit.empty_implicit_contract\",\"implicit\":\"tz1f6LtT8nER9aYaaNb7PPJq7rkhwpcXexU6\"}]\n","status":500,"statusText":"Internal Server Error","body":"[{\"kind\":\"branch\",\"id\":\"proto.008-PtEdo2Zk.implicit.empty_implicit_contract\",\"implicit\":\"tz1f6LtT8nER9aYaaNb7PPJq7rkhwpcXexU6\"}]\n","url":"https://rpcalpha.tzbeta.net/chains/main/blocks/head/helpers/scripts/run_operation","name":"HttpResponse"}
emishur commented 2 years ago

It looks like the intermittent errors caused by unavailability of the public node. A quick fix might be going to tznft.json config file and changing RPC URL for some alternative public node

emishur commented 2 years ago

tznft does not originate inspector contract anymore