Merged
Conversation
vadorovsky
referenced
this pull request
in vadorovsky/light-protocol
May 1, 2024
…atting Adding auto formatting
ananas-block
added a commit
that referenced
this pull request
Feb 17, 2026
…oken account check, add additiona create ata idempotent check (#2292) * fix: add rent-exemption and mint/owner checks for token account creation - create.rs: verify non-compressible token account is rent-exempt before initializing (audit issue #8) - create_ata.rs: in idempotent mode, deserialize existing account and verify mint and owner fields match expected values (audit issue #4) Entire-Checkpoint: caaa14ac3051 * fix: Entire-Checkpoint: caaa14ac3051 * add tests and format Entire-Checkpoint: 2b4028368dbf * chore: restore photon submodule to match main Entire-Checkpoint: c298aaf24a18
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.
removes future merge conflict headaches by enforcing a shared formatting style & auto-formatting (for light-sdk-ts)
similar should probably be done for the rust code
the current style is open for discussion:
{
"trailingComma": "all",
"tabWidth": 2,
"singleQuote": false
}