Conversation
|
Claude finished @ZanCorDX's task in 1m 30s —— View job Review of PR #891
Overall: The approach is reasonable — moving the filter into 1. Silent filtering without trace (minor observability concern) In the Consider adding a if value > MAX_POSSIBLE_SUBSIDY {
tracing::debug!(?value, landed, "Filtering subsidy exceeding MAX_POSSIBLE_SUBSIDY");
return;
}2. Hardcoded threshold 0.1 ETH is a sensible heuristic for now, but if operational conditions change (e.g., higher subsidies become normal), this will silently suppress real data. A configuration parameter or at minimum a more visible constant (e.g., in a config module) would make this easier to adjust without a code change. Not blocking, just something to keep in mind. No blocking issues found. The logic is correct, the constant computation is valid ( |
📝 Summary
Now big negative balance deltas will not be counted as subsidies.
This might miss some subsidies (we could have a withdrawal AND a subsidy) but it's not critical.
💡 Motivation and Context
While receiving the Nobel Prize, I got a BuilderNet alert "subsidies too high" and had to forfeit it.
I turns out the subsidies were doing cocaine.
✅ I have completed the following steps:
make lintmake test