Arnaud Benard
@wtell
Emitting events is a common design pattern in Ethereum, how come there’s no Datadog for smart contract events?
3 replies
0 recast
0 reaction
✳️ dcposch on daimo
@dcposch.eth
Etherscan kind of does this. You can search by indexed fields. It's just janky.
1 reply
0 recast
0 reaction
Arnaud Benard
@wtell
The users I have in mind are smart contract engineers they want to track the events and notice patterns. For example, “yesterday there was a spike in fallback execution”.
2 replies
0 recast
0 reaction
Brian
@brianj
While I feel like this would be generally useful, IDK if that's the right mental framing. Unlike in web2, if you're just noticing some new error pattern occurring in "prod" for your smart contract imo something in your previous QA process went very wrong
2 replies
0 recast
0 reaction
Arnaud Benard
@wtell
That’s a good point. The contract code is public and open to exploits. Deploying and watching for errors is probably a bad idea. What’s the best practice for QA?
1 reply
0 recast
0 reaction
✳️ dcposch on daimo
@dcposch.eth
You’re right that we can’t ship contracts and then casually watch logs for bugs But still useful to watch trends in activity And if u *do* get exploited, much less embarrassing if the news doesn’t say “and it went undiscovered for a week”
1 reply
0 recast
0 reaction