mergify[bot]
2a842408bd
Bump getMultipleAccounts input limit ( #12050 ) ( #12051 )
...
(cherry picked from commit 954b017f85
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-09-04 19:10:12 +00:00
mergify[bot]
5496d52097
Rpc: add getMultipleAccounts endpoint (bp #12005 ) ( #12023 )
...
* Rpc: add getMultipleAccounts endpoint (#12005 )
* Add rpc endpoint to return the state of multiple accounts from the same bank
* Add docs
* Review comments: Dedupe account code, default to base64, add max const
* Add get_multiple_accounts to rpc-client
(cherry picked from commit b22de369b7
)
# Conflicts:
# core/src/rpc.rs
* Fix conflicts
* Use new_response for consistency
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-09-03 19:52:25 +00:00
mergify[bot]
b34f179546
Update to rayon 1.4.0 (bp #11898 ) ( #11959 )
...
* Update to rayon 1.4.0 (#11898 )
Co-authored-by: sakridge <sakridge@gmail.com >
Co-authored-by: Carl <carl@solana.com >
2020-08-31 20:38:33 -07:00
mergify[bot]
5828d2cff7
Update spl-token to v2.0 (bp #11884 ) ( #11896 )
...
* Update spl-token to v2.0 (#11884 )
* Update account-decoder to spl-token v2.0
* Update transaction-status to spl-token v2.0
* Update rpc to spl-token v2.0
* Update getTokenSupply to pull from Mint directly
* Fixup to spl-token v2.0.1
(cherry picked from commit 76be36c9ce
)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# core/Cargo.toml
# core/src/rpc.rs
# transaction-status/Cargo.toml
* Fix non-Cargo.lock conflicts
* Limited Deserialize isn't limiting anything (#10952 )
* Add failing test
* Use deserialize_from to enable limit
* Cargo.lock
* chore(deps): bump bincode from 1.2.1 to 1.3.1 (#10867 )
* chore(deps): bump bincode from 1.2.1 to 1.3.1
Bumps [bincode](https://github.com/servo/bincode ) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/servo/bincode/releases )
- [Commits](https://github.com/servo/bincode/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
* Switch from deprecated method
* Add options to maintain behavior with bincode::options()
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-08-29 01:27:10 +00:00
mergify[bot]
99a01abfd7
RPC: Allow the sendTransaction preflight commitment level to be configured (bp #11792 ) ( #11793 )
...
* Allow the sendTransaction preflight commitment level to be configured
(cherry picked from commit b660704faa
)
# Conflicts:
# cli/src/cli.rs
# core/src/rpc.rs
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-22 17:00:49 +00:00
Trent Nelson
0beb443d44
Bump version to 1.2.27
2020-08-20 13:32:49 -06:00
Trent Nelson
2a1946436b
Bump version to 1.2.26
2020-08-19 20:33:40 +00:00
Michael Vines
80649a9c3d
Revert "Revert "rpc: rework binary encoding. BREAKING CHANGE (bp #11646 ) ( #11673 )""
...
This reverts commit fb90fb3feb
.
2020-08-18 21:25:31 -07:00
Michael Vines
00251f710e
Bump version to v1.2.25
2020-08-18 08:40:00 -07:00
Michael Vines
fb90fb3feb
Revert "rpc: rework binary encoding. BREAKING CHANGE (bp #11646 ) ( #11673 )"
...
This reverts commit d6ca879d39
.
2020-08-18 06:27:20 -07:00
mergify[bot]
d6ca879d39
rpc: rework binary encoding. BREAKING CHANGE (bp #11646 ) ( #11673 )
...
* Add base64 (binary64) encoding for getConfirmedTransaction/getConfirmedBlock
(cherry picked from commit b5f3ced860
)
# Conflicts:
# transaction-status/Cargo.toml
* decode-transaction now supports binary64
(cherry picked from commit 2ebc68a9e2
)
# Conflicts:
# cli/src/cli.rs
* Rework UiAccountData encode/decode such that it works from Rust
(cherry picked from commit 757e147b3b
)
# Conflicts:
# cli/src/cli.rs
* Rename Binary64 to Base64. Establish Base58 encoding
(cherry picked from commit adc984a225
)
* Remove "binary" encoding. Document "encoding" as required
(cherry picked from commit e5281157fa
)
* resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-18 04:18:48 +00:00
mergify[bot]
070fbeb69a
Rpc: Add until parameter for getConfirmedSignaturesForAddress2 ( #11644 ) ( #11647 )
...
* Refactor bigtable apis to accept start and end keys
* Make helper fn to deserialize cell data
* Refactor get_confirmed_signatures_for_address to use get_row_data range
* Add until param to get_confirmed_signatures_for_address
* Add until param to blockstore api
* Plumb until through client/cli
* Simplify client params
(cherry picked from commit 6c5b8f324a
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-15 18:04:08 +00:00
Trent Nelson
1bda09bf0e
Bump version to 1.2.24
2020-08-14 18:51:08 +00:00
Trent Nelson
c15aa4a968
Bump version to 1.2.23
2020-08-12 00:34:33 +00:00
mergify[bot]
60c91d386f
Adapt RpcClient to recent token method changes (bp #11519 ) ( #11547 )
...
* Adapt RpcClient to recent token method changes (#11519 )
* Avoid skip_serializing_if since that breaks deserialization
* Adapt RpcClient to recent token method changes
(cherry picked from commit 17645ee20c
)
# Conflicts:
# client/src/rpc_client.rs
* Fix conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-11 18:00:35 +00:00
mergify[bot]
8b345f3258
Add config param to specify offset/length for single and program account info (bp #11515 ) ( #11517 )
...
* Add config param to specify offset/length for single and program account info (#11515 )
* Add config param to specify dataSlice for account info and program accounts
* Use match instead of if
(cherry picked from commit 88ca04dbdb
)
# Conflicts:
# core/src/rpc.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-11 00:21:47 +00:00
Michael Vines
dbbdfa1dbb
Bump version to v1.2.22
2020-08-09 18:02:02 +00:00
mergify[bot]
2fd822887f
Add Binary64 option for account data ( #11474 ) ( #11480 )
...
* Add Binary64 option for account data
* Decode into binary64
* Reword docs
Co-authored-by: sakridge <sakridge@gmail.com >
2020-08-09 07:14:54 +00:00
mergify[bot]
9b049402c9
Token Accounts: return ui_amount, decimals with decoded account (bp #11407 ) ( #11452 )
...
* Token Accounts: return ui_amount, decimals with decoded account (#11407 )
* Return ui_amount, decimals from token client methods
* Return ui_amount, decimals in RPC jsonParsed token accounts
* Fixup docs
* Return ui_amount, decimals in pubsub jsonParsed token accounts
* Remove unnecessary duplicate struct
* StringAmount rename
(cherry picked from commit b7c2681903
)
# Conflicts:
# client/src/rpc_client.rs
# core/src/rpc.rs
# core/src/rpc_subscriptions.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-07 19:28:25 +00:00
Trent Nelson
b49aa125c9
Bump version to 1.2.21
2020-08-06 12:20:56 -07:00
Trent Nelson
7f0d4f0656
Bump version to 1.2.20
2020-08-05 22:06:02 -06:00
Trent Nelson
1ff9555099
Bump version to 1.2.19
...
This one has some bonus deltas due to locks not being bumped for v1.2.18 nor
the ed25591-dalek update.
2020-08-06 00:32:08 +00:00
mergify[bot]
72a13e2a72
Add getConfirmedSignaturesForAddress2 RPC method (bp #11259 ) ( #11393 )
...
* Add getConfirmedSignaturesForAddress2 RPC method
(cherry picked from commit 1b2276520b
)
# Conflicts:
# core/src/rpc.rs
* Reimplement transaction-history command with getConfirmedSignaturesForAddress2
(cherry picked from commit 087fd32ce3
)
* Rework get_confirmed_signatures_for_address2
(cherry picked from commit a11f137810
)
* Rename startAfter to before
(cherry picked from commit 02c0981ecf
)
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-05 23:14:53 +00:00
mergify[bot]
80525ac862
Return token amounts as floats (bp #11370 ) ( #11378 )
...
* Return token amounts as floats (#11370 )
* Return token amounts as floats
* Floating-point equality
* Return float and raw token amounts
* Fix decimals and token rpcs for native-mint tokens
* Fixup docs and review comments
(cherry picked from commit 86e3f96f16
)
# Conflicts:
# core/src/rpc.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-05 08:31:22 +00:00
mergify[bot]
b95c493d66
get_token_accounts_by_owner now returns UiTokenAccounts ( #11367 )
...
(cherry picked from commit b5e03d6df2
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-05 00:06:21 +00:00
mergify[bot]
5871462241
Fix token rpc-client methods (bp #11361 ) ( #11362 )
...
* Fix token rpc-client methods (#11361 )
* Convert None to error in parse_keyed_accounts
* Allow encoding configuration in getTokenAccounts methods
(cherry picked from commit d0144ce382
)
# Conflicts:
# core/src/rpc.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-04 18:40:39 +00:00
mergify[bot]
c769bcc418
Add getTokenLargestAccounts endpoint (bp #11322 ) ( #11338 )
...
* Add getTokenLargestAccounts endpoint (#11322 )
(cherry picked from commit d1b2e6cdf2
)
* Rebase on v1.2
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-02 17:58:55 +00:00
Michael Vines
0cae099d12
Bump version to v1.2.18
2020-08-01 21:15:25 -07:00
Trent Nelson
139bb32dba
Bump version to 1.2.17
2020-08-01 07:14:47 +00:00
mergify[bot]
b0e14ea83c
Add token rpc endpoints to rpc-client (bp #11315 ) ( #11320 )
...
* Add token rpc endpoints to rpc-client (#11315 )
(cherry picked from commit 9bcfc51df1
)
# Conflicts:
# client/src/rpc_client.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-31 23:10:29 +00:00
Trent Nelson
5323622842
Bump version to 1.2.16
2020-07-30 10:55:09 -06:00
mergify[bot]
a7f4d1487a
Add SPL Token-specific rpc endpoints (bp #11231 ) ( #11261 )
...
* Add SPL Token-specific rpc endpoints (#11231 )
* Simplify account-decoder program ids + spl_token helper
* Spl program namespace version
* Add getTokenAccountBalance endpoint
* Remove token program id from getTokenAccountBalance request
* Add getTokenSupply endpoint
* Remove token program id from getTokenSupply request
* Add getTokenAccountsByOwner/Delegate endpoints
* Remove token program id from getTokenAccountsByOwner/Delegate requests
* Named parameter
(cherry picked from commit b45ac5d4db
)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# core/Cargo.toml
# core/src/rpc.rs
# transaction-status/Cargo.toml
* Fix backport
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-29 17:08:21 +00:00
Trent Nelson
11e43e1654
Bump version to 1.2.15
2020-07-29 06:59:27 +00:00
Trent Nelson
b83a4cae90
Bump version to 1.2.14
2020-07-25 04:00:17 +00:00
Trent Nelson
ff48ea20de
Bump version to 1.2.13
2020-07-22 06:08:41 +00:00
carllin
3da254c745
Bump version to 1.2.12 ( #11088 )
...
Co-authored-by: Me <carl_solana_com@carl-dev.c.principal-lane-200702.internal>
2020-07-15 23:55:05 +00:00
Michael Vines
b07b6e56fa
getConfirmedBlocks now has an upper limit on slot range
...
(cherry picked from commit aef6bf272e
)
2020-07-10 15:40:03 -07:00
sakridge
2896fdb603
Update version to v1.2.11 ( #10966 )
2020-07-09 06:48:30 -07:00
sakridge
50970bc8f9
Update version to v1.2.10 ( #10962 )
2020-07-08 15:34:19 -07:00
Tyera Eulberg
f7fb5aebac
v1.2 instruction and account decoding backports ( #10939 )
...
* Revert "Rpc: add filter to getProgramAccounts (#10888 ) (#10932 )"
This reverts commit 9311a6e356
.
* Add jsonParsed option for EncodedTransactions; add memo parser (#10711 )
* Add jsonParsed option for EncodedTransactions; add memo parser
* Use kebab case for program names
* Add account-key parsing
* Add parse test
* Update transaction encoding docs (#10833 )
* Add account-decoder utilities (#10846 )
* Fix comment and make less pub
* Add account-decoder crate and use to decode vote and system (nonce) accounts
* Update docs
* Rename RpcAccount struct
* s/Rpc/Display
* Call it jsonParsed and update docs
* Revert "s/Rpc/Display"
This reverts commit 6e7149f503
.
* s/Rpc/Ui
* Add tests
* Ui more things
* Comments
* Update struct prefixes to Ui (#10874 )
* Update comments
* Use Ui prefix
* Rpc: add filter to getProgramAccounts (#10888 )
* Add RpcFilterType, and implement CompareBytes for getProgramAccounts
* Accept bytes in bs58
* Rename to memcmp
* Add Memcmp optional encoding field
* Add dataSize filter
* Update docs
* Clippy
* Simplify tests that don't need to test account contents; add multiple-filter tests
2020-07-07 09:35:35 -06:00
Tyera Eulberg
9311a6e356
Rpc: add filter to getProgramAccounts ( #10888 ) ( #10932 )
...
* Add RpcFilterType, and implement CompareBytes for getProgramAccounts
* Accept bytes in bs58
* Rename to memcmp
* Add Memcmp optional encoding field
* Add dataSize filter
* Update docs
* Clippy
* Simplify tests that don't need to test account contents; add multiple-filter tests
2020-07-06 21:45:12 +00:00
mergify[bot]
8c706892df
Rpc: Add getStakeActivation endpoint (bp #10902 ) ( #10930 )
...
* Rpc: Add getStakeActivation endpoint (#10902 )
* Add getStakeActivation endpoint
* Add docs
* Update docs/src/apps/jsonrpc-api.md
Co-authored-by: Michael Vines <mvines@gmail.com >
* Rework return type
* Update docs
* Rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 4de0713aa3
)
* Fix build
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-06 21:23:27 +00:00
sakridge
191483cf9f
Update cargo.* version to 1.2.9 ( #10861 )
2020-06-30 23:21:10 +00:00
Stephen Akridge
89d78dcfcf
Update cargo.* version to 1.2.8
2020-06-30 09:03:28 -07:00
mergify[bot]
85750307aa
Rename Client methods to match proposed BanksClient (bp #10793 ) ( #10800 )
...
* Rename Client methods to match proposed BanksClient (#10793 )
(cherry picked from commit 7ade330b23
)
# Conflicts:
# programs/bpf/tests/programs.rs
# runtime/benches/bank.rs
* Fix merge
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-25 05:33:12 +00:00
mergify[bot]
55b92c16da
Remove fee-payer guesswork from Message and Transaction (bp #10776 ) ( #10785 )
...
* Remove fee-payer guesswork from Message and Transaction (#10776 )
* Make Message::new_with_payer the default constructor
* Remove Transaction::new_[un]signed_instructions
These guess the fee-payer instead of stating it explicitly
(cherry picked from commit 1c498369b5
)
# Conflicts:
# cli/src/nonce.rs
# core/src/rpc.rs
# ledger/src/blockstore.rs
# programs/bpf/tests/programs.rs
* Fix merge
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-25 01:10:23 +00:00
Stephen Akridge
ccb7b1a698
Bump cargo version to v1.2.7
2020-06-24 09:23:12 -07:00
Stephen Akridge
2d94c09aee
Bump Cargo.toml version to 1.2.6
2020-06-22 23:23:16 -07:00
Stephen Akridge
4b33a2a1b8
Update Cargo.toml version from 1.2.4 to 1.2.5
2020-06-17 18:55:20 -07:00
Stephen Akridge
dbda50941a
Bump version to 1.2.4
2020-06-16 17:03:09 -07:00