Justin Starry
cc390f176c
RPC: Fix ATA create instruction parsing ( #28314 )
2022-10-10 20:24:10 +02:00
Justin Starry
108b245e6b
Require program account to be writable in extend program data ix ( #27911 )
...
* Require program account to be writable in extend program data ix
* feedback
2022-09-22 12:03:06 +08:00
Kevin Heavey
9dbcdbfe5b
remove unused deps from transaction-status
2022-09-19 17:21:22 -04:00
Kevin Heavey
8c41cf9330
remove solana-vote-program dep from solana-transaction-status ( #27845 )
...
Co-authored-by: Kevin Heavey <ID+username@users.noreply.github.com>
2022-09-16 21:46:47 +00:00
Tyera Eulberg
973a5fb0e9
Add new TransactionDetails level ( #27601 )
...
* Add new transaction details level
* Dedupe common code
* Update docs
* Respect showRewards parameter in tx meta
2022-09-15 10:00:30 -06:00
Tyera Eulberg
360ca07a40
Add serialization-control enum for RPC Options ( #27676 )
...
* Add test to verify output when deserializing/reserializing empty fields
* Add test to verify serialization from UiTransactionStatusMeta constructors
* Add OptionSerializer
* Use OptionSerializer for inner_instructions
* Use OptionSerializer for loaded_addresses
* Remove Default variant, use into instead
* Add as_ref implementation
* Use OptionSerializer for log_messages and rewards
* Use OptionSerializer for token_balances
* Use OptionSerializer for return_data
* Use OptionSerializer for compute_units_consumed
2022-09-14 16:58:50 -06:00
Will Hickey
c0e4379f43
Whickey/version v1.15 ( #27739 )
...
* Bump version to v1.13.0
* Bump version to v1.14.0
* Bump version to v1.15.0
2022-09-13 09:06:15 -05:00
behzad nouri
4f22ee8f9b
uses varint encoding for vote-state lockout offsets
...
The commit removes CompactVoteStateUpdate and instead reduces serialized
size of VoteStateUpdate using varint encoding for vote-state lockout
offsets.
2022-09-12 16:31:20 +00:00
Tyera Eulberg
0bfc188375
Update getBlock/getTransaction rpc handling of return_data ( #27672 )
...
* Move return_data type to transaction-status crate
* Use UiTransactionReturnData in UiTransactionStatusMeta
* Fixup display handling
* Update docs
2022-09-08 21:10:57 +00:00
Tyera Eulberg
54284955de
Respect rewards parameter in getBlock transaction-level rewards ( #27655 )
...
* Respect options.show_rewards in UiTransactionStatusMeta
* Fixup docs
2022-09-08 10:17:02 -06:00
dependabot[bot]
f338aa62ba
chore: bump serde from 1.0.143 to 1.0.144 ( #27511 )
...
* chore: bump serde from 1.0.143 to 1.0.144
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.143 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.143...v1.0.144 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-09-07 16:54:44 -06:00
Tyera Eulberg
1df8830790
Skip loadedAddresses for jsonParsed tx meta ( #27618 )
...
Skip loaded_addresses for jsonParsed tx meta
2022-09-07 09:41:08 -06:00
Justin Starry
c620b7b34f
RPC: include resolved keys from table lookups in parsed message response ( #27552 )
...
* RPC: include resolved keys from table lookups in parsed message response
* Add source to ParsedAccount
* Ensure that rpc client can parse account meta from old api versions
2022-09-06 10:40:39 -05:00
Tyera Eulberg
62eebe6e6d
Parse address-lookup-table instructions ( #27316 )
...
* Parse address-lookup-table instructions
* Finish extend instruction handling
* Rename payer, recipient
* Update docs parsing status
2022-08-24 10:17:53 -06:00
Ashwin Sekar
efa6201eda
Check overflow on vote tx compaction boundary ( #27185 )
...
* Check overflow on vote tx compaction boundary
Check for overflow during the conversion between VoteStateUpdate and
CompactVoteStateUpdate.
* Try removing clippy supress
2022-08-23 22:29:03 -07:00
Kevin Heavey
a7883c19e9
add missing derives ( #27311 )
...
* add missing derives
* undo some impossible Eqs
* derive Clone for UiConfirmedBlock
* add missing clones
Co-authored-by: Kevin Heavey <ID+username@users.noreply.github.com>
2022-08-23 00:12:32 +00:00
Tyera Eulberg
1eba91af29
Parse ConfidentialTransaction instructions ( #26825 )
...
Parse ConfidentialTransfer instructions
2022-08-16 20:52:11 -06:00
Tyera Eulberg
74f487c828
Bump spl-token-2022 ( #27181 )
...
* Bump token-2022 to 0.4.3
* Allow cargo to bump stuff to v1.11.5
2022-08-16 15:47:12 -06:00
dependabot[bot]
e3a8d2ecdd
chore: bump serde_json from 1.0.81 to 1.0.83 ( #27036 )
...
* chore: bump serde_json from 1.0.81 to 1.0.83
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.81 to 1.0.83.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.81...v1.0.83 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-08-10 09:45:42 -06:00
dependabot[bot]
ae5b680c6f
chore: bump serde from 1.0.138 to 1.0.143 ( #27015 )
...
* chore: bump serde from 1.0.138 to 1.0.143
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.138 to 1.0.143.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.138...v1.0.143 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-08-10 05:08:43 +00:00
Michael Vines
b0c61e832c
Correct StakeInstruction::DeactivateDelinquent instruction type
2022-08-09 14:04:42 -07:00
Will Hickey
ed8c224374
Bump version to v1.12 ( #26967 )
2022-08-06 13:20:30 -05:00
Richard Patel
270315a7f6
transaction-status, storage-proto: add compute_units_consumed ( #26528 )
...
* transaction-status, storage-proto: add compute_units_consumed
* fix bpf test
Co-authored-by: Justin Starry <justin@solana.com>
2022-08-06 17:14:31 +00:00
Xavier59
a7e72d0798
add program account to bpf loader close instruction parser ( #26926 )
2022-08-05 18:37:42 +01:00
Tyera Eulberg
2dca239480
Remove runtime dependency from solana-transaction-status ( #26930 )
...
* Move RewardType out of runtime
* Move collect_token_balances to solana-ledger
* Remove solana-runtime dependency
2022-08-05 00:20:27 -06:00
Jon Cinque
b725b8617c
spl: Bump token to 3.5.0 and ata to 1.1.0 ( #26921 )
2022-08-05 03:05:31 +02:00
github-actions[bot]
fbf1bf6d86
Bump Version to 1.11.6 ( #26906 )
...
Co-authored-by: willhickey <willhickey@users.noreply.github.com>
2022-08-03 12:48:43 -05:00
Tyera Eulberg
7c58c8a641
Bump spl-token ( #26902 )
2022-08-03 08:51:43 +00:00
Tyera Eulberg
9d31b1d290
Parse ConfidentialTransaction extensions ( #26820 )
...
* Bump spl-token-2022 to 0.4.2
* Revert Cargo.lock changes in #26746 and update spl solana crates to v1.10.33
* Parse ConfidentialTransfer extensions
2022-07-28 21:43:20 -06:00
Michael Vines
123f61ccad
Correct DeactivateDelinquent/Redelegate account parsing
2022-07-28 12:45:56 -06:00
Michael Vines
48862c575a
Add StakeInstruction::Redelegate
2022-07-27 20:24:25 -06:00
Ashwin Sekar
8d69e8d447
Compact vote state updates to reduce block size ( #26616 )
...
* Compact vote state updates to reduce block size
* Add rpc transaction tests
2022-07-27 13:23:44 -06:00
Tyera Eulberg
dbd3b6b53a
Parse more token-2022 extensions and instructions ( #26746 )
...
* Bump spl-token-2022
* Support parsing InterestBearingConfig extension
* Parse InitializeNonTransferableMint instructions
* Parse InterestBearingMint instructions
* Bump solana-program rebuild threshold
2022-07-25 15:39:13 -06:00
github-actions[bot]
5d038b9d2a
Bump Version to 1.11.5 ( #26758 )
...
Co-authored-by: willhickey <willhickey@users.noreply.github.com>
2022-07-25 13:05:14 -06:00
Tyera Eulberg
a55e34da87
Support spl-token-2022 properly in pre-/postTokenBalances ( #26759 )
...
* Add failing test
* Use program-2022 unpacking to support token balances
* Add comments to make test results more clear
2022-07-25 10:59:01 -06:00
github-actions[bot]
fd5df1cf25
Bump Version to 1.11.4 ( #26578 )
...
Co-authored-by: willhickey <willhickey@users.noreply.github.com>
2022-07-11 23:30:38 -05:00
Justin Starry
8e8c6e60ff
Allow extending upgradeable program data account length ( #26386 )
...
* Allow extending upgradeable program data account length
* Add is_writable check
* Fix cargo version
* System program fix, comment, and test
* Switch to u32 for serialized bytes value in ix
2022-07-11 22:46:32 +01:00
github-actions[bot]
9d937fb8a0
Bump Version to 1.11.3 ( #26481 )
...
Co-authored-by: willhickey <willhickey@users.noreply.github.com>
2022-07-07 14:39:46 -05:00
dependabot[bot]
37f4621c06
chore: bump serde from 1.0.137 to 1.0.138 ( #26421 )
...
* chore: bump serde from 1.0.137 to 1.0.138
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.137 to 1.0.138.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.137...v1.0.138 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-07-05 23:18:08 -06:00
github-actions[bot]
5c2f819f99
Bump Version to 1.11.2 ( #26159 )
2022-06-22 21:16:18 -05:00
Will Hickey
51f26dc96e
Bump version to 1.11.1 ( #26104 )
2022-06-21 12:07:46 -05:00
Steven Luscher
45d11f3d26
Implement `VoteInstruction::AuthorizeWithSeed` & `VoteInstruction::AuthorizeWithSeedChecked` ( #25928 )
...
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeWithSeed`
* [vote_authorize_with_seed] You can now update a vote account's authority if it's a derived key for which you control the base key
* [vote_authorize_with_seed] Add test helper to create a vote account whose authorities are derived keys
* [vote_authorize_with_seed] Write tests to assert the behavior of `VoteInstruction::AuthorizeWithSeed`
* [vote_authorize_with_seed] Feature gate the `VoteInstruction::AuthorizeWithSeed` processor
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeWithSeed` to transaction status parser
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeWithSeed` to docs
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeCheckedWithSeed`
* [vote_authorize_with_seed] You can now update a vote account's authority (while checking that the new authority has signed) if it's a derived
key for which you control the base key
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeCheckedWithSeed` to transaction status parser
* [vote_authorize_with_seed] Write tests to assert the behavior of `VoteInstruction::AuthorizeCheckedWithSeed`
2022-06-13 20:36:44 -07:00
Tyera Eulberg
7b786ff331
RPC instruction parser tests are missing some cases ( #25951 )
...
* Fix num-accounts typo and extend test
* Add extra test cases to parse_system
* Add extra test cases to parse_vote
* Add extra test cases to parse_stake
* Fixup parse_bpf_loader
* Add extra test cases to parse_bpf_upgradeable_loader
* Add extra test cases to parse_associated_token
2022-06-14 00:32:40 +00:00
behzad nouri
b4190319a1
feat(nonce): adds system instruction to upgrade legacy nonce versions ( #25789 )
...
https://github.com/solana-labs/solana/pull/25788
permanently disables durable transactions with legacy nonce versions
which are within chain blockhash domain.
This commit adds a new system instruction for a one-time idempotent
upgrade of legacy nonce accounts in order to bump them out of chain
blockhash domain.
2022-06-10 00:04:29 +00:00
Michael Vines
9c20a06068
Remove unused lifetime
2022-05-22 22:22:21 -07:00
Michael Vines
b05c7d91ed
Fix derive_partial_eq_without_eq clippy lint
2022-05-22 22:22:21 -07:00
Tyera Eulberg
7e07fc219b
Parse most token-2022 instructions ( #25099 )
...
* Add COption<Pubkey> helper
* Parse DefaultAccountState ixs
* Parse MemoTransfer ixs
* Parse Reallocate ixs
* Parse MintCloseAuthority ixs
* Parse TransferFee ixs
* Parse CreateNativeMint
2022-05-10 11:09:54 -06:00
Justin Starry
082502d4f3
Fail tx sanitization when ix program id uses lookup table ( #25035 )
...
* Fail tx sanitization when ix program id uses lookup table
* feedback
2022-05-07 03:19:50 +08:00
dependabot[bot]
bece7f32c8
chore: bump log from 0.4.16 to 0.4.17 ( #24987 )
...
* chore: bump log from 0.4.16 to 0.4.17
Bumps [log](https://github.com/rust-lang/log ) from 0.4.16 to 0.4.17.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits/0.4.17 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-05-05 01:49:18 +00:00
dependabot[bot]
61a9faae17
chore: bump serde_json from 1.0.80 to 1.0.81 ( #24960 )
...
* chore: bump serde_json from 1.0.80 to 1.0.81
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.80...v1.0.81 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <you@example.com>
2022-05-04 14:57:38 -06:00