bosnet / bosnet/sebak

TestCheckInflationBlockIncrease failed occasionally

Open
#795 1 comment 0 reactions 1 assignee Claimed by @spikeekips View on GitHub
bug
Dominant language
Go
Stars
44
Forks
12
PR merge metrics
No merged PRs in 30d

Description

https://circleci.com/gh/bosnet/sebak/15596?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

```
=== RUN TestCheckInflationBlockIncrease
--- FAIL: TestCheckInflationBlockIncrease (2.20s)
ballot_proposer_transaction_test.go:835: CalculateInflation(initial balance, inflation ratio): initial balance=10000000000000000000 inflation ratio=0.00000010000000000
ballot_proposer_transaction_test.go:806: > check inflation: block-height: 1 previous: 0 inflation: 1000000000000
ballot_proposer_transaction_test.go:822: < inflation raised: block-height: 1 previous(0)+inflation(1000000000000) == expected(1000000000000) == in db: 1000000000000
ballot_proposer_transaction_test.go:806: > check inflation: block-height: 2 previous: 1000000000000 inflation: 1000000000000
ballot_proposer_transaction_test.go:822: < inflation raised: block-height: 2 previous(1000000000000)+inflation(1000000000000) == expected(2000000000000) == in db: 2000000000000
ballot_proposer_transaction_test.go:806: > check inflation: block-height: 3 previous: 2000000000000 inflation: 1000000000000
:1:
Error Trace: ballot_proposer_transaction_test.go:817
ballot_proposer_transaction_test.go:846
Error: Not equal:
expected: 0x1
actual : 0x2
Test: TestCheckInflationBlockIncrease
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.