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.
Changes
register.s, populatingCreateAccountData(space, lamports, owner),SolAccountInfoand
SolAccountMetafields,SolSignerSeeds,SolInstruction,and invoking
sol_invoke_signed_crelative_offset!constant form toconstant_group!thatcomputes the difference between two field offsets within the same
struct, emitted as an
i32immediate with_REL_OFF_IMMsuffix(works in both frame and non-frame contexts)
add64throughinput buffer account fields (address, owner, lamports, data) and
across accounts using
relative_offset!constants, eliminatingredundant
mov64 r10loadssigner_seeds!andcpi_accounts!macro syntax byremoving the
pub structrequirement (always emitted implicitly)size_of_group!(e.g.u8) byskipping the
super::prefix for prelude typesCPIconstant group withWRITABLE_SIGNERmask (0x0101)for half-word stores that set both
is_signerandis_writableACCT_DATA_OFF,ACCT_STORAGE_OVERHEAD,IB_USER_PUBKEY,and
SIZE_OF_*constants foru8,MarketHeader, andCreateAccountDataSolSignerSeedsfield toFrame, rename struct fromRegisterMarketFrametoFrameand module fromregister_market_frametoframeCreateAccountHappyPathintegration test verifying accountowner, data length, and rent exemption after CPI execution
exemption_threshold = 1.0(SIMD-0194) in testsetup (pending fix: remove rent exemption threshold multiplier anza-xyz/mollusk#219)
remove math-mode wrapping from variable references in both
.texalgorithm filesrelative_offset!in build-scaffolding docs