bee
bee copied to clipboard
fix: incorrect topup
Checklist
- [x] I have read the coding guide
- [x] My change requires a documentation update and I have done it
- [x] I have added tests to cover my changes.
Description
Motivation and context (Optional)
Related Issue (Optional)
This PR fixes #3136
Screenshots (if appropriate):
@istae Is there an issue for this?
I dont think this is the right usage of TopUp. TopUp is the topup amount per chunk. This is not the new value of the batch. The normalized balance is not calculated here. The variable name might be misleading.
@istae Is there an issue for this?
I dont think this is the right usage of TopUp. TopUp is the topup amount per chunk. This is not the new value of the batch. The normalized balance is not calculated here. The variable name might be misleading.
@aloknerurkar so we caught this bug with @swarmHaseeb this morning where when you top up a batch, the amount field is replaced with the value of the batch. There is no issue, maybe we should create one for bookkeeping purposes.
@istae Is there an issue for this? I dont think this is the right usage of TopUp. TopUp is the topup amount per chunk. This is not the new value of the batch. The normalized balance is not calculated here. The variable name might be misleading.
@aloknerurkar so we caught this bug with @swarmHaseeb this morning where when you top up a batch, the amount field is replaced with the value of the batch. There is no issue, maybe we should create one for bookkeeping purposes.
Please find the issue here