Skip to content

feat(contract): schema migration, bounded escrow cleanup, oracle doc#62

Open
MicD746 wants to merge 2 commits into
BlockDash-Studios:mainfrom
MicD746:main
Open

feat(contract): schema migration, bounded escrow cleanup, oracle doc#62
MicD746 wants to merge 2 commits into
BlockDash-Studios:mainfrom
MicD746:main

Conversation

@MicD746

@MicD746 MicD746 commented Jun 21, 2026

Copy link
Copy Markdown

Summary

  • Add schema_version fields + on-read/on-write migration for EscrowEntry, StealthEscrowEntry, FeeConfig, PerAssetFeeConfig, and OracleFeeConfig.
  • Expand cleanup_escrow to remove dispute votes and escrow ID tombstones for terminal escrows (Spent / Refunded).
  • Publish EscrowCleanup event for indexers.
  • Document oracle::fetch_price stub (no oracle contract exists yet, returns None gracefully).

Issues

Closes #18, #19

MicD746 added 2 commits June 21, 2026 15:55
- Add schema_version fields + on-read/on-write migration for
  EscrowEntry, StealthEscrowEntry, FeeConfig, PerAssetFeeConfig,
  and OracleFeeConfig.
- Expand cleanup_escrow to remove dispute votes and escrow ID
  tombstones for terminal escrows (Spent / Refunded).
- Publish EscrowCleanup event for indexers.
- Document oracle::fetch_price stub (no oracle contract yet).
@MaryammAli

Copy link
Copy Markdown
Contributor

@MicD746
Run
Cargo build and cargo test to fix errors

@MaryammAli

Copy link
Copy Markdown
Contributor

@MicD746
what is the update on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ContractModule: Make storage schema migrations explicit and versioned per data shape

2 participants