From 2a492d22717fa6be6b76dc1280ca5afecdcf5485 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Fri, 5 Jun 2026 11:39:29 +0200 Subject: [PATCH 1/5] docs(eventstream): add current_slot to fast_confirmation event --- apis/eventstream/index.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apis/eventstream/index.yaml b/apis/eventstream/index.yaml index 74767586..efeb8be2 100644 --- a/apis/eventstream/index.yaml +++ b/apis/eventstream/index.yaml @@ -190,10 +190,14 @@ get: event: payload_attestation_message data: {"version":"gloas", "data":{"validator_index": "123", "data": {"beacon_block_root": "0x9a2fefd2fdb57f74993c7780ea5b9030d2897b615b89f808011ca5aebed54eaf", "slot": "10", "payload_present": true, "blob_data_available": true}, "signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"}} fast_confirmation: - description: The node has executed fast confirmation algorithm. The root and the slot of the most recent confirmed block are sent + description: | + The node has executed the fast confirmation algorithm. This event MUST be emitted every time the algorithm is run, + regardless of whether the most recent confirmed block has changed since the previous run. + `block` and `slot` identify the most recent confirmed block (root and its slot), while `current_slot` is the + wall-clock slot at which the algorithm was executed. value: | event: fast_confirmation - data: {"block": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", "slot": "1"} + data: {"block": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", "slot": "1", "current_slot": "2"} "400": description: "The topics supplied could not be parsed" content: From be6800f97099786ff5a532db899f767945d2a32d Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Fri, 5 Jun 2026 11:49:26 +0200 Subject: [PATCH 2/5] Apply suggestions from code review Co-authored-by: Nico Flaig --- apis/eventstream/index.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/eventstream/index.yaml b/apis/eventstream/index.yaml index efeb8be2..8550dde0 100644 --- a/apis/eventstream/index.yaml +++ b/apis/eventstream/index.yaml @@ -191,9 +191,9 @@ get: data: {"version":"gloas", "data":{"validator_index": "123", "data": {"beacon_block_root": "0x9a2fefd2fdb57f74993c7780ea5b9030d2897b615b89f808011ca5aebed54eaf", "slot": "10", "payload_present": true, "blob_data_available": true}, "signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"}} fast_confirmation: description: | - The node has executed the fast confirmation algorithm. This event MUST be emitted every time the algorithm is run, + The node has executed the fast confirmation algorithm. This event should be emitted every time the algorithm is run, regardless of whether the most recent confirmed block has changed since the previous run. - `block` and `slot` identify the most recent confirmed block (root and its slot), while `current_slot` is the + `block` and `slot` identify the most recent confirmed block, while `current_slot` is the wall-clock slot at which the algorithm was executed. value: | event: fast_confirmation From e16e49252892d7cba9f02472fe86f343a8352373 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Mon, 8 Jun 2026 11:08:44 +0200 Subject: [PATCH 3/5] docs: reformat the description --- apis/eventstream/index.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/apis/eventstream/index.yaml b/apis/eventstream/index.yaml index 8550dde0..657f0df6 100644 --- a/apis/eventstream/index.yaml +++ b/apis/eventstream/index.yaml @@ -191,10 +191,16 @@ get: data: {"version":"gloas", "data":{"validator_index": "123", "data": {"beacon_block_root": "0x9a2fefd2fdb57f74993c7780ea5b9030d2897b615b89f808011ca5aebed54eaf", "slot": "10", "payload_present": true, "blob_data_available": true}, "signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"}} fast_confirmation: description: | - The node has executed the fast confirmation algorithm. This event should be emitted every time the algorithm is run, - regardless of whether the most recent confirmed block has changed since the previous run. - `block` and `slot` identify the most recent confirmed block, while `current_slot` is the - wall-clock slot at which the algorithm was executed. + The node has executed the fast confirmation algorithm. + + The fields are: + + - `block`: root of the most recent confirmed block. + - `slot`: slot of the most recent confirmed block. + - `current_slot`: wall-clock slot at which the algorithm was executed. + + This event should be emitted every time the algorithm is run, regardless of whether + the most recent confirmed block has changed since the previous run. value: | event: fast_confirmation data: {"block": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", "slot": "1", "current_slot": "2"} From 23515179489b9d2257787ebce75041910605fbd7 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Mon, 8 Jun 2026 11:26:52 +0200 Subject: [PATCH 4/5] docs: reformat the description to one liner --- apis/eventstream/index.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/apis/eventstream/index.yaml b/apis/eventstream/index.yaml index 657f0df6..a865a708 100644 --- a/apis/eventstream/index.yaml +++ b/apis/eventstream/index.yaml @@ -190,17 +190,7 @@ get: event: payload_attestation_message data: {"version":"gloas", "data":{"validator_index": "123", "data": {"beacon_block_root": "0x9a2fefd2fdb57f74993c7780ea5b9030d2897b615b89f808011ca5aebed54eaf", "slot": "10", "payload_present": true, "blob_data_available": true}, "signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"}} fast_confirmation: - description: | - The node has executed the fast confirmation algorithm. - - The fields are: - - - `block`: root of the most recent confirmed block. - - `slot`: slot of the most recent confirmed block. - - `current_slot`: wall-clock slot at which the algorithm was executed. - - This event should be emitted every time the algorithm is run, regardless of whether - the most recent confirmed block has changed since the previous run. + description: The node has executed the fast confirmation algorithm. This event should be emitted every time the algorithm is run, regardless of whether the most recent confirmed block has changed since the previous run. `block` is the root of the most recent confirmed block, `slot` is the slot of the most recent confirmed block, and `current_slot` is the wall-clock slot at which the algorithm was executed. value: | event: fast_confirmation data: {"block": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", "slot": "1", "current_slot": "2"} From 2b6f93a34168454c9384ede63c02ea6e31891dde Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Mon, 8 Jun 2026 13:28:27 +0200 Subject: [PATCH 5/5] Update apis/eventstream/index.yaml Co-authored-by: Nico Flaig --- apis/eventstream/index.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/eventstream/index.yaml b/apis/eventstream/index.yaml index a865a708..3b2fa0af 100644 --- a/apis/eventstream/index.yaml +++ b/apis/eventstream/index.yaml @@ -190,7 +190,7 @@ get: event: payload_attestation_message data: {"version":"gloas", "data":{"validator_index": "123", "data": {"beacon_block_root": "0x9a2fefd2fdb57f74993c7780ea5b9030d2897b615b89f808011ca5aebed54eaf", "slot": "10", "payload_present": true, "blob_data_available": true}, "signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"}} fast_confirmation: - description: The node has executed the fast confirmation algorithm. This event should be emitted every time the algorithm is run, regardless of whether the most recent confirmed block has changed since the previous run. `block` is the root of the most recent confirmed block, `slot` is the slot of the most recent confirmed block, and `current_slot` is the wall-clock slot at which the algorithm was executed. + description: The node has executed the fast confirmation algorithm. This event should be emitted every time the algorithm is run, regardless of whether the most recent confirmed block has changed since the previous run. `block` is the root and `slot` is the slot of the most recent confirmed block, and `current_slot` is the wall-clock slot at which the algorithm was executed. value: | event: fast_confirmation data: {"block": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", "slot": "1", "current_slot": "2"}