-
Notifications
You must be signed in to change notification settings - Fork 210
instruction-view: Add new crate #401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
374b269
Add derive address helpers
febo 5038382
Update lock file
febo ae5c782
Fix doc links
febo c1d619f
Add missing dependency
febo eccb62d
Address review comments (#78)
febo a755026
Deprecate AccountInfo::realloc (#174)
febo 66a2af6
Ignore `zero_init` parameter (#203)
febo acd9c52
Remove unused
febo d59ce99
Refactor directory structure (#18)
febo ead8aa5
Add from_slice helper (#23)
febo 6be06b0
Fix signer from helpers
febo 46c0ddf
Add signer macro
febo 776cf4e
Fix doctest
febo 75c16ef
Add `checked_create_program_address` helper (#30)
febo 98d3724
sdk: Improve comments (#64)
febo db2d727
add `seeds` macro (#73)
publicqi df35a31
Address review comments (#78)
febo 7acea1d
add memo program (#105)
publicqi dc55079
Account borrow state check (#147)
febo adee2cf
Add const qualifier (#159)
febo ce25cef
Simplify invoke instruction (#154)
febo 46ca37e
ci: Add spellcheck step (#164)
febo 80b035a
Clarify the use of constant values (#200)
febo 09e53b1
Feat: Add debug/copy derives and enable missing debug/copy lint (#228)
stegaBOB 38e9387
pinocchio: Add `pubkey_eq` helper (#248)
febo 73c9273
Use solana-address
febo 4d2ab1d
Fix syscall parameter
febo 8a1247e
Fix docs
febo a774af2
Update references to pubkey
febo d48a777
Use solana-account-view
febo a6e684f
Update dependencies
febo 9c3164d
Add instruction view
febo c63536c
Update lamports reference
febo bca130a
Tweks
febo 73b1809
Add target_arch bpf
febo c8c57ce
Fix rebase
febo 7badd2b
Fix lint
febo fec6cf7
Simplify definition
febo 219c2f6
Fix doc feature
febo 47781b0
Address review comments
febo 491515b
Refactored slice support
febo c38c28f
Improve code reuse
febo 885b1bf
Update msrv check
febo 18cd540
More review comments
febo f432db3
Use crate rust-version
febo fae99c3
Double quotes
febo 99315b1
Fix docs
febo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| [package] | ||
| name = "solana-instruction-view" | ||
| description = "Lightweight instruction representation" | ||
| documentation = "https://docs.rs/solana-instruction-view" | ||
| version = "0.0.0" | ||
| rust-version = "1.82.0" | ||
| authors = { workspace = true } | ||
| repository = { workspace = true } | ||
| homepage = { workspace = true } | ||
| license = { workspace = true } | ||
| edition = { workspace = true } | ||
|
|
||
| [package.metadata.docs.rs] | ||
| targets = ["x86_64-unknown-linux-gnu"] | ||
| all-features = true | ||
| rustdoc-args = ["--cfg=docsrs"] | ||
|
|
||
| [features] | ||
| cpi = ["dep:solana-define-syscall", "dep:solana-program-error"] | ||
| slice-cpi = ["cpi"] | ||
|
|
||
| [dependencies] | ||
| solana-account-view = { workspace = true } | ||
| solana-address = { workspace = true } | ||
| solana-program-error = { workspace = true, optional = true } | ||
|
|
||
| [target.'cfg(any(target_os = "solana", target_arch = "bpf"))'.dependencies] | ||
| solana-define-syscall = { workspace = true, optional = true } | ||
|
|
||
| [lints] | ||
| workspace = true |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could add a cache to this step, but it does not seem to take very long since one of the toolchains will usually be installed already.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine to me! It only takes 8 seconds, and the whole check is less than a minute