Improve totalKreditsEarned #121
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "refactor/amounts_vs_counts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
fyi: due to the ERC721 standard that naming is a bit confusing e.g. see the
balanceOf
function which does a count of contributions.(though I am tending more and more to move away and ignore that standard)
Did you test that the different returned types (uint32) don't break the scripts / kredits-web? (I am lazy right now to go through the setup :/ )
No, but it's a simple change for both. If it does break clients, we can release a major version of the module.
Yes, I realize that. But it doesn't mean we have to use words that mean different things for variables in unrelated functions.
ToDo:
we should also update the code to only count non-vetoed contributions and deploy that together on-chain.
Can't see an issue about that. Sounds like a bug to me.
update the rest of the code accordingly and added the resulting, updated ABI.
did not test it with kredits-web though. But I'd say let's merge and deploy this update.