d0e1779893
Accounts hash calculation metrics ( #11433 ) ( #11438 )
...
(cherry picked from commit 770d3d383c
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-08-07 06:04:50 +00:00
929ffc5a4e
Fix blockstore empty panic (bp #11423 ) ( #11429 )
...
* Fix blockstore empty panic (#11423 )
* Add panicking test
* Add failing test: fresh transaction-status column shouldn't point at valid root 0
* Prevent transaction status match outside of primary-index bounds
* Initialize transaction-status and address-signature primer entries with Slot::MAX
* Revert "Add failing test: fresh transaction-status column shouldn't point at valid root 0"
This reverts commit cbad2a9fae
.
* Revert "Initialize transaction-status and address-signature primer entries with Slot::MAX"
This reverts commit ffaeac0669
.
(cherry picked from commit 1061b50665
)
# Conflicts:
# ledger/src/blockstore.rs
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-07 01:21:24 +00:00
1f63fb06f1
Add address-based lower bound to get_confirmed_signatures_for_address2 loop ( #11426 ) ( #11431 )
...
(cherry picked from commit 5530ee4c95
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-06 23:56:39 +00:00
b49aa125c9
Bump version to 1.2.21
2020-08-06 12:20:56 -07:00
55836d133e
Realloc not supported ( #11417 )
...
(cherry picked from commit bc4c5c5a97
)
Co-authored-by: Jack May <jack@solana.com >
v1.2.20
2020-08-06 15:00:51 +00:00
277e402d55
Update lib.rs
...
(cherry picked from commit 5a63c9d535
)
2020-08-06 07:58:01 -07:00
0ab8312b23
Enable cross program support in mainnet-beta epoch 63
...
(cherry picked from commit c9b1d08218
)
2020-08-06 07:58:01 -07:00
bc4c5c5a97
Realloc not supported
2020-08-06 07:57:23 -07:00
1a9aa78129
Force program address off the curve (bp #11323 ) ( #11397 )
...
* Force program address off the curve (#11323 )
(cherry picked from commit 03263c850a
)
* nudge
* trailing whitespace
Co-authored-by: Jack May <jack@solana.com >
Co-authored-by: Trent Nelson <trent@solana.com >
2020-08-06 09:46:35 +00:00
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
0a4a3fd37e
Cargo.lock
2020-08-05 23:15:28 -07:00
66242eab41
Long-term ledger storage with BigTable (bp #11222 )
2020-08-05 23:15:28 -07:00
7f0d4f0656
Bump version to 1.2.20
2020-08-05 22:06:02 -06:00
acba8d6026
Mark token-specific rpcs as unstable ( #11401 )
...
(cherry picked from commit 7430896c79
)
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-06 03:59:28 +00:00
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.
v1.2.19
2020-08-06 00:32:08 +00:00
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
74cdfc2213
Fall back to root if highest_confirmed_slot bank does not exist ( #11390 )
2020-08-05 22:08:20 +00:00
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 >
v1.2.18
2020-08-05 17:03:09 +00:00
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
c14f98c6fc
Rework parsed account format ( #11372 ) ( #11380 )
...
* Rework parsed account format
* Serialize as type
(cherry picked from commit 308186da79
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-05 08:21:08 +00:00
c6edfc3944
Update instruction encoding format ( #11363 ) ( #11379 )
...
* Rework parsed instruction format
* Rework parsed message accounts
* Review comments
(cherry picked from commit 9d4f9be1fe
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-05 08:21:02 +00:00
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
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
53bb826375
Make accounts explicit in unrecognized jsonParsed instructions ( #11351 ) ( #11352 )
...
(cherry picked from commit 3f6f1adb5b
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-03 21:50:57 +00:00
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
f06a4c7861
Update spl-token and spl-memo
2020-08-02 07:53:46 -07:00
0cae099d12
Bump version to v1.2.18
2020-08-01 21:15:25 -07:00
4bc3653906
Remove move more
v1.2.17
2020-08-01 17:51:59 -07:00
3e7050983a
Remove move_loader and librapay ( #11184 )
...
* Remove move_loader and librapay
* Remove Embedding Move from implemented proposals
* Remove Move variant from CI
* Remove move_loader ID
2020-08-01 17:51:59 -07:00
9f1bb75445
Upgrade ed25519-dalek ( #11183 )
2020-08-01 17:51:59 -07:00
139bb32dba
Bump version to 1.2.17
2020-08-01 07:14:47 +00:00
158f6f3725
Test off curve pubkey (bp #11299 ) ( #11317 )
...
* Allow inspection of signature verification failures
(cherry picked from commit 251f974b50
)
* Test that off-curve pubkeys fail signature verify
(cherry picked from commit c421d7f1b8
)
Co-authored-by: Trent Nelson <trent@solana.com >
v1.2.16
2020-07-31 23:39:56 +00:00
e33f9ea6b5
Withdraw authority no longer implies a custodian ( #11302 )
...
* Withdraw authority no longer implies a custodian
Before this change, if the withdraw authority and custodian had
the same public key, then a withdraw authority signature would
imply a custodian signature and lockup would be not be enforced.
After this change, the client's withdraw instruction must
explictly reference a custodian account in its optional sixth
account argument.
Likewise, the fee-payer no longer implies either a withdraw
authority or custodian.
* Fix test
The test was configuring the stake account with the fee-payer as
the withdraw authority, but then passing in a different key to
the withdraw instruction's withdraw authority parameter. It only
worked because the second transaction was signed by the fee-payer.
2020-07-31 17:18:23 -06:00
473037db86
Remove WithSigner ( #10325 )
2020-07-31 17:18:23 -06:00
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
782a549613
Enable new fork choice on mainnet, 400_000 slots into epoch 61 ( #11312 ) ( #11319 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit d7e961dac4
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-31 22:13:23 +00:00
c805f7dc4e
Decode token instructions (bp #11281 ) ( #11313 )
...
* Decode token instructions (#11281 )
* Token->SplToken
* Add spl_token instruction parsing
* Rebase on master
* Gracefully fail key len mismatches
(cherry picked from commit 0f551d4f75
)
# Conflicts:
# Cargo.lock
# transaction-status/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-31 21:11:58 +00:00
782829152e
Update perf libs to 0.19.1 ( #11301 ) ( #11310 )
...
* fix for cuda sigverify check for small order pubkey
(cherry picked from commit 1733f6c9e9
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-31 17:27:13 +00:00
da6f09afb8
Build programs with --no-default-features --features program
to match solana-sdk ( #11308 )
...
(cherry picked from commit 52575349dc
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-31 17:14:05 +00:00
004b1b9c3f
Add Vote Account Management Doc ( #11278 ) ( #11300 )
...
* Add vote account management doc
* Add links to new doc
* Whitespace
* Fixup language
* Cleaner title
* Apply review feedback
* Apply further feedback
* Fix usage page header
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit a5b6fd3d9b
)
Co-authored-by: Dan Albert <dan@solana.com >
2020-07-31 02:59:07 +00:00
2f8d0f88d6
Avoid spl-sdk dependency, which inhibits crate publishing
2020-07-31 00:05:13 +00:00
177d241160
use replace value
2020-07-30 12:22:21 -07:00
5323622842
Bump version to 1.2.16
2020-07-30 10:55:09 -06:00
c852923347
Reject unsigned transactions sent via RPC (bp #11282 ) ( #11287 )
...
* Add failing test for TX sent via RPC with no signatures
(cherry picked from commit b962b2ce2d
)
* Dereplicode send_transaction and request_airdrop RPC handlers
(cherry picked from commit a7079e4dde
)
* Add new RPC error for TXs with no signatures
(cherry picked from commit 9778fedd7a
)
* Reject TXs sent via RPC with no signatures
(cherry picked from commit a888f2f516
)
Co-authored-by: Trent Nelson <trent@solana.com >
v1.2.15
2020-07-30 08:17:43 +00:00
5dc4410d58
Disable cross-program invocations for OperatingMode::Stable (bp #11272 ) ( #11280 )
...
* Disable cross-program invocations for OperatingMode::Stable (#11272 )
(cherry picked from commit 2dbed80e48
)
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
# programs/bpf_loader/src/lib.rs
# runtime/src/message_processor.rs
# sdk/src/entrypoint_native.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-07-30 05:50:47 +00:00
da4642d634
Fix wallet links ( #11284 ) ( #11285 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit e8c0ec53e6
)
Co-authored-by: Dan Albert <dan@solana.com >
2020-07-30 05:19:33 +00:00
a264be1791
Download and install SPL programs in run.sh/multinode-demo/docker (bp #11271 ) ( #11275 )
...
* Add --bpf-program argument
(cherry picked from commit 8eb6cbf784
)
* Fetch and install SPL programs by default
(cherry picked from commit 3a1ca4efff
)
* .sh
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-29 22:42:04 +00:00
9aff121949
Add top level link to Clusters page ( #11276 ) ( #11277 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit cd043b5d70
)
Co-authored-by: Dan Albert <dan@solana.com >
2020-07-29 21:40:55 +00:00
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
11e43e1654
Bump version to 1.2.15
2020-07-29 06:59:27 +00:00