Content pfp
Content
@
0 reply
0 recast
2 reactions

✳️ dcposch on daimo pfp
✳️ dcposch on daimo
@dcposch.eth
Indexing is key to great Ethereum apps. But it's harder than it should be! Here's how we made ours work & what we'd like to see in the future https://daimo.com/blog/posts/less-terrible-ethereum-indexing
15 replies
97 recasts
540 reactions

Royal pfp
Royal
@royalaid.eth
Thank you for writing this. * Gets out soapbox* So many assumptions about reliability in the space, especially at scale, fail as invariants. I know this is distributed systems 101 but it becomes a lot less fun around money/tokens. This is amplified by the fact that often times many users access services through bespoke APIs or play around on chains that have poor evm support, ie. Multicall try all suddenly reverting after certain block number whereas before it worked normally. Again I get that this is software development but I do want people to know that it's a lot of these long tail, annoying, niche problems and people encounter day to day and that is a lot of the job. *Puts away soap box* Directly addressing the article a lot of the process resonates I love that you are building this!
1 reply
0 recast
0 reaction

✳️ dcposch on daimo pfp
✳️ dcposch on daimo
@dcposch.eth
What do you mean by > Multicall try all suddenly reverting after certain block number whereas before it worked normally.
1 reply
0 recast
1 reaction

Royal pfp
Royal
@royalaid.eth
I misspoke, it was tryEach: "executes all calls in a single request. Ignores reverted calls and returns null value in place of return data for the calls that are allowed to fail (wrapper on top of aggregate3 method)" Suddenly for whatever reason something changed, I think on Metis, and this call (in the https://github.com/Destiner/ethcall library) decided it's okay to revert when that should never be the case, provided the top level multicall works. Is it probably something I was doing wrong in the first place? More than likely and I haven't drilled down into the specific issue yet but the fact remains that what was a functional RPC interaction changed out from under me suddenly and with no warning breaking some key data fetching in our Web app.
0 reply
0 recast
1 reaction