Skip to content

feat: add PayloadLocation::OffChain enum variant#2678

Open
JoeCap08055 wants to merge 3 commits intomainfrom
feat/add-offchain-payload-location
Open

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

Conversation

@JoeCap08055
Copy link
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
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
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

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
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