exchain
exchain copied to clipboard
Each block‘s totalFee amount more than the mint token‘s number per block
Summary of Bug
when there's no tx in block,the mint token's number 0.95064263 =(10000000000*1%)/10519200 per block the distr module's totalFee is 0.95254582okt per block get by logs the totalFee should be 0.95064263 * 98% = 0.931629777 not 0.95254582
Steps to Reproduce
command input:
1、okchaincli query token info okt
2、cd home/okchain_data
3、tail -f okchaind.log |grep distr
result:
1、description: OK Group Global Utility Token
symbol: okt
originalsymbol: OKT
wholename: OKT
originaltotalsupply: "1000000000.00000000"
totalsupply: "1002059924.31131420"
owner: okchain10q0rk5qnyag7wfvvt7rtphlw589m7frsmyq4ya
mintable: true
D[2020-04-30|12:16:11.972][1] AllocateTokens module=distr TotalFee=0.95254582okt
D[2020-04-30|12:16:11.973][1] allocate by equal module=distr okchainvaloper1p6ldld3y8ly5pt4kh4lq848luwmh6skaz37cmy=0.11906822okt
D[2020-04-30|12:16:11.973][1] allocate by equal module=distr okchainvaloper1g7znsf24w4jc3xfca88pq9kmlyjdare6mph5rx=0.11906822okt
D[2020-04-30|12:16:11.973][1] allocate by votes module=distr okchainvaloper1p6ldld3y8ly5pt4kh4lq848luwmh6skaz37cmy=0.23813645okt
D[2020-04-30|12:16:11.973][1] allocate by votes module=distr okchainvaloper1g7znsf24w4jc3xfca88pq9kmlyjdare6mph5rx=0.23813645okt
D[2020-04-30|12:16:11.973][1] allocate by votes module=distr okchainvaloper1alq9na49n9yycysh889rl90g9nhe58lcs50wu5=0.
Version
v0.10.0
For Admin Use
- [ ] Not duplicate issue
- [ ] Appropriate labels applied
- [ ] Appropriate contributors tagged
- [ ] Contributor assigned/self-assigned