Merge pull request #55 from pragma-org/josh/flat-test-suite
Add a suite of closely related flat conformance tests
Add a suite of closely related flat conformance tests
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Before; we would only load the strict minimum needed to validate the current epoch. However, the network/consensus stages may be slightly ahead, already receiving blocks for the next epoch. So we may sometimes need the latest stake distribution sooner than the ledger would compute it. Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
This is usually not a big deal because rewards calculation starts way ahead of the epoch transition in the epoch; but the epoch transition does need the rewards. And, if we interrupt Amaru near the end of an epoch, we may end up in cases where we need to perform the epoch transition on the very first block we receive; in which case it is crucial to have the rewards available. Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Tripura Repalle <[email protected]>
* fix(chain): Made changes in chain iterator where context-aware constructors so blocked iterator calls exit when the caller context is canceled Signed-off-by: akrepala <[email protected]> * fix(chain): Added the regression test comments Signed-off-by: akrepala <[email protected]> * fix(chain): Fixed the lint error Signed-off-by: akrepala <[email protected]> * fix(chain): Fixed the lint error Signed-off-by: akrepala <[email protected]> * fix(chain): Fixed the filure of test Signed-off-by: akrepala <[email protected]> * fix(chain): Fixed the panic error with empty context Signed-off-by: akrepala <[email protected]> * fix(chain): Fixed the panic error with empty context by returning an error message Signed-off-by: akrepala <[email protected]> --------- Signed-off-by: akrepala <[email protected]> Co-authored-by: akrepala <[email protected]>