mergify[bot]
18e7112608
Fix get_parsed_token_accounts ( #11907 ) ( #11908 )
...
(cherry picked from commit 60c7ac6f95 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-29 20:07:04 +00:00
Tyera Eulberg
bd0536c80f
Bump spl-token version
2020-08-29 02:22:33 -06:00
Tyera Eulberg
184e4253c7
Update to token pack/unpack changes ( #11901 )
2020-08-29 04:57:09 +00: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
Jack May
eeb7503fb6
Revert "Align host addresses ( #11384 ) ( #11836 )" ( #11876 )
...
This reverts commit 3296c13ef2 .
2020-08-27 16:19:05 +00:00
Jack May
7e1aa02ce4
Revert "Make BPF Loader static (bp #11516 ) ( #11865 )" ( #11871 )
...
This reverts commit 81db361d77 .
2020-08-27 06:48:21 +00:00
mergify[bot]
81db361d77
Make BPF Loader static (bp #11516 ) ( #11865 )
...
* Make BPF Loader static (#11516 )
(cherry picked from commit 7c736f71fe )
# Conflicts:
# Cargo.lock
# core/Cargo.toml
# core/src/lib.rs
# core/src/validator.rs
# genesis/src/main.rs
# programs/bpf/tests/programs.rs
# runtime/src/builtin_programs.rs
# runtime/src/lib.rs
* resolve conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2020-08-27 01:00:24 +00:00
mergify[bot]
fb1985fe5e
Rpc: Filter accounts with invalid mints from get_parsed_token_accounts ( #11844 ) ( #11858 )
...
* Filter out accounts with invalid mints from get_parsed_token_accounts
* Explicit docs
(cherry picked from commit 1988ee9cd6 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-26 19:07:23 +00:00
mergify[bot]
3296c13ef2
Align host addresses ( #11384 ) ( #11836 )
...
* Align host addresses
* support new program abi
* update epoch rollout
* Enforce aligned pointers in cross-program invocations
(cherry picked from commit 9290e561e1 )
# Conflicts:
# programs/bpf_loader/src/lib.rs
Co-authored-by: Jack May <jack@solana.com >
2020-08-26 00:19:38 +00:00
mergify[bot]
b8cc10749a
Re-route program logging (bp #10528 ) ( #11838 )
...
* Route all loader messages to log collector (#10528 )
(cherry picked from commit b6a9573748 )
# Conflicts:
# Cargo.lock
# programs/bpf/Cargo.lock
# programs/bpf/benches/bpf_loader.rs
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/syscalls.rs
# runtime/src/message_processor.rs
# sdk/src/entrypoint_native.rs
* resolve conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2020-08-25 21:09:24 +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
mergify[bot]
4e0dbd6a73
Fix filter_crds_values output alignment with the inputs (bp #11734 ) ( #11780 )
...
* Fix filter_crds_values output alignment with the inputs (#11734 )
(cherry picked from commit 418b483af6 )
# Conflicts:
# core/src/crds_gossip_pull.rs
* Resolve conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
Co-authored-by: Carl <carl@solana.com >
2020-08-21 22:24:48 +00:00
mergify[bot]
9ee69017dc
Add option for repairing only from trusted validators ( #11752 ) ( #11772 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit c8d67aa8eb )
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-21 09:01:39 +00:00
mergify[bot]
7c956a87e5
Rpc: Return error if block does not exist ( #11743 ) ( #11748 )
...
* Return error if block does not exist
* Update docs
(cherry picked from commit 747f8d5877 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-20 22:52:18 +00:00
Trent Nelson
0beb443d44
Bump version to 1.2.27
2020-08-20 13:32:49 -06:00
mergify[bot]
de76df0cbb
Bump spl-token to clean up magic number (bp #11726 ) ( #11737 )
...
* Bump spl-token to clean up magic number (#11726 )
(cherry picked from commit 2fd2aceeb2 )
# Conflicts:
# account-decoder/Cargo.toml
# core/Cargo.toml
# transaction-status/Cargo.toml
* Fix conflicts and toml order
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-20 17:35:28 +00:00
carllin
5255a6ebd2
Cleanup test utilities ( #11725 )
...
Co-authored-by: Carl <carl@solana.com >
2020-08-20 00:10:18 -07: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]
e2626dad83
Re-do rent collection check on rent-exempt account (bp #11349 ) ( #11654 )
...
* Re-do rent collection check on rent-exempt account (#11349 )
* wip: re-do rent collection check on rent-exempt account
* Let's see how the ci goes
* Restore previous code
* Well, almost all new changes are revertable
* Update doc
* Add test and gating
* Fix tests
* Fix tests, especially avoid to change abi...
* Fix more tests...
* Fix snapshot restore
* Align to _new_ with better uninitialized detection
(cherry picked from commit 23fa84b322 )
# Conflicts:
# core/src/rpc_subscriptions.rs
# core/tests/bank_forks.rs
# runtime/src/bank.rs
* Fix conflicts
* Add missing comment
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-17 11:14:56 +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
mergify[bot]
3652bd57a9
Ensure highest_confirmed_root only grows (bp #11596 ) ( #11607 )
...
* Ensure highest_confirmed_root only grows (#11596 )
* Split out commitment-cache update for unit testing
* Add failing test
* Ensure highest_confirmed_root only grows
(cherry picked from commit 4da1e9833c )
# Conflicts:
# core/src/commitment_service.rs
* Adapt to v1.2
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-13 09:19:14 +00:00
mergify[bot]
5077d6bfb3
Return blockstore signatures-for-address despite bigtable error ( #11594 ) ( #11598 )
...
(cherry picked from commit b1e452f876 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-13 01:22:31 +00:00
mergify[bot]
f0ee3e9deb
Fix assertion failure ( #11572 ) ( #11589 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 473b5249e3 )
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-12 20:38:57 +00:00
Trent Nelson
c15aa4a968
Bump version to 1.2.23
2020-08-12 00:34:33 +00:00
mergify[bot]
3124a88284
Move cluster slots update to separate thread (bp #11523 ) ( #11557 )
...
* Move cluster slots update to separate thread (#11523 )
* Add cluster_slots_service
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 7ef50a9352 )
# Conflicts:
# core/src/repair_service.rs
# core/src/retransmit_stage.rs
* Fix conflicts
Co-authored-by: carllin <wumu727@gmail.com >
Co-authored-by: Carl <carl@solana.com >
2020-08-11 22:54:29 +00:00
mergify[bot]
e76a2065e3
Gossip log ( #11555 ) ( #11561 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 1b238dd63e )
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-11 22:27:35 +00:00
mergify[bot]
4218414c87
filter out old gossip pull requests ( #11448 ) ( #11552 )
...
* init
* builds
* stats
* revert
* tests
* clippy
* add some jitter
* shorter jitter timer
* update
* fixup! update
* use saturating_sub
* fix filters
(cherry picked from commit 713851b68d )
Co-authored-by: anatoly yakovenko <anatoly@solana.com >
2020-08-11 19:50:49 +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
mergify[bot]
56436a6271
Fix parsing of spl-token Mint ( #11512 ) ( #11513 )
...
* Add failing test
* Fix jsonParsed mint
(cherry picked from commit da210ddd51 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-10 22:08:19 +00:00
sakridge
11476038cd
Add db recovery methods ( #10838 ) ( #11496 )
2020-08-10 08:20:12 -07:00
Michael Vines
dbbdfa1dbb
Bump version to v1.2.22
2020-08-09 18:02:02 +00:00
mergify[bot]
8bcc04c275
Decode native-program and sysvar accounts (bp #11463 ) ( #11484 )
...
* Decode native-program and sysvar accounts (#11463 )
* Pass pubkey in to account-decoder for sysvars
* Decode sysvar accounts
* Decode config accounts; move validator-info lower
* Decode stake accounts
* Review comments
* Stringify any account lamports and epochs that can be set to u64::MAX
(cherry picked from commit a9f76862fb )
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# core/src/rpc.rs
* Fix conflicts
* Ignore clippy lint affecting rust <v1.44.0
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-09 09:45:31 +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
mergify[bot]
798a6db915
RPC: Plug getConfirmedSignaturesForAddress2 into bigtable storage (bp #11395 ) ( #11405 )
...
* Plug getConfirmedSignaturesForAddress2 into bigtable storage
(cherry picked from commit 4222932e08 )
# Conflicts:
# ledger-tool/src/bigtable.rs
# storage-bigtable/src/lib.rs
* Upgrade help description
(cherry picked from commit 9abb7db5f8 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-06 07:49:30 +00:00
Michael Vines
66242eab41
Long-term ledger storage with BigTable (bp #11222 )
2020-08-05 23:15:28 -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
Tyera Eulberg
74cdfc2213
Fall back to root if highest_confirmed_slot bank does not exist ( #11390 )
2020-08-05 22:08:20 +00:00
mergify[bot]
7b8e5a9f47
Sanitize preflight (bp #11373 ) ( #11376 )
...
* Add failing test for unsane tx in RPC preflight
(cherry picked from commit e25846e1ad )
* Add From for SanitizeError > TransactionError
(cherry picked from commit 3f73affb2e )
* Sanitize transactions during RPC preflight test
(cherry picked from commit 29b3265dc7 )
* Harden RPC preflight test inputs
(cherry picked from commit 14339dec0a )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-08-05 17:03:09 +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]
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