Skip to content

Wrong seat price computation with stateless validation feature enabled #11

@telezhnaya

Description

@telezhnaya

My validator on StatelessNet is shown as the one to be kicked off for more than a week, while I'm successfully validating all this week.

More info here
https://near.zulipchat.com/#narrow/stream/407237-core.2Fstateless-validation/topic/Wrong.20seats.20number/near/424915436

We need to change the logic for max_number_of_seats
https://github.com/near-cli-rs/near-validator-cli-rs/blob/main/src/proposals/mod.rs#L136
https://github.com/near-cli-rs/near-validator-cli-rs/blob/main/src/validators/block_id/mod.rs#L86
(maybe somewhere else)

It surely should take into account protocol_config. num_chunk_only_producer_seats. But I'm still not sure about the resulting formula. Let's wait for the updates on Zulip and then we can create a fix for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions