From 6f0d47ec43e9cfe072c98b6ccb6e77cfc45e9483 Mon Sep 17 00:00:00 2001 From: Gurjot Date: Mon, 16 Dec 2024 14:03:23 +0530 Subject: [PATCH] fix comments --- e2etest/e2e_test.go | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/e2etest/e2e_test.go b/e2etest/e2e_test.go index 18e68fa..73bbaae 100644 --- a/e2etest/e2e_test.go +++ b/e2etest/e2e_test.go @@ -68,14 +68,15 @@ func TestQueueConsumer(t *testing.T) { // 1. Create BTC delegation without inclusion proof in Babylon node // 2. Wait for delegation to be PENDING in Indexer DB // 3. Generate and insert new covenant signature in Babylon node -// 4. Submit inclusion proof to Babylon node -// 5. Wait for delegation to be ACTIVE in Babylon node -// 6. Wait for delegation to be ACTIVE in Indexer DB -// 7. Verify active staking event emitted by Indexer -// 8. Early unbonding on Babylon node -// 9. Wait for delegation to be UNBONDED in Babylon node -// 10. Wait for delegation to be UNBONDING and sub-state to be EARLY_UNBONDING in Indexer DB -// 11. Verify unbonding staking event emitted by Indexer +// 4. Wait for delegation to be VERIFIED in Indexer DB +// 5. Submit inclusion proof to Babylon node +// 6. Wait for delegation to be ACTIVE in Babylon node +// 7. Wait for delegation to be ACTIVE in Indexer DB +// 8. Verify active staking event emitted by Indexer +// 9. Early unbonding on Babylon node +// 10. Wait for delegation to be UNBONDED in Babylon node +// 11. Wait for delegation to be UNBONDING and sub-state to be EARLY_UNBONDING in Indexer DB +// 12. Verify unbonding staking event emitted by Indexer func TestStakingLifecycle(t *testing.T) { // Segw is activated at height 300. It's necessary for staking/slashing tx numMatureOutputs := uint32(300)