dapptools
dapptools copied to clipboard
seth bundle-source: Argument list too long
Run seth bundle-source 0x374ABb8cE19A73f2c4EFAd642bda76c797f19233 (on linux only?) and you will see:
/nix/store/cicalla8af9c2aj1f5i52zj3r6imscph-seth-0.11.0/libexec/seth/seth-bundle-source: line 37: /nix/store/cicalla8af9c2aj1f5i52zj3r6imscph-seth-0.11.0/libexec/seth/seth: Argument list too long
Seems likely that this is the root cause.
so how to solve it?
/nix/store/3fl61v0ssh5cdxqbvzvbqqx9a08j1wmg-seth-0.10.1/libexec/seth/seth-bundle-source: line 32: /nix/store/3fl61v0ssh5cdxqbvzvbqqx9a08j1wmg-seth-0.10.1/libexec/seth/seth: Argument list too long
i encounter the same problem
the way to reproduce it is :
[alice@test samczsun]$ seth bundle-source 0x374ABb8cE19A73f2c4EFAd642bda76c797f19233 > impl.json
i tried those ways but it doesnt' work
- ulimit -S -s unlimited (according to the link: https://unix.stackexchange.com/questions/128559/solving-mv-argument-list-too-long)
Linux test 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I think we need to rewrite bundle source to write the source to a temp file on disk instead of using env vars