BitgesellOfficial / bitgesell

Bitgesell (BGL) is a digital currency with built-in scarcity
https://www.bitgesell.ca
MIT License
25 stars 37 forks source link

test/functional/data: Generate proper rpc_getblockstats for BGL network. #94

Closed gitcoindev closed 2 years ago

gitcoindev commented 2 years ago

Fixes rpc_getblockstats functional test case.

Description

The blocks stats JSON needed to be regenerated to BGL network in order for the test case to pass.

1/1 - rpc_getblockstats.py passed, Duration: 1 s

TEST                 | STATUS    | DURATION

rpc_getblockstats.py | ✓ Passed  | 1 s

ALL                  | ✓ Passed  | 1 s (accumulated) 
Runtime: 1 s

Notes

In order to generate test data I patched mocked time to current time and created a new BGL wallet in generate_test_data method.