Repository navigation
docs(contracts): add contract and backend compatibility table - #2069
Open
hubbuugittuuu wants to merge 1 commit into
Open
hubbuugittuuu wants to merge 1 commit into
hubbuugittuuu wants to merge 1 commit into
Conversation
|
@hubbuugittuuu is attempting to deploy a commit to the naijabuz's projects Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
As Soroban contracts evolve across releases (new errors, token custody changes, partial release semantics), the NestJS backend configures contracts through environment IDs (
STELLAR_ESCROW_CONTRACT_ID). Previously, there was no centralized tracking of which backend versions are compatible with which deployed WASM hashes or how in-flight escrows created on older bytecode should be settled.Solution
contracts/COMPATIBILITY.mddocumenting:payment_escrowandrevenue_distributioncontracts across Soroban SDK versions, entrypoints, and compatible backend release ranges.EscrowStatusenum mapping (0->UNINITIALIZEDthrough3->REFUNDED)..github/PULL_REQUEST_TEMPLATE.mdto require PR authors to update or confirm compatibility incontracts/COMPATIBILITY.md.contracts/README.mdto link directly tocontracts/COMPATIBILITY.md.Closes #2028