Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fee-monitor] Fee calculation error in a term's last block #144

Open
majecty opened this issue Mar 16, 2020 · 1 comment
Open

[fee-monitor] Fee calculation error in a term's last block #144

majecty opened this issue Mar 16, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@majecty
Copy link
Contributor

majecty commented Mar 16, 2020

The fee monitor said that there is a fee calculation error in the CodeChain Main network.

I checked the stakeholder's balance at the block, there was no error at the block.
There is a transaction with 100 CCC fee and each stakeholder received 10 CCCs.

I copied the error message:

{
   "server": "mainnet",
   "moment": {
       "tag": "block",
       "value": 5343247
   },
   "errors": [
       {
           "type": "stakeholder",
           "account": "cccqyhk4388mymckk40ctf0skgkl8nf89f6sgpzwzke",
           "expected": "10010145050",
           "actual": "10010145030"
       },
       {
           "type": "stakeholder",
           "account": "cccq9g0ayvrvmzcs2qf8yygat0dg9073g5xccd3sydw",
           "expected": "10010144950",
           "actual": "10010144930"
       },
       {
           "type": "stakeholder",
           "account": "cccq9hpz4m5sx0ea42l2hfm8nja0xzzsnx0vv0p7mzw",
           "expected": "10010144850",
           "actual": "10010144830"
       },
       {
           "type": "stakeholder",
           "account": "cccqxgwashdy0fp5cwlvp4ntkzmy3xvjedfjgfzrxf7",
           "expected": "10010144850",
           "actual": "10010144830"
       },
       {
           "type": "stakeholder",
           "account": "cccqxgupxd5j0squ7t8w3etxjf0fn2z4axz0spycqum",
           "expected": "10010145250",
           "actual": "10010145230"
       },
       {
           "type": "stakeholder",
           "account": "cccqx7ycl2awx6awqyjf9ns4532xj7eg63w6v6hlnu0",
           "expected": "10010144850",
           "actual": "10010144830"
       },
       {
           "type": "stakeholder",
           "account": "cccq8r9as2drgp4xwfzz7t0xc9k977y8mw7hus3zq8e",
           "expected": "10010144950",
           "actual": "10010144930"
       },
       {
           "type": "stakeholder",
           "account": "cccq826j0p6fvpk02p0n5th7ukqu5clrnyldcxgrgtz",
           "expected": "10010144850",
           "actual": "10010144830"
       },
       {
           "type": "stakeholder",
           "account": "cccq8dhpcfqt94mx8dntxxd6420782vtd4tpvpgcgjh",
           "expected": "10010145250",
           "actual": "10010145230"
       },
       {
           "type": "stakeholder",
           "account": "cccq8u8se8k00vcqk4pl707qe9v60hs3jj27g4rqkm9",
           "expected": "9417937350",
           "actual": "9417937330"
       }
   ]
}
@majecty majecty added the bug Something isn't working label Mar 16, 2020
@HoOngEe
Copy link
Contributor

HoOngEe commented Mar 17, 2020

I think the bug is due to wrongly handled retry. The issue explains it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants