Skip to content

Node reports “11 pending user deploys” that are always filtered. #294

@Timekiller7

Description

@Timekiller7

What did you expect to see?

When heartbeat is enabled, the node reports “11 pending user deploys”, I expected it to successfully propose a block that actually includes those deploys (or, if none are eligible yet, to not trigger proposing and avoid looping failures).

What did you see instead?

The node repeatedly tries to propose because of pending deploys, but then selects 0 deploys for the block (valid=0 … selected=0), effectively creating an empty block candidate and failing the propose with InternalDeployError that comes from Block validation failed with InvalidParents - proposal conditions no longer met, skipping propose. This repeats in a loop, and the node keeps trying to create block 2 over and over.

Steps to reproduce the bug

  1. Run network of nodes (bootstrap, validator1, validator2, validator3)
  2. Enable heartbeat for each validator (in our case: check-interval = 10 seconds, max-lfb-age = 30 seconds)
  3. Observe validators' log

What version of RNode are you using?

Built image from c7d1cea.

Can be downloaded from docker hub: public.ecr.aws/f6y9h6x4/asi-chain/node:v0.1.2

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions