Add integration test for optimistic confirmation failure detection (#11353)

* Add optimistic conf failure test

* Add check for optimistic failure log

Co-authored-by: Carl <carl@solana.com>
This commit is contained in:
carllin
2020-08-03 20:01:52 -07:00
committed by GitHub
parent 1d40685b8e
commit 5b4cb083f1
4 changed files with 118 additions and 4 deletions

View File

@@ -95,8 +95,10 @@ impl OptimisticConfirmationVerifier {
.map(|s| s.stake())
.unwrap_or(0);
warn!(
"Optimistic slot {}, hash: {}, epoch: {} was not rooted,
error!(
"Optimistic slot {} was not rooted,
hash: {},
epoch: {},
voted keys: {:?},
root: {},
root bank hash: {},