b9f46fd904
Fix assertion failure ( #11572 ) ( #11590 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 473b5249e3
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-12 20:19:54 +00:00
39f2d346b8
Fix typo: epoch => slot... ( #11573 ) ( #11580 )
...
(cherry picked from commit 51e818ad64
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-12 09:27:01 +00:00
4a27bfa2fe
Bump version to 1.3.3
2020-08-12 00:43:50 +00:00
69e53ec92a
Gossip log ( #11555 ) ( #11562 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 1b238dd63e
)
Co-authored-by: carllin <wumu727@gmail.com >
v1.3.2
2020-08-11 22:55:18 +00:00
b8ac76066c
Move cluster slots update to separate thread ( #11523 ) ( #11558 )
...
* Add cluster_slots_service
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 7ef50a9352
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-11 21:24:34 +00:00
1a1d7744bd
Add getTokenLargestAccounts to docs ( #11560 ) ( #11564 )
...
(cherry picked from commit 697a0e2947
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-11 21:21:35 +00:00
61af485732
filter out old gossip pull requests ( #11448 ) ( #11553 )
...
* 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:42:32 +00:00
6a60d7bf8e
Adapt RpcClient to recent token method changes ( #11519 ) ( #11548 )
...
* Avoid skip_serializing_if since that breaks deserialization
* Adapt RpcClient to recent token method changes
(cherry picked from commit 17645ee20c
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-11 17:31:57 +00:00
53e917b54f
Fix bad rent in Bank::deposit as if since epoch 0 ( #10468 ) ( #11539 )
...
* Fix bad rent in Bank::deposit as if since epoch 0
* Remove redundant predicate
* Rename
* Start to add tests with some cleanup
* Forgot to add refactor code...
* Enchance test
* Really fix rent timing in deposit with robust test
* Simplify new behavior by disabling rent altogether
(cherry picked from commit 6c242f3fec
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-11 16:20:06 +00:00
4d49c99ac9
Fix simulateTransaction JSON-RPC docs ( #11533 ) ( #11535 )
...
(cherry picked from commit f12fc66a69
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-08-11 10:26:20 +00:00
83597a5ce1
Fix solana CLI deploy ( #11520 ) ( #11530 )
...
* Refresh blockhash for program writes and finalize transactions
* Refactor to use current api, eliminating an rpc call
* Review comment
(cherry picked from commit c0d6761f63
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-11 09:52:11 +00:00
1589a41178
Add config param to specify offset/length for single and program account info (bp #11515 ) ( #11518 )
...
* 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:
# cli/src/cli.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-11 00:03:18 +00:00
23a381b995
Fix parsing of spl-token Mint ( #11512 ) ( #11514 )
...
* Add failing test
* Fix jsonParsed mint
(cherry picked from commit da210ddd51
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-10 21:51:20 +00:00
eb7ac42b2e
Return account data size with parsed accounts ( #11506 ) ( #11511 )
...
(cherry picked from commit 1925b0bd0b
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-10 20:09:13 +00:00
88cf5e79f5
Unified signature for create_program_address ( #11460 ) ( #11509 )
...
(cherry picked from commit 140b2392f6
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-10 18:31:51 +00:00
520453e1f3
Blockstore address signatures: handle slots that cross primary indexes, and refactor get_confirmed_signatures_for_address2 ( #11497 ) ( #11508 )
...
* Freeze address-signature index in the middle of slot to show failure case
* Secondary filter on signature
* Use AddressSignatures iterator instead of manually decrementing slots
* Remove unused method
* Add metrics
* Add transaction-status-index doccumentation
(cherry picked from commit de5fb3ba0e
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-10 17:43:00 +00:00
27815555a1
Fallback to base64 account encoding if json parse fails ( #11483 ) ( #11488 )
...
* Fallback to base64 account encoding if json parse fails
* Remove default binary conversion
(cherry picked from commit ebc45bd73f
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-08-09 16:15:09 +00:00
3e483314b6
Decode native-program and sysvar accounts (bp #11463 ) ( #11485 )
...
* 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
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-09 09:18:17 +00:00
8a67504578
Add Binary64 option for account data ( #11474 ) ( #11481 )
...
* Add Binary64 option for account data
* Decode into binary64
* Reword docs
(cherry picked from commit 068d23f298
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-08-09 06:50:24 +00:00
a1b238280b
Return delegated amount as UiTokenAmount ( #11475 ) ( #11477 )
...
* Return delegated amount as UiTokenAmount
* Omit delegate and delegatedAmount when none
(cherry picked from commit 88d8d3d02a
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-09 00:01:01 +00:00
f9e07f575e
Bump version to v1.3.2
2020-08-08 06:26:20 +00:00
c8bad57455
Bump version to v1.3.1
v1.3.1
2020-08-07 19:21:41 -06:00
71654c0457
Fix cbindgen compatibility ( #11455 ) ( #11459 )
...
(cherry picked from commit 5a7e99f283
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-07 23:44:49 +00:00
f9d6fb48a4
Send votes from banking stage to vote listener ( #11434 ) ( #11454 )
...
* Send votes from banking stage to vote listener
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 7e25130529
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-07 19:45:40 +00:00
fa9aa0a1d7
Token Accounts: return ui_amount, decimals with decoded account ( #11407 ) ( #11453 )
...
* 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
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-07 19:05:35 +00:00
9758ebfc99
Only run web3.js/explorer CI when targeting master branch ( #11440 )
...
(cherry picked from commit a3165c6a61
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-08-07 06:24:42 +00:00
8be23a2bb2
Add address-based lower bound to get_confirmed_signatures_for_address2 loop ( #11426 ) ( #11432 )
...
(cherry picked from commit 5530ee4c95
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
v1.3.0
2020-08-07 00:06:44 +00:00
4ff9a6910d
Fix blockstore empty panic ( #11423 ) ( #11430 )
...
* 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
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-06 23:39:01 +00:00
fd192e3641
Link fix ( #11368 ) ( #11425 )
...
* fixes logo
* cleans up homepage on docs
* adds icon files and tightens margins
* cleans up sidenav, adds top nav items
* fixes a link
* removes icon files
Co-authored-by: Dan Albert <dan@solana.com >
(cherry picked from commit 14dcaaee6c
)
Co-authored-by: Raj Gokal <rajivgokal@gmail.com >
2020-08-06 19:37:04 +00:00
a8de467ef8
Realloc not supported ( #11418 )
...
(cherry picked from commit bc4c5c5a97
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-06 16:24:14 +00:00
1a186beb5c
Update lib.rs
...
(cherry picked from commit 5a63c9d535
)
2020-08-06 07:58:05 -07:00
66a21ed65e
Enable cross program support in mainnet-beta epoch 63
...
(cherry picked from commit c9b1d08218
)
2020-08-06 07:58:05 -07:00
1a42a40492
RPC: Plug getConfirmedSignaturesForAddress2 into bigtable storage (bp #11395 ) ( #11406 )
...
* Plug getConfirmedSignaturesForAddress2 into bigtable storage
(cherry picked from commit 4222932e08
)
* Upgrade help description
(cherry picked from commit 9abb7db5f8
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-06 07:14:46 +00:00
5841e4d665
Long-term ledger storage with BigTable (bp #11222 ) ( #11392 )
...
* ledger-storage-bigtable boilerplate
(cherry picked from commit 9d2293bb32
)
* $ wget https://pki.goog/roots.pem -O pki-goog-roots.pem
(cherry picked from commit 1617a025ce
)
* Add access_token module
(cherry picked from commit 59d266a111
)
* Add root_ca_certificate
(cherry picked from commit faa016e4b7
)
* Add build-proto
(cherry picked from commit c31e1f5bf0
)
* UiTransactionEncoding is now copy
(cherry picked from commit 494968be66
)
* Increase timeout
(cherry picked from commit 57dfebc5ba
)
* Add build-proto/build.sh output
(cherry picked from commit 54dae6ba2c
)
* Supress doctest errors
(cherry picked from commit 019c75797d
)
* Add compression
(cherry picked from commit 243e05d59f
)
* Add bigtable
(cherry picked from commit 6e0353965a
)
* Add configuration info
(cherry picked from commit 98cca1e774
)
* Add ledger-tool bigtable subcommands
(cherry picked from commit f9049d6ee4
)
# Conflicts:
# ledger-tool/Cargo.toml
* Make room for tokio 0.2
(cherry picked from commit b876fb84ba
)
# Conflicts:
# core/Cargo.toml
* Setup a tokio 0.2 runtime for RPC usage
(cherry picked from commit 0e02740565
)
# Conflicts:
# core/Cargo.toml
* Plumb Bigtable ledger storage into the RPC subsystem
(cherry picked from commit dfae9a9864
)
# Conflicts:
# core/Cargo.toml
* Add RPC transaction history design
(cherry picked from commit e56ea138c7
)
* Simplify access token refreshing
(cherry picked from commit 1f7af14386
)
* Report block status more frequently
(cherry picked from commit 22c46ebf96
)
* after -> before
(cherry picked from commit 227ea934ff
)
* Rebase
* Cargo.lock
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-06 04:06:44 +00:00
6542a04521
Mark token-specific rpcs as unstable ( #11402 )
...
(cherry picked from commit 7430896c79
)
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-06 04:00:18 +00:00
5c27009758
Force program address off the curve ( #11323 ) ( #11398 )
...
(cherry picked from commit 03263c850a
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-06 01:00:42 +00:00
888f3522d8
Add getConfirmedSignaturesForAddress2 RPC method (bp #11259 ) ( #11394 )
...
* Add getConfirmedSignaturesForAddress2 RPC method
(cherry picked from commit 1b2276520b
)
* 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
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-05 22:47:50 +00:00
df820ddb6d
Omit web3.js examples when incrementing Cargo.toml versions
2020-08-05 12:04:15 -06:00
bbb8754b59
Remove update notice
2020-08-05 16:27:32 +00:00
5816ed5369
chore:(deps): bump @types/react-select in /explorer ( #11383 )
...
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select ) from 3.0.15 to 3.0.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-select )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-05 11:05:00 +00:00
31513fab14
chore:(deps): bump @testing-library/react in /explorer ( #11382 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 10.4.7 to 10.4.8.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v10.4.7...v10.4.8 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-05 09:53:08 +00:00
d44e8ce914
chore:(deps): bump bootstrap from 4.5.0 to 4.5.1 in /explorer ( #11381 )
...
Bumps [bootstrap](https://github.com/twbs/bootstrap ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/twbs/bootstrap/releases )
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.0...v4.5.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-05 09:49:38 +00:00
308186da79
Rework parsed account format ( #11372 )
...
* Rework parsed account format
* Serialize as type
2020-08-05 00:59:10 -06:00
9d4f9be1fe
Update instruction encoding format ( #11363 )
...
* Rework parsed instruction format
* Rework parsed message accounts
* Review comments
2020-08-05 00:58:58 -06:00
86e3f96f16
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
2020-08-05 06:48:09 +00:00
14339dec0a
Harden RPC preflight test inputs
2020-08-05 06:06:57 +00:00
29b3265dc7
Sanitize transactions during RPC preflight test
2020-08-05 06:06:57 +00:00
3f73affb2e
Add From for SanitizeError > TransactionError
2020-08-05 06:06:57 +00:00
e25846e1ad
Add failing test for unsane tx in RPC preflight
2020-08-05 06:06:57 +00:00
d4df2ac673
Keep .DS_Store out of the tree
2020-08-04 16:34:45 -07:00