You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For storage writes and reads over an allocation period (say few minutes) which needs to include expiration and cancellation variants, the tokens needs to be absolute in the sense that they all need to go to the blobbers for storing data at a particular write price and reading data at a specific price. I'd do separate prices for blobbers and make sure the results conform to expectations. The validator income should be absolute as well in terms of challenges they worked on, but there will be probabilistic variance among them.
For blobber rewards, if all blobbers are uniform in reads/writes/storage/stake/price, then the probabilistic distribution should be uniform. We should test with non-uniform blobbers to see if the variance changes as per expectations. This is a tricky test and we need to consider different scenarios to make sure its working properly.
Also, see blobber reward lottery. It would be good if we could come up with a strategy to test rewards distribution is uniform in the long term, and consistent with the formulas.
Check blobber gets rewards for passing challenges. Ensure the tokenomics is correct on 0chain (ping @Kishan-Dhakan for clarification): @uneet7
Check blobber gets slashed for failing challenges. Ensure the tokenomics is correct on 0chain (ping @Kishan-Dhakan for clarification): TBD
The text was updated successfully, but these errors were encountered:
Add a blobber collect service charge test to TestCollectRewards.
0chain/0chain#1828 and 0chain/0chain#1829 and 0chain/0chain#1832 and 0chain/0chain#1833 should fix collect rewards, so the service charge can be collected correctly; we should test this.
For storage writes and reads over an allocation period (say few minutes) which needs to include expiration and cancellation variants, the tokens needs to be absolute in the sense that they all need to go to the blobbers for storing data at a particular write price and reading data at a specific price. I'd do separate prices for blobbers and make sure the results conform to expectations. The validator income should be absolute as well in terms of challenges they worked on, but there will be probabilistic variance among them.
TestBlobberRewards needs a rework. Can be done after 0chain/0chain#1816 and 0chain/0chain#1777.
For blobber rewards, if all blobbers are uniform in reads/writes/storage/stake/price, then the probabilistic distribution should be uniform. We should test with non-uniform blobbers to see if the variance changes as per expectations. This is a tricky test and we need to consider different scenarios to make sure its working properly.
Also, see blobber reward lottery. It would be good if we could come up with a strategy to test rewards distribution is uniform in the long term, and consistent with the formulas.
The text was updated successfully, but these errors were encountered: