Skip to content

feat: add PayloadLocation::OffChain enum variant#2678

Merged
JoeCap08055 merged 3 commits intomainfrom
feat/add-offchain-payload-location
Mar 23, 2026
Merged

feat: add PayloadLocation::OffChain enum variant#2678
JoeCap08055 merged 3 commits intomainfrom
feat/add-offchain-payload-location

Conversation

@JoeCap08055
Copy link
Copy Markdown
Collaborator

Goal

The goal of this PR is to add an enum variant, PayloadLocation::OffChain to better represent Intents and Schemas for which data is stored off-chain, but not specifically on IPFS.

Closes #2677

Checklist

  • Unit Tests updated?
  • e2e Tests updated?
  • Spec version incremented?

@JoeCap08055 JoeCap08055 requested review from a team and enddynayn and removed request for a team March 19, 2026 17:43
Comment on lines +73 to +74
/// Message payload is located off-chain, other than IPFS
OffChain,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and the spec version bump are the only runtime code changes; everything else is just updating unit and E2E tests.

Copy link
Copy Markdown
Collaborator

@shannonwells shannonwells left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the code, good test changes etc. Looks good!

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
common/primitives/src/schema.rs 61.53% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions bot added the metadata-changed Metadata has changed since the latest full release label Mar 19, 2026
@github-actions github-actions bot added metadata-changed Metadata has changed since the latest full release and removed metadata-changed Metadata has changed since the latest full release labels Mar 19, 2026
@JoeCap08055 JoeCap08055 merged commit 2b2e6f2 into main Mar 23, 2026
35 checks passed
@JoeCap08055 JoeCap08055 deleted the feat/add-offchain-payload-location branch March 23, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

metadata-changed Metadata has changed since the latest full release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add 'OffChain' payload location for Schemas & Intents

3 participants