Content pfp
Content
@
0 reply
0 recast
2 reactions

W1NTΞR pfp
W1NTΞR
@w1nt3r
After years of "web3" development, I still can't get over how arbitrarily stupid RPC nodes limitations are. Take eth_getLogs: Alchemy offers 100k, QuickNode — 10k, but these numbers can be different depending on how many results will be returned. You either have to code against a single RPC provider (lock in) or run something like /ponder or graph (ops complexity++)
7 replies
0 recast
67 reactions

Kevin pfp
Kevin
@typedarray.eth
FWIW here's our solution from the `@ponder/utils` package (open-source but poorly documented rn). It handles ~20 different eth_getLogs implementations. Your critique is spot-on, though - the standard RPC is underspecified! https://github.com/ponder-sh/ponder/blob/main/packages/utils/src/getLogsRetryHelper.ts#L36
2 replies
0 recast
1 reaction

Arti Villa | IRL at Devcon⟠⟠ pfp
Arti Villa | IRL at Devcon⟠⟠
@artivilla.eth
ponder.sh for those curious.
1 reply
0 recast
1 reaction

Arti Villa | IRL at Devcon⟠⟠ pfp
Arti Villa | IRL at Devcon⟠⟠
@artivilla.eth
all infra leads to lock in. that’s how they make $$. railway.app is an exception. but ux as a moat is hard to maintain. i think users will choose them for there growing library of templates.
0 reply
0 recast
1 reaction

will pfp
will
@w
yeah it’s embarrassing tbh
0 reply
0 recast
1 reaction

xh3b4sd ↑ pfp
xh3b4sd ↑
@xh3b4sd.eth
Isn't that why we have cursor based iteration?
0 reply
0 recast
0 reaction

treethought pfp
treethought
@treethought.eth
These aren't really "arbitrary" limits. and Alchemy's limit is 10k as well btw. Logs fundamentally put a heavy load on nodes, and if you go further than that (especially depending on the node client) nodes will start to struggle and fall behind, drop your request, return a timeout/rpc error, and even just never provide a response. There may actually be limits in certain node clients themselves too, not sure about that though
1 reply
0 recast
0 reaction

Kevin Li pfp
Kevin Li
@jkl
Do you actually want RPC calls or do you want a lot of data in a certain schema?
1 reply
0 recast
0 reaction