Skip to content

Conversation

@jayantk
Copy link
Contributor

@jayantk jayantk commented May 4, 2024

We have a bunch of locked gas objects on Sui for some reason. These are usually returned in the error message of the failed tx, but they aren't being returned currently for some reason. Add a command line option so we can manually ignore them to get the process started again.

@vercel
Copy link

vercel bot commented May 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) Visit Preview May 4, 2024 4:32am
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview May 4, 2024 4:32am

yargs(hideBin(process.argv))
.parserConfiguration({
"parse-numbers": false,
})
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you don't do this, hexadecimal strings are parsed as numbers automatically by yargs

the javascript ecosystem continues to be a dumpster fire lol

@jayantk jayantk merged commit ff6b110 into main May 4, 2024
@jayantk jayantk deleted the sui_pusher_debug2 branch May 4, 2024 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants