Skip to content

Commit

Permalink
Fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Mar 21, 2024
1 parent 3bcc020 commit 8e97baa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/storage/postgres/stats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ func (s *StatsTestSuite) TestSummary() {
s.Require().EqualValues(0.0038194444444444443, summary.BPS)
s.Require().EqualValues(2327, summary.BlockTime)
s.Require().EqualValues(330, summary.BytesInBlock)
s.Require().EqualValues(0, summary.DataSize)
s.Require().EqualValues(202, summary.DataSize)
s.Require().EqualValues("0", summary.Fee.String())
s.Require().EqualValues(0, summary.RBPS)
s.Require().EqualValues(0.002337962962962963, summary.RBPS)
s.Require().EqualValues("0", summary.Supply.String())
s.Require().EqualValues(1, summary.TxCount)
}
Expand Down
2 changes: 2 additions & 0 deletions test/data/block_stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
supply_change: 0
fee: 0
bytes_in_block: 64
data_size: 0
- id: 7966
height: 7965
time: '2023-12-01T00:18:07.575Z'
Expand All @@ -18,3 +19,4 @@
supply_change: 0
fee: 0
bytes_in_block: 266
data_size: 202

0 comments on commit 8e97baa

Please sign in to comment.