this PR only brings back the functionality that we had before. It returns the ERC20 kredits balance of the user.
Though I am wondering if we should rather load the balances (kredits and contribution) in the client/kredits-web. Would keep the contract code also smaller and less coupled.
this PR only brings back the functionality that we had before. It returns the ERC20 kredits balance of the user.
Though I am wondering if we should rather load the balances (kredits and contribution) in the client/kredits-web. Would keep the contract code also smaller and less coupled.
Though I am wondering if we should rather load the balances (kredits and contribution) in the client/kredits-web. Would keep the contract code also smaller and less coupled.
But it also increases the amount of HTTP requests for every loading of the app. Not sure which one is better.
> Though I am wondering if we should rather load the balances (kredits and contribution) in the client/kredits-web. Would keep the contract code also smaller and less coupled.
But it also increases the amount of HTTP requests for every loading of the app. Not sure which one is better.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This is a regression introduced by the latest contract updates.
Now we return the balance again when loading contributor data.
Which balance though? Kredits that have been withdrawn, or kredits that have been earned? (I'd prefer the latter.)
this PR only brings back the functionality that we had before. It returns the ERC20 kredits balance of the user.
Though I am wondering if we should rather load the balances (kredits and contribution) in the client/kredits-web. Would keep the contract code also smaller and less coupled.
But it also increases the amount of HTTP requests for every loading of the app. Not sure which one is better.
yep, that's why I made this PR.
It werks! 🎉