0xweb icon indicating copy to clipboard operation
0xweb copied to clipboard

--endpoint option not taken into account for dump

Open nikkolasg opened this issue 2 years ago • 1 comments

$ 0xweb c dump PudgyPenguins --output dumps/pudgy
...
20:29:08 Range worker request: 12876178-18978939. block range is too wide https://eth.public-rpc.com ...

or

$ 0xweb c dump PudgyPenguins --output dumps/pudgy --endpoints https://invalid-url-that-doesnt-exist.com
...
20:29:08 Range worker request: 12876178-18978939. block range is too wide https://eth.public-rpc.com ...

I haven't tried with other methods.

nikkolasg avatar Jan 10 '24 20:01 nikkolasg

Hi @nikkolasg , thank you for the submission. It looks like you have a typo in the parameter key, --endpoints, it should be singular.

However, with this, you have given me a hint to add support for multiple endpoints. So, in the new version 0.10.38, the flag --endpoints is also supported and can receive the CSV of the URLs.

Could you please recheck and provide your feedback to see if it works?

tenbits avatar Jan 20 '24 23:01 tenbits