Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(statedb/genesis-verify): enhance mismatch detetion(fields level output) #2497

Merged

Commits on Aug 23, 2024

  1. feat(rooch-da): enhance mismatch detection in genesis verify

    Improved mismatch detection by categorizing mismatches into metadata, value, and object level. Added comparison and detailed output formatting for better debugging.
    popcnt1 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    b4e5731 View commit details
    Browse the repository at this point in the history
  2. feat(rooch-da): improve inscription state comparison

    Enhanced the inscription state comparison by adding InscriptionForComparison struct and its related methods. Also optimized file I/O operations with buffered reads and writes for performance gains.
    popcnt1 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    b0274be View commit details
    Browse the repository at this point in the history
  3. feat(rooch-da): decode expected value in genesis_verify

    Decode and utilize the expected value object in mismatch handling.
    This ensures that both metadata and value mismatches are accurately compared and displayed.
    popcnt1 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    7f07b46 View commit details
    Browse the repository at this point in the history
  4. feat(rooch-da): add runes support in genesis verification

    Enhanced genesis verification to support rune comparison and properly format differences. Added helper functions to convert and compare rune values.
    popcnt1 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    6886f32 View commit details
    Browse the repository at this point in the history
  5. feat(rooch): enhance rune parsing logic and add tests

    Update `rune_from_json_value` to parse runes from JSON objects instead of arrays. Add unit tests to ensure parsing accuracy.
    popcnt1 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    f9c8627 View commit details
    Browse the repository at this point in the history
  6. typo

    popcnt1 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    f370657 View commit details
    Browse the repository at this point in the history
  7. feat(genesis_verify): improve error handling and add tests

    Replace unwraps with `?` operator for better error handling.
    Add detailed unit tests including bitcoin inscription handling.
    popcnt1 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    5b1ace3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c3fe0fc View commit details
    Browse the repository at this point in the history