Kevin pfp

Kevin

@typedarray.eth

436 Following
266455 Followers


Kevin pfp
Kevin
@typedarray.eth
Very monorepo-pilled for this reason. Full stack type inference is just absurdly productive
0 reply
0 recast
2 reactions

Kevin pfp
Kevin
@typedarray.eth
iykyk
2 replies
10 recasts
62 reactions

Kevin pfp
Kevin
@typedarray.eth
Ooh, will consider it. We also (attempt) to fetch the contract name, contract creation block number, and follow proxy ABI(s) - so a partial fix, but might still make sense.
0 reply
0 recast
1 reaction

Kevin pfp
Kevin
@typedarray.eth
Damn, it's quite a shame. This was a big part of Ponder's "first 5 minutes" experience.
0 reply
0 recast
1 reaction

Kevin pfp
Kevin
@typedarray.eth
Did Etherscan remove their public/unauthenticated tier for API requests? Until recently, you could make unauthenticated requests for verified contract ABIs, contract deployment transactions, etc with a restrictive rate limit (1 req / 5 second). Now seeing consistent "Missing/Invalid API Key" errors.
4 replies
3 recasts
19 reactions

Kevin pfp
Kevin
@typedarray.eth
Quick PG debugging story. And a great blog post about the Postgres null byte situation. Seems to be a common rough edge. https://www.commandprompt.com/blog/null-characters-workarounds-arent-good-enough/ https://warpcast.com/typedarray.eth/0x761b14a8
0 reply
0 recast
8 reactions

Kevin pfp
Kevin
@typedarray.eth
Fun debugging rabbit hole from this week. Last week, a few Ponder users opened issues for an "invalid byte sequence for encoding "UTF8": 0x00" error. Most software ignores or removes null characters (\0, \x00, or \u0000), but the Postgres TEXT data type rejects them with that error. We reproduced the issue with an ENS NameRegistered event log from 2022 (s/o @greg). Turns out, some EVM event logs contain null characters within decoded `string` parameter values. Now, the framework removes null characters from all decoded ABI parameters before passing them to userland. We could have instead fixed this on the PG driver/Drizzle side, but it seemed more fragile (are we wrong?). We're not certain why this only appeared recently - we haven't changed any relevant codepaths in recent releases. My best guess is that Viem used to remove them but stopped. Viem is a peer dep, so the version can change independently from Ponder's version. PR: https://github.com/ponder-sh/ponder/pull/1414
1 reply
5 recasts
29 reactions

Kevin pfp
Kevin
@typedarray.eth
El Flamin on sunset and alvarado in echo park
0 reply
0 recast
1 reaction

Kevin pfp
Kevin
@typedarray.eth
Why?
0 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Two of the top 20 built with ponder, possibly more
2 replies
9 recasts
47 reactions

Kevin pfp
Kevin
@typedarray.eth
Not too strange imo, the S3 API is the de facto standard for cloud object storage. Bun comms could perhaps be more neutral tho. S3 is a (rare) positive example of a standard coming into clarity after many years of production usage, steered by a competent designer (aws). Contrast with the standard ethereum RPC.
1 reply
0 recast
2 reactions

Kevin pfp
Kevin
@typedarray.eth
Curious. We're having success with clickhouse for one project, but not as a direct substitution.
1 reply
7 recasts
26 reactions

Kevin pfp
Kevin
@typedarray.eth
Yes :) happy to answer any questions / help you get started.
1 reply
0 recast
6 reactions

Kevin pfp
Kevin
@typedarray.eth
Correct. This is in the context of an open-source framework that I work on - most of our users are small teams where the (alleged πŸ˜‰) benefits of GraphQL matter less. Though, this upcoming release (@ponder/client) is actually an SQL client / query builder - so arguably it's *more* expressive than GraphQL.
0 reply
0 recast
2 reactions

Kevin pfp
Kevin
@typedarray.eth
https://github.com/ponder-sh/ponder
0 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Yes I have abandoned GraphQL despite supporting it in the past /s (but not really)
6 replies
5 recasts
38 reactions

Steve pfp
Steve
@stevedylandev.eth
This week when we built concealmint.com I took the opportunity to explore Ponder.sh; it’s the 🐐 Wrote up a blog post on how you can build an NFT indexer while using Pinata Dedicated Gateway image optimizations for all your IPFS needs πŸ”₯🀝 https://bit.ly/3ZLL4cB
0 reply
2 recasts
9 reactions

Kevin pfp
Kevin
@typedarray.eth
Classic mixup
0 reply
0 recast
1 reaction

Kevin pfp
Kevin
@typedarray.eth
Holy shit this is a real card? Must be absolutely busted in limited
1 reply
0 recast
1 reaction

Kevin pfp
Kevin
@typedarray.eth
Wait... really? Can you send a block explorer link?
1 reply
0 recast
10 reactions