Skip to content

feat: add marketplace offer expiry#530

Closed
dangelo352 wants to merge 1 commit into
Commitlabs-Org:masterfrom
dangelo352:feature/offer-expiry-471
Closed

feat: add marketplace offer expiry#530
dangelo352 wants to merge 1 commit into
Commitlabs-Org:masterfrom
dangelo352:feature/offer-expiry-471

Conversation

@dangelo352

Copy link
Copy Markdown

Summary

  • add expires_at to marketplace offers and validate future expiries in make_offer
  • reject expired offers during accept_offer and add permissionless prune_expired_offers
  • update marketplace docs/README and cover expiry/pruning behavior in tests

Fixes #471

Tests

  • CARGO_TARGET_DIR=/tmp/commitlabs-offer-expiry-target cargo test -p commitment-marketplace offer -- --nocapture

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.

Add offer expiry timestamps to commitment_marketplace::make_offer

2 participants