Commit 83cd8dd4 authored by Krzysztof Mochocki's avatar Krzysztof Mochocki
Browse files

Update patterns for no_filter replay pattern test

    sql:

        old db: SELECT COUNT(*) FROM hive.operations; -- result: 19752015

        new db without corrections: SELECT COUNT(*) FROM hive.operations; -- result: 19792092

        new db: SELECT COUNT(*) + 4263 - 40 FROM hive.operations WHERE op_type_id != 86; -- result: 19752015

    info:

        `+4263` is because of filtering out `fill_vesting_withdraw_operation` with withdrawn amount equal 0 (use this sql for validation: `SELECT  * FROM hive.operations WHERE op_type_id=56 AND ((body :: JSON) -> 'value' -> 'withdrawn' -> 'amount') :: VARCHAR = '"0"'`)

        `-40` is because of adding new `system_warning_operation` in this commit: `d70d152bc8780d7a8e1a7c6686d0b0e6920f5f72`

        `op_type_id != 86` is because of new producer_missed_operation which is count of 44300 new operations
parent ce9bd362
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment