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

Possible duplicated. One with staking debt did not get reward caused by ClientImport("Unexpected epoch change") #93

Closed
kevingzhang opened this issue Jul 12, 2021 · 2 comments
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@kevingzhang
Copy link
Contributor

I tested again, two account. This account has debt but did not get any reward
image

Another account doesn't have debut, got reward
image

Both of them has exact the same investment (One plant seed, one staking 1000 T in slot #1).
So this problem does exist

@kevingzhang kevingzhang added the bug Something isn't working label Jul 12, 2021
@kevingzhang
Copy link
Contributor Author

When this happens, I can see the error in layer 1:
2021-07-12 15:25:21 [968] 💸 new validator set of size 1 has been processed for era 2
2021-07-12 15:25:21 🎁 Prepared block for proposing at 968 [hash: 0x3f0b4038dd847b68249c2685a82a50369d6f984d85e935c425cc076d0b9e3f73; parent_hash: 0x8543…5732; extrinsics (1): [0x5fc4…c346]]
2021-07-12 15:25:21 🔖 Pre-sealed block for proposal at 968. Hash now 0x93e59975af0c08e92a4ee235a087b54dd393dbcd477b23e8c55f70ecf41a48bc, previously 0x3f0b4038dd847b68249c2685a82a50369d6f984d85e935c425cc076d0b9e3f73.
2021-07-12 15:25:21 Error with block built on 0x8543a7c0be953495ce496004434a493a1ff44b49478664c9f557dbb0bf045732: ClientImport("Unexpected epoch change")
2021-07-12 15:25:24 🙌 Starting consensus session on top of parent 0x8543a7c0be953495ce496004434a493a1ff44b49478664c9f557dbb0bf045732
2021-07-12 15:25:24 [#968] 🗳 Finalized election round with compute ElectionCompute::OnChain.
2021-07-12 15:25:24 [968] 💸 new validator set of size 1 has been processed for era 2
2021-07-12 15:25:24 🎁 Prepared block for proposing at 968 [hash: 0x03b423ee05f507e9a30f2ff5fd52aa2c8a119c5c65a9c1fd79d2bc5a12b291df; parent_hash: 0x8543…5732; extrinsics (1): [0x4eb5…b416]]
2021-07-12 15:25:24 🔖 Pre-sealed block for proposal at 968. Hash now 0xf1f38f8004869a901c4c8e7673f8ee4289bab4eda50ca42856063da165b306fe, previously 0x03b423ee05f507e9a30f2ff5fd52aa2c8a119c5c65a9c1fd79d2bc5a12b291df.
2021-07-12 15:25:24 Error with block built on 0x8543a7c0be953495ce496004434a493a1ff44b49478664c9f557dbb0bf045732: ClientImport("Unexpected epoch change")

This is the same as the previous issue. So I think it is duplicated. I hope my finding can help to fix that issue.

@kevingzhang kevingzhang changed the title Possible duplicated. One with staking debt did not get reward Possible duplicated. One with staking debt did not get reward caused by ClientImport("Unexpected epoch change") Jul 12, 2021
@kevingzhang kevingzhang added the duplicate This issue or pull request already exists label Jul 12, 2021
@raindust
Copy link
Contributor

update in tearust/tea-camellia#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants