Skip to content

Fix encointer AURA slot #101

@ggwpez

Description

@ggwpez

Something wrong, probably here:

SlotDuration::from_millis(self.blocktime.as_millis() as u64),

panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cumulus-pallet-aura-ext-0.15.0/src/consensus_hook.rs:69:9:
    assertion `left == right` failed: slot number mismatch
      left: Slot(143998834)
     right: Slot(287997668)
thread 'main' panicked at cli/main.rs:326:10:

Looks like it is off by 2x, occurred here: https://github.com/polkadot-fellows/runtimes/actions/runs/11168344347/job/31047391625?pr=463

We do have the --blocktime flag, but i think its not being used here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions