Skip to content

Rust node accepts flags value in McStateExtra rejected by C++ #56

@EmelyanenkoK

Description

@EmelyanenkoK

C++ has strict condition that flags <=1 https://github.com/ton-blockchain/ton/blob/master/crypto/block/block.tlb#L577
It is not enforced in Rust implementation: in particular there could be McStateExtra with flag 0x8 that would be treated as presence validators_stat (probably heritage of Eversacle) and, given stats are valid, will be accepted by rust validators / rejected by C++ ones.

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