Skip to content

Defer live EVM logs until confirmed canonical backfill #1661

Closed

Description

@hmzakhalid

Audit reference: I17

What can go wrong

Live subscription logs were delivered immediately, bypassing the configured confirmation depth and allowing a later chain reorganization to invalidate work the node had already accepted.

When it happens

The race is present during and after startup whenever a websocket subscription sees a tip log before canonical backfill reaches the confirmed block.

What changed

Subscription logs are now wakeups only; confirmed canonical backfill is the sole path that delivers EVM events.

Why the change works

Every delivered event passes through the same confirmation and ordering rules, regardless of whether a live subscription first noticed it.

Checks

The confirmed-backfill deferral regression passes.

Activity

  1. added
    bugSomething isn't working
    ciphernodeRelated to the ciphernode package
    securityRelevant to security
    on Jul 11, 2026
  2. hmzakhalid commented on Jul 13, 2026

    @hmzakhalid
    CollaboratorAuthor

    Fixed in 54fc1f286e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingciphernodeRelated to the ciphernode packagesecurityRelevant to security

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions