Open popcnt1 opened 1 month ago
here is an example: https://github.com/rooch-network/rooch/issues/2441
@jolestar owner mismatched:
exp: ba06efa8847c0cba1a7a5dfb62a97e29babf254d788f9ad2389918bc283cf3fd act: 67c639831111df7404f95c2d60ddacd8eb6ad4ac90a54ad0a7cc38d04a7d468e
[inscription] mismatched_meta_val: exp-meta: "ObjectMeta { id: 0xd23c49fb9a742624498390a5b59c90e968c11d52b6437278a0e2eb9b82824103c516d27f40b0ab19ed26e7f0bfe86d789936a7cdd57119ba64092b61cd4e1082, owner: ba06efa8847c0cba1a7a5dfb62a97e29babf254d788f9ad2389918bc283cf3fd, flag: 0, state_root: None, size: 0, created_at: 0, updated_at: 0, object_type: Struct(StructTag { address: 0000000000000000000000000000000000000000000000000000000000000004, module: Identifier(\"ord\"), name: Identifier(\"Inscription\"), type_params: [] }) }", act-meta: "ObjectMeta { id: 0xd23c49fb9a742624498390a5b59c90e968c11d52b6437278a0e2eb9b82824103c516d27f40b0ab19ed26e7f0bfe86d789936a7cdd57119ba64092b61cd4e1082, owner: 67c639831111df7404f95c2d60ddacd8eb6ad4ac90a54ad0a7cc38d04a7d468e, flag: 0, state_root: None, size: 0, created_at: 0, updated_at: 0, object_type: Struct(StructTag { address: 0000000000000000000000000000000000000000000000000000000000000004, module: Identifier(\"ord\"), name: Identifier(\"Inscription\"), type_params: [] }) }", exp-val: "Inscription { txid: caaa156fb2770f35b5343c8cb265c33b7828ca1871fd5b47e28d8450703dd4b6, index: 76, offset: 0, sequence_number: 74294535, inscription_number: 73822492, is_curse: false, body: [115, 104, 117, 110, 115, 104, 117, 110, 46, 98, 116, 99], content_encoding: MoveOption { vec: [] }, content_type: MoveOption { vec: [text/plain] }, metadata: [], metaprotocol: MoveOption { vec: [] }, parents: [], pointer: MoveOption { vec: [25080] }, rune: MoveOption { vec: [] } }", act-val: "Inscription { txid: caaa156fb2770f35b5343c8cb265c33b7828ca1871fd5b47e28d8450703dd4b6, index: 76, offset: 25080, sequence_number: 74294535, inscription_number: 1127922, is_curse: true, body: [115, 104, 117, 110, 115, 104, 117, 110, 46, 98, 116, 99], content_encoding: MoveOption { vec: [] }, content_type: MoveOption { vec: [text/plain] }, metadata: [], metaprotocol: MoveOption { vec: [] }, parents: [], pointer: MoveOption { vec: [25080] }, rune: MoveOption { vec: [] } }", src_data: Some(InscriptionSource { sequence_number: 74294535, inscription_number: 73822492, id: BitcoinInscriptionID { txid: 0xb6d43d7050848de2475bfd7118ca28783bc365b28c3c34b5350f77b26f15aaca, index: 76 }, satpoint_outpoint: "b6d43d7050848de2475bfd7118ca28783bc365b28c3c34b5350f77b26f15aaca:76", satpoint_offset: 0, body: Some([115, 104, 117, 110, 115, 104, 117, 110, 46, 98, 116, 99]), content_encoding: None, content_type: Some("text/plain"), metadata: None, metaprotocol: None, parent: None, pointer: Some(25080), address: "bc1q7pwyaxta920ks5rekvskwzq8gf8g8v58w5jd25", rune: None })
@jolestar after re-check and help with new version of verification cmd, I've found there is no index issue( I made mistake, may caused by wrong comparasion with parent's index. The origin version of output is hard to read for human).
For new output, we could easily grep certain fields:
grep diff_
ord_mismatched utxo_mismatched ord_mismatched_sequence_number_list utxo_mismatched_outpoint_list
For utxo, all cases are seals not match:
number of cases = number of diff_seals
Rooch version
0.6.8
What did you do?
What did you see happen?
lots inconsistent results found by:
rooch statedb genesis-verify
output of cmd: verify.log
mismatched utxo mismatched ord mismatched ord with sequential 50000case
in brief:
What did you expect to see?
All things must be matched, main-network has 3 blocks delay, so the state of rooch must be 855666(included)