Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Bugless CLI #76

Closed
guidanoli opened this issue Apr 9, 2024 · 5 comments
Closed

Fix Bugless CLI #76

guidanoli opened this issue Apr 9, 2024 · 5 comments

Comments

@guidanoli
Copy link
Contributor

The Bugless CLI is not working with the migration to Rollmelette, and should be fixed.
This is due to the fact that it uses cast to send inputs, which limits the maximum argument size.
We should, just like EggRoll, use go-ethereum to write, sign and send transactions to anvil.

@ZzzzHui
Copy link
Contributor

ZzzzHui commented Apr 16, 2024

The CLI itself works for me. Could you please post the error message you got? :)

@guidanoli
Copy link
Contributor Author

The error I got was cast: argument list too long.
I suspect it is because the input was too long to be passed as argument to cast.
It seems that, in many Linux systems, the maximum argument size is 256 KB.
The Lua bounty is around 90 KB in size, while SQLite is more than 300 KB.
I suspect we need to use go-ethereum to create, sign, and submit transactions.

@ZzzzHui
Copy link
Contributor

ZzzzHui commented Apr 17, 2024

I see. Although the quickest solution for now is to increase the stack space for your system. Try the ulimit -s command like this.
Let me know if it helps.

@guidanoli
Copy link
Contributor Author

The ulimit -s approach did not work, because each argument seems to be limited to 128KB.

@guidanoli
Copy link
Contributor Author

This has been superseded by #79

@guidanoli guidanoli closed this as not planned Won't fix, can't repro, duplicate, stale Apr 20, 2024
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

No branches or pull requests

2 participants