You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.
Currently milestones are generated via a random walk, and we have a WalkValidator that ensures that we will not walk on an invalid bundle. So hopefully the above regression wouldn't have been such a disaster.
Still, the LedgerService that calculates the ledger state should be oblivious to that and ignore invalid bundles correctly.
Issues / Scenarios
A node recieves a milestone that approves invalid bundles.
How to test for this
Describe the issues/scenarios addressed by this test
Given a node with a known ledger state.
Then at least one valid transfer is being created that doesn't transfer funds.
Description
We want to ascertain that ledger state is always calculated correctly.
Even in the presence of invalid bundles being approved.
Motivation
The following fix:
#1588
Currently milestones are generated via a random walk, and we have a
WalkValidator
that ensures that we will not walk on an invalid bundle. So hopefully the above regression wouldn't have been such a disaster.Still, the
LedgerService
that calculates the ledger state should be oblivious to that and ignore invalid bundles correctly.Issues / Scenarios
A node recieves a milestone that approves invalid bundles.
How to test for this
Describe the issues/scenarios addressed by this test
Then do the following cases on a per test base
And end all cases with the following:
Unit tests:
The text was updated successfully, but these errors were encountered: