Open chirag-bgh opened 1 year ago
@bkchr Do you have any insights on this?
Update: So setting the rpc_url as Bytes in the explorer works instead putting it as String
at a first glance it looks like the value is not encoded as a Vec<u8>
but maybe as an u8 array of fixed size or something else.
Because the h
seems to be interpreted as the compact length of the vec and thus is missing from the result and then the url is cut too short probably meaning the length of the vec is wrong, because it has been computed from h
instead of the correct way.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
I need to get the rpc_url value set initially from the explorer. The localStorageGet rpc function returns the correct value of the rpc_url. This returns
https://eth-mainnet.g.alchemy.com/v2/MY_API_KEY
But while fetching the rpc_url through the storage call like this:
This returns
endpoint = ttps://eth-mainnet.g.alche
Steps to reproduce
No response