Replies: 5 comments 5 replies
-
Help me to know how
…On Sat, Aug 5, 2023, 22:32 Tanmay Khatri ***@***.***> wrote:
I am trying to run the following command to publish the contracts on sui
Devnet
sui client publish sources/nft_example.move --gas-budget 20000
This result into the following error
RPC call failed: ErrorObject { code: InvalidParams, message: "Transaction has non recoverable errors from at least 1/3 of validators", data: Some(RawValue([[{"UserInputError":{"error":{"GasBudgetTooLow":{"gas_budget":2000,"min_budget":1000000}}}},5000,["p3Orq1DtDFLufr2VgRDX6ldjYU0SaM68J1zDT5uwZFYQ0fro82cDPXJHDl0Y7EMXBDnt0KeO7cHyCmS1wx2INRYk2zK6yP+ctb+fT0rffKeD18mhTAaCtua8J8Er59r1","r2FBEItU3hZi/JqPTpWEsFXQK1BTkhzCrOTUIgDYfZZQJBPO6yrgNMeCqH5z5n+1AUCEYQlbXaiENLtwM5dzGhTuzzfutEP66OKcyMMrEvs6YyB03m8NsvtTRqdpqETF"]]])) }
Caused by:
RPC call failed: ErrorObject { code: InvalidParams, message: "Transaction has non recoverable errors from at least 1/3 of validators", data: Some(RawValue([[{"UserInputError":{"error":{"GasBudgetTooLow":{"gas_budget":2000,"min_budget":1000000}}}},5000,["p3Orq1DtDFLufr2VgRDX6ldjYU0SaM68J1zDT5uwZFYQ0fro82cDPXJHDl0Y7EMXBDnt0KeO7cHyCmS1wx2INRYk2zK6yP+ctb+fT0rffKeD18mhTAaCtua8J8Er59r1","r2FBEItU3hZi/JqPTpWEsFXQK1BTkhzCrOTUIgDYfZZQJBPO6yrgNMeCqH5z5n+1AUCEYQlbXaiENLtwM5dzGhTuzzfutEP66OKcyMMrEvs6YyB03m8NsvtTRqdpqETF"]]])) }
The wallet balance is *10 SUI*.
Code Reference :
https://github.com/sui-foundation/encode-sui-educate/blob/main/lesson-3/sources/onchain_identity.move
—
Reply to this email directly, view it on GitHub
<#13311>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A66IW47BKQNJVCUAXJRLUMDXT23XJANCNFSM6AAAAAA3FOKSPM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Generate public key
…On Sun, Aug 6, 2023, 14:10 Tanmay Khatri ***@***.***> wrote:
?
—
Reply to this email directly, view it on GitHub
<#13311 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A66IW47TQLP6DJQ2VZP7FV3XT6JV3ANCNFSM6AAAAAA3FOKSPM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
hi |
Beta Was this translation helpful? Give feedback.
1 reply
-
You can verify the gas using sui client objects
You can try to increase more the gas
Or
Try to publish the hole folder you build not just the module
Envoyé à partir de Outlook pour Android<https://aka.ms/AAb9ysg>
…________________________________
From: Tanmay Khatri ***@***.***>
Sent: Tuesday, August 8, 2023 11:23:07 AM
To: MystenLabs/sui ***@***.***>
Cc: hwerbi ***@***.***>; Comment ***@***.***>
Subject: Re: [MystenLabs/sui] Unable to publish a contract on Sui Devnet (Discussion #13311)
Yes, I ran sui move build before publishing the package.
When I increase the gas budget to 1,000,000 as stated in the error, I get the following error though I have 10 sui in the Devnet account.
[Screenshot 2023-08-08 144540]<https://user-images.githubusercontent.com/52573153/259052643-045138d1-615a-4bf4-b772-fc90c2e7b627.png>
—
Reply to this email directly, view it on GitHub<#13311 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJIXPJIFJWB56ISVA5LF7MTXUIAPXANCNFSM6AAAAAA3FOKSPM>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I just tried to publish a package and I got the same error I fixed it as indicated in the figure. So I suggest:
* publish a folder, not a file
* be inside the folder to publish
* indicate the whole path to the folder
* increase the gas to 1,000,000,000
I hope this helps you
…________________________________
De : Tanmay Khatri ***@***.***>
Envoyé : mercredi 9 août 2023 16:57
À : MystenLabs/sui ***@***.***>
Cc : hwerbi ***@***.***>; Comment ***@***.***>
Objet : Re: [MystenLabs/sui] Unable to publish a contract on Sui Devnet (Discussion #13311)
I tried. Still the same issue.
—
Reply to this email directly, view it on GitHub<#13311 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJIXPJJWLSVSGTAEHOUJPDLXUOQPHANCNFSM6AAAAAA3FOKSPM>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to run the following command to publish the contracts on sui Devnet
This result into the following error
The wallet balance is 10 SUI.
Code Reference : https://github.com/sui-foundation/encode-sui-educate/blob/main/lesson-3/sources/onchain_identity.move
Beta Was this translation helpful? Give feedback.
All reactions