[LiskHQ/lisk] Balances in mem_accounts off after snapshotting — Closes #2126 (#2127)

MaciejBaj requested changes on this pull request.

> @@ -51,18 +54,32 @@ describe(‘snapshotting’, () => {

before(() => {
// Forge 201 blocks to reach height 202 (genesis block is already tyhere)

Comment is out of date.

> — delegates: [‘delegate1’, ‘delegate2’, ‘delegate3’],
— },
— ];
— stub = sinon.stub(db.rounds, ‘summedRound’).resolves(rows);
— done();
— });

— after(() => {
— return stub.restore();
— });
+ describe(‘when last block is genesis block’, () => {
+ const scope = {
+ round: 1,
+ block: {
+ height: 1,
+ totalFee: 123,

`const validTotalFee = 123` and so on.

Добавить комментарий