Joe C
24a4670cef
add program examples repo to docs ( #33898 )
2023-10-27 14:54:55 -05:00
Daniel Porteous (dport)
01603fdd1d
Fix typo in versioned-transactions.md ( #33902 )
2023-10-27 09:45:24 -06:00
Nick Guo
8954689e1e
Fix typos in documentation for Secp256k1 native program ( #33796 )
2023-10-24 00:42:45 +02:00
Steven Luscher
511182479b
docs: add direct link to StackExchange from the On-Chain Programs docs ( #32937 )
...
* docs: add direct link to StackExchange from the On-Chain Programs docs
* Update link to Discord.
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
---------
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
2023-09-27 16:36:08 +00:00
aric
df93145c97
Update compressed-nfts.md typo single single token ( #33321 )
2023-09-20 12:04:46 +02:00
Jimii
9970bfcf97
docs: add solana stack exchange site ( #33280 )
2023-09-19 11:30:18 +02:00
Christian Kamm
525e59f01a
sdk, programs/bpf_loader: add sol_remaining_compute_units syscall ( #31640 )
...
bpf_loader: add sol_remaining_compute_units syscall
Co-authored-by: jonch <9093549+jon-chuang@users.noreply.github.com>
2023-09-13 08:57:08 -06:00
Alexander Meißner
bbb57be0a5
Refactor - Move interfaces of address-lookup-table into the program SDK ( #33165 )
...
* Adds a module `address_lookup_table` to the SDK.
* Adds a module `address_lookup_table::instruction` to the SDK.
* Adds a module `address_lookup_table::error` to the SDK.
* Adds a module `address_lookup_table::state` to the SDK.
* Moves AddressLookupTable into SDK as well.
* Moves AddressLookupTableAccount into address_lookup_table.
* Adds deprecation messages.
* Disentangles dependencies across cargo files.
2023-09-11 21:10:40 +02:00
Trent Nelson
9d7e5fc139
docs: update discord links ( #32935 )
2023-08-22 17:17:58 +00:00
Trent Nelson
1ce26ecba0
remove references to eol helloworld example repo ( #32550 )
2023-07-20 00:35:54 -05:00
pairnon
43e791f3ac
Fix docs typos ( #32364 )
...
fix docs typos
2023-07-03 07:52:31 -05:00
Logan Yu
24ffc113bb
fix errors in lookup tables code example ( #32055 )
...
* fix errors in lookup tables code example
* Update lookup-tables.md
* add missing = and change variable name to txid
2023-06-20 13:56:56 +00:00
galactus
2ceabd9368
Simd 47 syscall sysvar last restart slot ( #31957 )
...
* add sysvar and logic for last restart slot
* cleanup
* add test for getting last restart slot from account
* format code
* add some basic rustdoc
* copy+paste error
* feature flag for last_restart_slot
* add to sysvars.md
* updated wording in sysvars.md
* rename sol_get_last_restart_slot_sysvar > sol_get_last_restart_slot
* create sbf C header for sol_get_last_restart_slot
* cleanup imports
* reverted hardened_unpack workaround
* cleanup imports
* cleanup logs + blank lines
* Implementing ui changes for last restart slot, nit
* Some more nit change and implementing the UI for sysvar
* fixing the CI
* Minor clippy fix
* format changes
* changes suggested by mvines and lichtso
* increase timeout in local_cluster test
* fix code format
* use keypair for feature flag from mvines
* delete test.json file
* Revert "increase timeout in local_cluster test"
This reverts commit a67465ae22
.
* last restart slot should be always less than or equal to current slot
* fixing bug
* changes after steviez comments
* format issue fixed
* fixing the comment on premature application of future hardfork
* nit change in test
Co-authored-by: steviez <steven@solana.com>
* reverting sysvar_cache.rs because change was not necessary
---------
Co-authored-by: steve-gg <grooviegermanikus@gmail.com>
Co-authored-by: steviez <steven@solana.com>
2023-06-16 20:14:02 +00:00
HaoranYi
ffe4c06a19
Add epoch_reward sysvar ( #32049 )
...
* Add epoch_reward sysvar
* Apply suggestions from code review
Co-authored-by: Brooks <brooks@prumo.org>
* remove new from EpochRewards
* remove copy test
* Apply suggestions from code review
Co-authored-by: Jon Cinque <joncinque@pm.me>
Co-authored-by: Tyera <teulberg@gmail.com>
* reviews
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
Co-authored-by: Brooks <brooks@prumo.org>
Co-authored-by: Jon Cinque <joncinque@pm.me>
Co-authored-by: Tyera <teulberg@gmail.com>
2023-06-14 08:41:26 -05:00
samkim-crypto
57a89a7ec8
[docs] Add zk token proof program description ( #32011 )
2023-06-13 11:13:51 +09:00
Gopye
1ff7b28abc
Docs/fix/transaction confirmation ( #32057 )
...
* docs: remove nonsense sentence
* docs: fix transaction confirmation link
2023-06-12 15:15:52 +02:00
Gopye
9a65d8fc31
docs: fix typo in the Versioned Transaction docs ( #32056 )
...
docs: fix typo
Co-authored-by: sean delaney <notunderground@protonmail.com>
2023-06-12 15:13:52 +02:00
Dmitri Makarov
c5905f525c
Update on-chain debugging docs following up changes in ledger-tool UI ( #31593 )
2023-05-12 06:34:51 -04:00
Dmitri Makarov
078304888d
Decommission rbpf-cli, replaced by solana-ledger-tool run subcommand ( #31512 )
2023-05-05 09:31:38 -07:00
DimAn
622141c5eb
doc: typo in geyser plugin doc ( #31125 )
...
doc: typo
2023-04-10 17:28:34 -06:00
Charles Edward Gagnon
4a157446ac
Documentation typo in on-chain-programs/deploying.md ( #31126 )
...
Doc typo
2023-04-10 11:36:00 -05:00
Nick Frostbutter
4564bcdc1a
[docs] state compression and compressed nfts ( #31027 )
...
* feat: added doc for state compression
* feat: added guide for compressed nfts
* fix: updates sidebar for new docs
* fix: added link to example repo
* fix: fixed typos
---------
Co-authored-by: nickfrosty <nick.frostbutter@solana.org>
2023-04-06 08:52:31 -05:00
Dmitri Makarov
81ef2a0d75
Update references to platform-tools ( #30764 )
2023-03-22 07:41:40 -07:00
Nick Frostbutter
f528335ac0
docs: prioritization fees ( #30138 )
...
* docs: updated prioritization fees docs
* fix: updated wording and removed outdated info
* docs: updated prioritization fees docs
* fix: merge fix
---------
Co-authored-by: nickfrosty <nick.frostbutter@solana.org>
2023-03-14 13:31:41 -05:00
Dmitri Makarov
807f90ee8e
Document debugging on-chain programs ( #30632 )
2023-03-07 20:56:01 -05:00
Tao Zhu
66ea750182
add compute budget instruction to set loaded accounts data size limit ( #30377 )
...
* add compute budget instruction to set accounts data size limit
* changes names to explicitly for loaded accounts data size
2023-02-24 09:27:49 -06:00
omahs
70d6614b50
Fix: typos ( #30141 )
2023-02-06 10:04:46 -07:00
steviez
9b13b90066
Add backwards compatibility clarification on CLI tooling output ( #29961 )
...
Json output should remain consistent to avoid breaking automation;
however, we want to be free to update human-reader-centric output to
remove output as it becomes deprecated.
2023-01-30 12:14:25 -06:00
Nick Frostbutter
9b270020f6
[docs] new JSON RPC API docs format ( #29772 )
...
* feat: added api page
* fix: api redirects
* feat: websocket page and partials
* feat: deprectated partials
* feat: http method partials
* fix: more deprecated partials
* feat: codeblock component and styles
* feat: api http methods page
* feat: sidebar
* refactor: proposal api links
* refactor: internal linking
* refactor: more internal links
* refactor: internal link and note cards
* refactor: local links
* refactor: local links and auto save prettier
* feat: added numNonVoteTransaction data details
* fix: updated getRecentPrioritizationFees
* fix: corrected wording
* fix: version typo
* fix: commitment links
* fix: parsed response links
* fix: dangling links
* refactor: filter criteria
* docs: removed jsonrpc-api.md file
* fix: dangling links
* style: removed whitespaces for CI
* style: removed whitespace
* style: fixed whitespaces
2023-01-26 17:14:47 -06:00
Illia Bobyr
6e4ecc6758
RPC getPerformanceSamples: Add `numNonVoteTransaction` ( #29388 )
...
Allow interested parties to see both total and non-vote transaction
counts in each performance sample.
Fixes https://github.com/solana-labs/solana/issues/29159
2023-01-18 00:22:47 -08:00
Nick Frostbutter
1345e89507
docs: update Docusaurus to v2.2 ( #29563 )
...
* build: update docusaurus
* fix: algolia keys
* fix: frontmatter keywords array
* build: clsx version
* fix: card layout and pages
* fix: invalid internal link
2023-01-17 22:13:10 -06:00
Tao Zhu
1d88654116
Revert "Cap accounts data a transaction can load by its requested limit" ( #29373 )
...
Revert "Cap accounts data a transaction can load by its requested limit (#27840 )"
This reverts commit 81dc2e56ac
.
2023-01-17 11:34:18 +01:00
Tyera
05594c6996
getRecentPrioritizationFees docs: make clear that fee is per compute-unit ( #29702 )
...
Make clear that fee is per compute-unit
2023-01-13 13:25:55 -07:00
Tyera
451fbfee2e
Update getRecentPrioritizationFees json-rpc docs ( #29666 )
...
* Update getRecentPrioritizationFees json-rpc docs
* Address review feedback
* Remove minimum
2023-01-11 23:17:32 -07:00
Nick Frostbutter
d8da242e5e
docs: transactions fees/confirmation and deploying programs ( #28895 )
...
docs: adds and updates
2022-12-21 22:51:49 -06:00
Nick Frostbutter
12de7637f1
[docs] Updated transactions overview page ( #29345 )
...
fix: added broad overview
2022-12-21 22:38:47 -06:00
Nick Frostbutter
5918d6f09d
[docs] updating the "writing programs" section ( #29197 )
...
* docs: added limitations page
* fix: updated deprecated cargo test-bpf
* docs: moved content off of overview
* fix: added compute budget description
* fix: updated compute buddget
* fix: rearranged sections
* fix: update code snippet
* docs: overview page and links
2022-12-21 22:27:10 -06:00
gr8den
a0b655b72b
fix typo in runtime docs ( #29314 )
2022-12-17 11:01:46 -07:00
Tyera
28d8b072c9
Update filter docs, v1.11 -> v1.14 ( #29017 )
...
v1.11 -> v1.14
2022-12-01 15:55:58 -07:00
Alexander Meißner
73e55a184b
Adjusts docs about changing the data, size and balance of accounts. ( #29007 )
2022-12-01 19:42:34 +01:00
Tao Zhu
81dc2e56ac
Cap accounts data a transaction can load by its requested limit ( #27840 )
...
- Add new compute-budget instruction to set transaction-wide accounts data size limit
- Set default accounts data limit to 10MB, and max to 100MB, per transaction;
- Add getters to make changing default and/or max values easier in the future with feature gates;
- added error counter for transactions exceed data size limit
2022-11-14 10:29:35 -06:00
Dmitri Makarov
34865d032c
chore: update Solana docs and code comments that specify "BPF" to "SBF"
2022-10-31 14:14:25 -04:00
Nick Frostbutter
2090ad0c2e
[docs] corrected use of confirmTransaction in examples ( #28547 )
...
fix: updated method calls
2022-10-24 16:49:47 -05:00
Justin Starry
199398d5c4
Rename transaction v2 proposal ( #28508 )
...
Rename transactions v2 proposal to clear up versioning
2022-10-21 09:29:22 +08:00
Justin Starry
58e27d45dc
RPC: respect data slice config if account parsing fails ( #28387 )
...
* RPC: respect data slice config if account parsing fails
* Remove check_slice_and_encoding method
2022-10-19 16:49:12 +08:00
Justin Starry
438d96e499
RPC: Return the data length for get account requests ( #28421 )
2022-10-18 01:56:04 +08:00
Justin Starry
70445b7402
Refactor: Rename `max_invoke_depth` to `max_invoke_stack_height` ( #28427 )
...
Refactor: Rename max_invoke_depth to max_invoke_stack_height
2022-10-17 23:54:56 +08:00
Dmitri Makarov
f4dd24491f
Migrate SDK from BPF to SBF
2022-10-07 08:57:06 -04:00
Abraar
8d3e924dd2
Fix typo in Versioned Transactions ( #28213 )
2022-10-04 08:29:24 +00:00
Michael Vines
df5f9f698f
Surface the getVoteAccounts.epochCredits max-length constant in rpc-client-api
2022-09-26 21:58:19 -07:00