sync: Rise TypeScript v0.4.69 - #75
Open
jchen1 wants to merge 1 commit into
Open
Conversation
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.
Generated by
.github/scripts/sync_rise.py.Source
Phoenix commit:
68ec7e66b25a869e95ba56ac5bca31fbdef2209dMode: automatic
Synced paths:
rise/ts->tsrise/README.md->README.mdrise/instructions.json->instructions.jsonrise/programs->programsrise/test-fixtures->test-fixturesChangelog Draft
This draft was also appended to package changelog file(s) in this PR so it can be manually edited before merge:
ts/CHANGELOG.mdSummary
buildFlameAtomicDepositFlowand the underlyingbuildFlameDepositToPhoenixIx/deriveFlameDepositToPhoenixAddressesbuilders, enabling a single-transaction, sponsor-cranked Flame deposit (permission grant +DepositToPhoenix) for wallets with no SOL.resolvePhoenixBuilderAddressesplusBETA_USDC_MINT_ADDRESSandEMBER_STATE_ADDRESSexports so builder calls resolve the correct per-environment USDC mint and Ember state instead of silently defaulting to mainnet addresses on beta.V1MarketsClient.getLatestMarketStats(symbol)andgetLatestMarketsStats(), withLatestMarketStatsResponseSchema/LatestMarketsStatsResponseSchema(biginttimestamp_ms).DEPOSIT_PERMISSIONpermission constant for use with the new deposit-permission flow.0.4.66->0.4.69.Breaking Changes
Consumer Notes
buildFlameAtomicDepositFlowfor a gasless/sponsored deposit path: the user signs the deposit permission, and the sponsorfeePayerfronts/cranks the FlameDepositToPhoenixinstruction (rent is refunded on close). OnlytraderSubaccountIndex: 0is supported for this flow.PhoenixInstructionClientaddresses manually for a beta environment, switch toresolvePhoenixBuilderAddressesto pick up the correct beta USDC mint and Ember state rather than assuming mainnet defaults.getLatestMarketStats/getLatestMarketsStatsresponses returntimestamp_msasbigint, consistent with other big-integer fields in the SDK.