Tyera Eulberg
e52e6dfbaa
v1.4: Improve monitoring of timestamp correction and bounding ( #13655 )
...
* Include rejuvenated field in Clock parsing
* Expand timestamp-correction logging info
2020-11-17 14:46:30 -07:00
mergify[bot]
181ff3d13e
Update Initialized split rent-exempt value ( #13646 ) ( #13653 )
...
(cherry picked from commit 39932d7664 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-17 20:43:30 +00:00
mergify[bot]
195ce0ed79
Remove overflow opportunities ( #13649 ) ( #13651 )
...
(cherry picked from commit a7bed62af0 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-17 20:26:06 +00:00
mergify[bot]
b24e301201
helloworld no longer supports program feature ( #13645 ) ( #13648 )
...
(cherry picked from commit df1f53950e )
Co-authored-by: Jack May <jack@solana.com >
2020-11-17 18:08:48 +00:00
Michael Vines
fb492efda8
Add RpcClient::new_with_commitment()
...
(cherry picked from commit c5299b60ed )
2020-11-17 09:14:25 -08:00
mergify[bot]
c40216350c
Add back BPF error logging ( #13633 ) ( #13639 )
...
* Add back BPF error logging
* Update programs/bpf_loader/src/lib.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 3a9dca0c67 )
Co-authored-by: Jack May <jack@solana.com >
2020-11-17 09:33:58 +00:00
mergify[bot]
d031bbcf2e
Quiet notification logs when no subscriptions ( #13629 ) ( #13637 )
...
(cherry picked from commit 3e4acba72f )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-17 08:26:15 +00:00
mergify[bot]
c183c3a5ec
Improve TestValidator instantiation (bp #13627 ) ( #13635 )
...
* Improve TestValidator instantiation (#13627 )
* Add TestValidator::new_with_fees constructor, and warning for low bootstrap_validator_lamports
* Add logging to solana-tokens integration test to help catch low bootstrap_validator_lamports in the future
* Reasonable TestValidator mint_lamports
(cherry picked from commit ef99689592 )
# Conflicts:
# tokens/Cargo.toml
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-11-17 01:08:58 -07:00
mergify[bot]
f04d4af4f2
Default preflight_commitment to confirmation commitment ( #13632 )
...
(cherry picked from commit c2f77a3473 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-17 07:31:35 +00:00
mergify[bot]
ea0a3521ed
Fix assertion failure ( #13626 ) ( #13631 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit afc1b59475 )
Co-authored-by: carllin <wumu727@gmail.com >
2020-11-17 07:01:10 +00:00
mergify[bot]
a75898a415
Remove program cap from CLI checks (bp #13617 ) ( #13622 )
...
* Remove program cap from CLI checks (#13617 )
(cherry picked from commit 64a3cf03e2 )
# Conflicts:
# cli/src/cli.rs
* Fix conflict
Co-authored-by: Jack May <jack@solana.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-11-17 05:23:32 +00:00
mergify[bot]
a77fce465a
run.sh: Use default client keypair for the faucet (bp #13614 ) ( #13618 )
...
* Use default client keypair if --keypair argument is not provided
(cherry picked from commit e9e5ee4362 )
# Conflicts:
# faucet/Cargo.toml
* Use default client keypair if --faucet-keypair is not provided
(cherry picked from commit 4069e7b663 )
# Conflicts:
# genesis/Cargo.toml
* Cargo.lock
(cherry picked from commit ab5814cd90 )
# Conflicts:
# Cargo.lock
* Use default client keypair for faucet to avoid the need for airdrops
(cherry picked from commit b5820f9325 )
* Fix conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-11-17 02:23:01 +00:00
mergify[bot]
719f162229
Reject faked stake/vote accounts in stake mgmt. ( #13615 ) ( #13621 )
...
* Reject faked stake/vote accounts in stake mgmt.
* Use clearer name
(cherry picked from commit 2b3faa1947 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-16 23:19:54 +00:00
mergify[bot]
a39cc8d21f
Build more of the SPL repo in CI ( #13619 )
...
(cherry picked from commit e5f4442325 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-16 20:56:23 +00:00
Michael Vines
87767b181d
Document feature-set field in getVersion
2020-11-15 18:03:06 -08:00
mergify[bot]
88b19e10cb
ledger-tool cap: delegation owner and stake v2 flag ( #13602 ) ( #13607 )
...
* Output delegation owner as well
* Add --enable-stake-program-v2
* Small cleanup and add sanity assertion
* Fix typo...
(cherry picked from commit bcd303a447 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-15 20:55:14 +00:00
mergify[bot]
b42cda32ff
packs more crds-values in a single gossip packet ( #13500 ) ( #13604 )
...
split_gossip_messages:
https://github.com/solana-labs/solana/blob/a97c04b40/core/src/cluster_info.rs#L1536-L1574
splits crds-values into chunks to fit into a gossip packet. However it is
using a global upper-bound for the header-size across all protocols:
https://github.com/solana-labs/solana/blob/a97c04b40/core/src/cluster_info.rs#L90-L93
This can be wasteful as the specific gossip protocol can have smaller
header than this upper-bound (e.g. Protocol::PushMessage is 170 bytes
smaller). Adding more crds-values in one gossip packet can avoid the
overheads of separate packets and reduce total number of bytes sent over
the wire.
This commit updates the splitting function to take a max-chunk-size
argument. At call-site, this value is set to the size of the protocol
which the values are sent over.
(cherry picked from commit 5e8490ab9d )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-11-15 19:49:18 +00:00
mergify[bot]
2344391c48
indexes nodes' contact infos in crds table ( #13553 ) ( #13601 )
...
In several places in gossip code, the entire crds table is scanned only
to filter out nodes' contact infos. Currently on mainnet, crds table is
of size ~70k, while there are only ~470 nodes. So the full table scan is
inefficient. Instead we may maintain an index of only nodes' contact
infos.
(cherry picked from commit cbea9ebc34 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-11-15 17:58:39 +00:00
mergify[bot]
207d13e429
Disable the PubSub vote subscription by default ( #13600 )
...
The --rpc-pubsub-enable-vote-subscription flag may be used to enable it.
The current vote subscription is problematic because it emits a
notification for *every* vote, so hundreds a second in a real cluster.
Critically it's also missing information about *who* is voting,
rendering all those notifications practically useless.
Until these two issues can be resolved, the vote subscription is not
much more than a potential DoS vector.
(cherry picked from commit 5d72e52ad0 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-14 22:06:38 +00:00
mergify[bot]
360f166f5a
Add counter metrics to rpc-subscriptions ( #13596 ) ( #13598 )
...
(cherry picked from commit 88ae321d3f )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-14 21:09:43 +00:00
Michael Vines
b4deeb8e36
Add stable program logging for BPF and native programs
2020-11-14 08:26:54 -08:00
Trent Nelson
b3e1fde8b2
Revert "Release: Omit spl-token CLI binary"
...
This reverts commit 67c36f8680 .
2020-11-14 01:56:36 +00:00
Trent Nelson
b838aba840
Bump version to 1.4.9
2020-11-13 17:50:10 -07:00
Trent Nelson
c8b3d0ba07
Release: Omit spl-token CLI binary
...
Required to work around yanked ouroboros crate release
2020-11-13 17:37:29 -07:00
mergify[bot]
e7106278e9
add missing c logging stubs ( #13511 ) ( #13515 )
...
(cherry picked from commit 23c558510a )
Co-authored-by: Jack May <jack@solana.com >
2020-11-13 22:14:05 +00:00
mergify[bot]
63cf168fef
Send pubsub metrics to metrics server ( #13584 ) ( #13586 )
...
(cherry picked from commit 34bf80ba9c )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-13 20:56:04 +00:00
mergify[bot]
71ea198a07
Stop searching for incorrect shred version after a minute ( #13512 ) ( #13582 )
...
(cherry picked from commit c1f3f9d27b )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-11-13 18:01:16 +00:00
mergify[bot]
f6b65b033e
Fix overflow in entry tick verification (bp #13572 ) ( #13581 )
...
* Fix overflow in entry hash count verification
(cherry picked from commit d611337394 )
* clippy
(cherry picked from commit 01a4889b53 )
Co-authored-by: Justin Starry <justin@solana.com >
2020-11-13 16:49:05 +00:00
mergify[bot]
0311ad5ddf
Small cleaning update_epoch_stakes ( #13576 ) ( #13578 )
...
(cherry picked from commit c97a7d1105 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-13 12:40:51 +00:00
mergify[bot]
f5454e62a1
Fix potential undefined behavior ( #13555 ) ( #13575 )
...
* Switch to ouroboros 0.5.1
* Update other lock files
(cherry picked from commit a8a77614fe )
Co-authored-by: joshua-maros <60271685+joshua-maros@users.noreply.github.com >
2020-11-13 10:40:10 +00:00
mergify[bot]
89ea4dfa8b
ip-echo-server: Don't use framed decoder, it can't be read-limited ( #13571 )
...
(cherry picked from commit 6dc735e996 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-11-13 09:22:27 +00:00
mergify[bot]
fefcfdba80
--gossip-host may now be specified with --entrypoint ( #13567 )
...
(cherry picked from commit 328f59ebef )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-13 07:49:02 +00:00
mergify[bot]
1072bd7640
Add --offline flag ( #13564 )
...
(cherry picked from commit 9f95704706 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-13 05:18:44 +00:00
mergify[bot]
a7280f117a
fix bpf lddw check ( #13554 ) ( #13558 )
...
(cherry picked from commit 30ef53cb13 )
Co-authored-by: Jack May <jack@solana.com >
2020-11-12 22:35:13 +00:00
mergify[bot]
d46a19098a
Bound ip-echo-server reply read (bp #13543 ) ( #13546 )
...
* ip-echo-server: Name the header length magic number
(cherry picked from commit aab5f24518 )
* ip-echo-server: Add helper to compute reply length
(cherry picked from commit 7481ba5618 )
* ip-echo-server: Limit socket read to expected reply length
(cherry picked from commit d2cfeb31b9 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-11-12 19:26:26 +00:00
mergify[bot]
44fffcbb1c
filters out offline nodes from pull options ( #13533 ) ( #13551 )
...
Inactive nodes are still observing incoming gossip traffic:
https://discord.com/channels/428295358100013066/670512312339398668/776140351291260968
likely because of pull-requests.
Previous related issues and commits:
https://github.com/solana-labs/solana/issues/12409
https://github.com/solana-labs/solana/pull/12620
https://github.com/solana-labs/solana/pull/12674
This commit implements same logic as
https://github.com/solana-labs/solana/pull/12674
to exclude inactive nodes from pull options, with the same periodic
retry logic for offline staked nodes in order to mitigate eclipse
attack.
(cherry picked from commit 4e4e12b384 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-11-12 18:43:04 +00:00
Ryo Onodera
e14c2f94f4
Bump version to v1.4.8 ( #13552 )
2020-11-12 17:43:31 +00:00
mergify[bot]
437c356626
Discard pre hard fork persisted tower if hard-forking ( #13536 ) ( #13550 )
...
* Discard pre hard fork persisted tower if hard-forking
* Relax config.require_tower
* Add cluster test
* nits
* Remove unnecessary check
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit 9821a7754c )
Co-authored-by: carllin <wumu727@gmail.com >
2020-11-12 15:43:43 +00:00
Michael Vines
fd68f8ba2e
program-test now generates new blockhashes for test usage
2020-11-11 20:29:20 -08:00
Jack May
2374664e95
Custom heap is BPF only ( #13537 )
2020-11-11 16:37:18 -08:00
mergify[bot]
2cb9ca5966
Fix slow/stuck unstaking due to toggling in epoch ( #13501 ) ( #13535 )
...
* Fix slow/stuck unstaking due to toggling in epoch
* nits
* nits
* Add stake_program_v2 feature status check to cli
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit 89b474e192 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-11 22:27:10 +00:00
mergify[bot]
4f247a232f
Validator: Periodically log what we're waiting for during --wait-for-supermajority ( #13531 )
...
(cherry picked from commit 38f15e41b5 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-11-11 21:29:50 +00:00
mergify[bot]
15a2c73826
Use a non-zero fee_calculator for a more realistic test environment ( #13525 )
...
(cherry picked from commit 58724cb687 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-11 09:59:57 +00:00
Josh
d23f1436c5
docs: add log messages to json-rpc docs ( #13317 )
2020-11-11 00:43:32 -08:00
mergify[bot]
70c87d1a23
Add stubs and heap region definitions ( #13521 ) ( #13523 )
...
* Add stubs and heap region definitions
* nudge
(cherry picked from commit e390c8cb7f )
Co-authored-by: Jack May <jack@solana.com >
2020-11-11 06:48:02 +00:00
mergify[bot]
053ce10ce5
Refactor function ( #13294 ) ( #13520 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit 2c2432fddc )
Co-authored-by: carllin <wumu727@gmail.com >
2020-11-11 04:07:51 +00:00
mergify[bot]
055eb360c2
Add printf declaration ( #13514 ) ( #13518 )
...
(cherry picked from commit 9ca8e98525 )
Co-authored-by: Jack May <jack@solana.com >
2020-11-11 01:50:42 +00:00
mergify[bot]
25cd1ceeeb
Fix parsing CreateAccountWithSeed instructions ( #13513 ) ( #13517 )
...
* Reduce required num_system_accounts and handle 2-account instructions properly
* Update CreateAccountWithSeed account docs to be correct
* Add CreateAccountWithSeed test
(cherry picked from commit 91f4e99b4c )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-11 01:13:12 +00:00
mergify[bot]
52ee3b1cee
watchtower: Fix all clear duration message ( #13510 )
...
(cherry picked from commit 2a96e722b4 )
Co-authored-by: Justin Starry <justin@solana.com >
2020-11-10 19:11:51 +00:00
mergify[bot]
bbadcca414
Bump token version fetched for localnet ( #13490 ) ( #13506 )
...
(cherry picked from commit 3282334741 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-10 18:04:15 +00:00
mergify[bot]
e9eba97299
Fix signature access ( #13491 ) ( #13503 )
...
(cherry picked from commit 70c4626efe )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-11-10 17:53:43 +00:00
mergify[bot]
920b63944e
Make testnet section less ambiguous ( #13504 ) ( #13508 )
...
(cherry picked from commit 599dae8f09 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-10 17:12:57 +00:00
mergify[bot]
8104895a07
Send RPC notification when account is deleted ( #13440 ) ( #13496 )
...
* Send RPC notification when account is deleted
* Remove unwrap
(cherry picked from commit a97c04b400 )
Co-authored-by: Justin Starry <justin@solana.com >
2020-11-10 13:07:51 +00:00
Tyera Eulberg
c9e646b86b
Bump version to v1.4.7 ( #13488 )
2020-11-10 05:55:26 +00:00
mergify[bot]
7c47db1e3d
align cluster and sim logging as hex ( #13484 ) ( #13486 )
...
(cherry picked from commit c280d40b40 )
Co-authored-by: Jack May <jack@solana.com >
2020-11-10 03:58:19 +00:00
mergify[bot]
c619e9b560
Docs update rpc getaccountinfo (bp #13483 ) ( #13487 )
...
* docs: Wrap RPC `getAccountInfo` at 80 char
(cherry picked from commit 1d7c00c915 )
* docs: Consistently use "jsonParsed" param for RPC `getAccountInfo`
(cherry picked from commit 87924c7111 )
* docs: Consistent used of "jsonParsed" throughout RPC reference
(cherry picked from commit fb815294b3 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-11-10 03:41:26 +00:00
Tyera Eulberg
ccd48923a0
Fix Bank accounts hash mismatch related to Clock::unix_timestamp ( #13477 ) ( #13485 )
...
* Test for different ancestors with mismatch bank hash
* Test cleanup
* Remove nondeterministic ancestor check
* Update timestamp bounding feature key
* Update design doc
* Filter recent_timestamps to nodes voting within the last epoch
Co-authored-by: Stephen Akridge <sakridge@gmail.com >
Co-authored-by: Stephen Akridge <sakridge@gmail.com >
2020-11-10 03:35:22 +00:00
mergify[bot]
4e797cc867
Clean up Delegation::stake_activating_and_deactivating ( #13471 ) ( #13473 )
...
(cherry picked from commit 5306eb93cc )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-09 09:57:32 +00:00
mergify[bot]
9627bfced3
propagates errors out of Packet::from_data ( #13445 ) ( #13470 )
...
Packet::from_data is ignoring serialization errors:
https://github.com/solana-labs/solana/blob/d08c3232e/sdk/src/packet.rs#L42-L48
This is likely never useful as the packet will be sent over the wire
taking bandwidth but at the receiving end will either fail to
deserialize or it will be invalid.
This commit will propagate the errors out of the function to the
call-site, allowing the call-site to handle the error.
(cherry picked from commit 73ac104df2 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-11-08 16:25:36 +00:00
mergify[bot]
f823b10597
Clean up Delegation::stake_and_activating ( #13460 ) ( #13469 )
...
(cherry picked from commit 737d3e376d )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-08 09:47:47 +00:00
mergify[bot]
c9e56c9749
Output more inflation calc details in ledger-tool ( #13345 ) ( #13467 )
...
* Output more inflation calc details in ledger-tool
* Fix broken ci...
* Rename confusing variables
* Fix panic by wrapping PointValue with Opiton...
* Minor modifications
* Remove explict needless flush; Drop already does
* Yet another csv field adjustments
* Add data_size and rename epochs to earned_epochs
* Introduce null_tracer
* Unwrap Option in new_from_parent_with_tracer
* Don't shorten identifiers
* Allow irrefutable_let_patterns temporalily
* More null_tracer
* More field adjustments
(cherry picked from commit a81e7e7749 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-08 09:01:36 +00:00
Michael Vines
da7482d631
Add PATH to GNU readlink
2020-11-07 11:28:28 -08:00
Michael Vines
97650c7f37
Install coreutils on osx for 'readlink -f' support
2020-11-06 23:01:32 -08:00
Michael Vines
e738bf1c9a
Bump version to v1.4.6
2020-11-07 02:49:14 +00:00
Trent Nelson
afebb2a8a5
CLI: Make clear that nonce account 'Nonce' field is a blockhash
...
(cherry picked from commit b4790120cb )
2020-11-06 17:19:52 -08:00
mergify[bot]
4e4fd03b65
Add builtin mem tests (bp #13429 ) ( #13437 )
...
* Add builtin mem tests (#13429 )
(cherry picked from commit 84b139cc94 )
* resolve crate version
* nudge
Co-authored-by: Jack May <jack@solana.com >
2020-11-07 01:15:35 +00:00
mergify[bot]
049ca18dc5
Fix stake split rent-exempt adjustment ( #13357 ) ( #13453 )
...
* Add failing tests
* Fix stake split
* Calculate split rent-exempt-reserve and use
* Add comment in rent.rs
* Add tests for edge cases when splitting to larger accounts, and reject overflow splits
* Reframe InsufficientFunds checks in terms of lamports var
* Test hardening review comments
(cherry picked from commit 4c5f345798 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-06 22:05:57 +00:00
mergify[bot]
495c64556e
cargo-build-bpf/cargo-test-bpf now support --workspace/--all ( #13451 )
...
(cherry picked from commit 0ea795caa8 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-06 21:43:12 +00:00
mergify[bot]
747e91d434
Fix stake redelegate (bp #13358 ) ( #13450 )
...
* stake: Add redelegation failing test
(cherry picked from commit 491ad59d2e )
* stake: Consider withdraws we redelegating
(cherry picked from commit fe1e08b9ad )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-11-06 20:07:46 +00:00
mergify[bot]
6d4f6e79b0
cargo-test-bpf now sets the "test-bpf" feature for crate tests ( #13447 )
...
The feature allows for tests to distinguish between `cargo test` and
`cargo test-bpf` primarily for the purpose of excluding CPI tests that
require the system program under `cargo test`, as the path to enabling
CPI in `cargo test`-based testing is unclear
(cherry picked from commit 1a70a2a25b )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-06 19:39:18 +00:00
mergify[bot]
98e9f34704
Feature-gate stake program ( #13394 ) ( #13439 )
...
* Add legacy stake-program handling
* Strip out duplicative legacy code
* Add feature for stake-program-fix
* Feature-deploy new stake program
* Expand comment
(cherry picked from commit 1b1d9f6b0c )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-06 09:25:34 +00:00
mergify[bot]
70f74174e8
program-test: Remove special case for Rent sysvar (bp #13434 ) ( #13435 )
...
* Revert "Include Rent in ProgramTest::start() output"
This reverts commit c3d2d2134c .
(cherry picked from commit 920cd5285a )
* Add get_rent()
(cherry picked from commit 9a1c1fbab8 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-06 05:24:44 +00:00
mergify[bot]
70985f82f1
CI: Check monorepo for consistent crate versions (bp #13431 ) ( #13433 )
...
* increment-cargo-version.sh: Add check subcommand
(cherry picked from commit 5d4015358a )
* CI: Check monorepo for consistent crate versions
(cherry picked from commit 7a4e293b3b )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-11-06 02:29:26 +00:00
mergify[bot]
3b2bdd9f8a
Fix duplicate records of inner instructions ( #13380 ) ( #13413 )
...
* Fix duplicate records of inner instructions
* fix tests
* fix clippy
* Remove bad_inner_instructions
(cherry picked from commit c24fbb6f8b )
Co-authored-by: Justin Starry <justin@solana.com >
2020-11-06 01:30:24 +00:00
mergify[bot]
d33ae59fbf
SPL Associated Token Account plumbing (bp #13398 ) ( #13430 )
...
* Fetch associated-program-account
(cherry picked from commit 4d553f4879 )
* Add SPL Associated Token Account Program label to explorer
(cherry picked from commit 2d24160376 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-06 00:01:31 +00:00
Michael Vines
9ead7ca11a
Define BPF_OUT_DIR for program-test, also handle -- arguments better
2020-11-05 22:42:35 +00:00
Michael Vines
dbcef35f7d
Search BPF_OUT_DIR for programs
2020-11-05 22:42:35 +00:00
Michael Vines
9e733d7d9b
Check file modification times before strip and dump
2020-11-05 22:42:35 +00:00
Michael Vines
39f1240ec2
Cargo.lock
2020-11-05 22:42:35 +00:00
Michael Vines
fa249721fa
Search for program files in 'target/deploy'
2020-11-05 22:42:35 +00:00
Michael Vines
137793cd4c
Add cargo-test-bpf
2020-11-05 22:42:35 +00:00
Michael Vines
47d8608aee
Remove unneeded .gitignore
2020-11-05 22:42:35 +00:00
mergify[bot]
ed410aea10
adds the missing slash in cargo path ( #13424 ) ( #13427 )
...
(cherry picked from commit 44b12a1594 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-11-05 22:10:06 +00:00
Jon Cinque
957dfa8f73
docs: Clarify the commitment levels based on questions ( #13387 )
...
* Clarify the commitment levels based on questions
Many people have asked about what commitment levels mean, and which to
choose. This update includes some of the language at
`sdk/src/commitment_config.rs` and a recommendation for different use
cases.
Additionally, the preflight commitment documentation was out of date,
specifying that "max" was always used, and this is no longer the case.
* Update docs/src/developing/clients/jsonrpc-api.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/developing/clients/jsonrpc-api.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/developing/clients/jsonrpc-api.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Fix typo
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
(cherry picked from commit ede891a6c6 )
2020-11-05 13:25:23 -08:00
mergify[bot]
98095b6f8d
drops older gossip packets when load shedding ( #13364 ) ( #13423 )
...
Gossip drops incoming packets when overloaded:
https://github.com/solana-labs/solana/blob/f6a73098a/core/src/cluster_info.rs#L2462-L2475
However newer packets are dropped in favor of the older ones.
This is probably not ideal as newer packets are more likely to contain
more recent data, so dropping them will keep the validator state
lagging.
(cherry picked from commit 7f4debdad5 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-11-05 18:30:00 +00:00
mergify[bot]
a2c32d7d0e
shares the lock on gossip when processing prune messages ( #13339 ) ( #13422 )
...
Processing prune messages acquires an exclusive lock on gossip:
https://github.com/solana-labs/solana/blob/55b0428ff/core/src/cluster_info.rs#L1824-L1825
This can be reduced to a shared lock if active-sets are changed to use
atomic bloom filters:
https://github.com/solana-labs/solana/blob/55b0428ff/core/src/crds_gossip_push.rs#L50
(cherry picked from commit 8f0796436a )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-11-05 17:18:22 +00:00
mergify[bot]
b15d826476
Allow feature builtins to overwrite existing builtins ( #13403 ) ( #13420 )
...
* Allow feature builtins to overwrite existing builtins
* Add feature_builtin ActivationType
* Correctly retain idempotent for replacing case
* Fix test
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
(cherry picked from commit bc62313c66 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-05 16:51:25 +00:00
mergify[bot]
ed97a2578d
measures processing time of each kind of gossip packets ( #13366 ) ( #13418 )
...
(cherry picked from commit 118ce47b97 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-11-05 16:46:25 +00:00
Justin Starry
89f61f0b41
Bump low end validator RAM requirement ( #13406 ) ( #13408 )
2020-11-05 15:24:16 +08:00
mergify[bot]
04cc9c1148
CI: Use branch-versioned cargo throughout ( #13411 )
...
(cherry picked from commit 66c3c6c2b3 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-11-05 06:25:11 +00:00
mergify[bot]
8314ab4508
Improve invoke_signed() docs ( #13405 )
...
(cherry picked from commit 8c4995b22b )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-05 01:07:24 +00:00
mergify[bot]
3a98042753
Final program ELF is now placed in ./target/deploy/ instead of . ( #13404 )
...
(cherry picked from commit 661a935075 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-05 00:19:19 +00:00
mergify[bot]
60d316c9fd
Bump spl-token and spl-memo crate versions ( #13400 )
...
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-04 23:16:41 +00:00
mergify[bot]
e324c221a6
uses thread-pool when handling push messages ( #13338 ) ( #13395 )
...
From runtime profiles, the majority time of solana-listen thread:
https://github.com/solana-labs/solana/blob/55b0428ff/core/src/cluster_info.rs#L2720
is spent handling push messages. The code here:
https://github.com/solana-labs/solana/blob/55b0428ff/core/src/cluster_info.rs#L2272-L2364
may utilize the idle gossip thread-pool.
(cherry picked from commit 10fa4f45ab )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-11-04 20:28:56 +00:00
mergify[bot]
61246999ac
Update SPL Token exchange documentation to include associated-token-account workflow ( #13397 )
...
(cherry picked from commit 97284adabb )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-04 19:57:02 +00:00
mergify[bot]
e476dc4eaa
Comment Stakes::clone_with_epoch ( #13388 ) ( #13390 )
...
(cherry picked from commit b0d1ae1d8b )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-04 12:29:13 +00:00
mergify[bot]
ee18e7668b
Refine transaction log count message ( #13378 )
...
(cherry picked from commit b5ef319038 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-04 06:44:49 +00:00
mergify[bot]
62db7f6562
Surface transaction logs in rpc client ( #13376 )
...
(cherry picked from commit 6d9ca0ae15 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-04 02:12:46 +00:00
mergify[bot]
2e9b501355
more informative feature error message ( #13373 ) ( #13375 )
...
(cherry picked from commit 04c5e6cc48 )
Co-authored-by: Jack May <jack@solana.com >
2020-11-04 01:35:22 +00:00
mergify[bot]
089a99f1e3
docs: Mainnet-beta totally has smart contract enabled ( #13369 )
...
(cherry picked from commit fefa297877 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-11-03 19:21:18 +00:00
mergify[bot]
57961b1d17
Update sol_log_compute_units ( #13360 ) ( #13363 )
...
(cherry picked from commit f6a73098a4 )
Co-authored-by: Jack May <jack@solana.com >
2020-11-03 17:28:44 +00:00
mergify[bot]
fe8b2b7850
Include Rent in ProgramTest::start() output ( #13356 )
...
(cherry picked from commit c3d2d2134c )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-03 03:12:17 +00:00
mergify[bot]
0bf45cbab6
Small code cleanup and typo fixes ( #13325 ) ( #13341 )
...
* Small code cleanup and typo fixes
* Clean up calculate_points_and_credits
(cherry picked from commit 0e4509c497 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-02 02:42:38 +00:00
Michael Vines
5877427389
Bump version to v1.4.5
2020-11-01 17:05:45 +00:00
mergify[bot]
25141288f4
Fix typos ( #13334 ) ( #13335 )
...
(cherry picked from commit af9a3f004e )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-01 07:06:46 +00:00
mergify[bot]
b28d10d46f
Add bank timestamp bounding (bp #13120 ) ( #13331 )
...
* Add bounding feature
(cherry picked from commit 96b8aa8bd1 )
* Repurpose unused as Clock::epoch_start_timestamp; add gated update
(cherry picked from commit 0049ab69fb )
* Add bounded timestamp-estimation method
(cherry picked from commit 80db6c0980 )
* Use bounded timestamp-correction when feature enabled
(cherry picked from commit 90778615f6 )
* Prevent block times from ever going backward
(cherry picked from commit eb2560e782 )
* Sample votes from ancestors back to root
(cherry picked from commit 4260b3b416 )
* Add Clock sysvar details, update struct docs
(cherry picked from commit 3a1e125ce3 )
* Add design proposal and update validator-timestamp-oracle
(cherry picked from commit a3912bc084 )
* Adapt to feature::create_account
Co-authored-by: Tyera Eulberg <tyera@solana.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-01 06:02:34 +00:00
mergify[bot]
b6dc48da75
Add solana-program-test crate (bp #13324 ) ( #13329 )
...
* MockInvokeContext::get_programs() implementation
(cherry picked from commit 8acc47ee1b )
* start_local_server() now works with Banks > 0
(cherry picked from commit fa4bab4608 )
* Add solana-program-test crate
(cherry picked from commit 52a292a75b )
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-01 05:43:43 +00:00
mergify[bot]
f2d929c12d
Move Feature struct to solana-program ( #13321 )
...
(cherry picked from commit 4b65e32f22 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-31 20:33:35 +00:00
Michael Vines
c49b89091a
cargo update -p futures-task / cargo update -p futures-util
2020-10-31 18:50:51 +00:00
Michael Vines
23fe3a86d9
Switch to dirs-next
2020-10-31 18:50:51 +00:00
Michael Vines
2f778725d6
Ignore stdweb
2020-10-31 18:50:51 +00:00
mergify[bot]
93a119a51e
Print the entry type as well when checking archive ( #13312 ) ( #13314 )
...
(cherry picked from commit bc7133d752 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-30 17:48:23 +00:00
Jack May
65a7b536c9
Update AccountInfo comments ( #13302 )
...
(cherry picked from commit 72d41e5801 )
2020-10-30 08:09:37 -07:00
mergify[bot]
1281483a8c
Fix tower/blockstore unsync due to external causes ( #12671 ) ( #13310 )
...
* Fix tower/blockstore unsync due to external causes
* Add and clean up long comments
* Clean up test
* Comment about warped_slot_history
* Run test_future_tower with master-only/master-slave
* Update comments about false leader condition
(cherry picked from commit 1df15d85c3 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-30 11:47:22 +00:00
mergify[bot]
4312841433
de-mut some InvokeContext methods (bp #13301 ) ( #13309 )
...
* de-mut some InvokeContext methods
(cherry picked from commit da9548fd12 )
* Simplify CPI interface into MessageProcessor
(cherry picked from commit 9263ae1c60 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-30 10:35:59 +00:00
mergify[bot]
b859acbfea
Upgrade tarpc and tokio (bp #13293 ) ( #13300 )
...
* Upgrade tarpc and tokio (#13293 )
(cherry picked from commit ca00197009 )
# Conflicts:
# banks-client/Cargo.toml
# banks-interface/Cargo.toml
# banks-server/Cargo.toml
* rebase
Co-authored-by: Greg Fitzgerald <greg@solana.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-30 08:05:27 +00:00
mergify[bot]
40a3885d3b
Native/builtin programs now receive an InvokeContext (bp #13286 ) ( #13298 )
...
* Native/builtin programs now receive an InvokeContext
(cherry picked from commit df8dab9d2b )
* Remove MessageProcessor::loaders
(cherry picked from commit 2664a1f7ef )
* Remove Entrypoint type
(cherry picked from commit 225bed11c7 )
* Remove programs clone()
(cherry picked from commit 33884d847a )
* Add sol_log_compute_units syscall
(cherry picked from commit 66e51a7363 )
* Add Bank::set_bpf_compute_budget()
(cherry picked from commit 7d686b72a0 )
* Rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-30 07:47:17 +00:00
Alexander Meißner
36b7c2ea97
Refactors the common code of test and bench targets into the solana_runtime::bpf_test_utils module. ( #13203 )
...
(cherry picked from commit 65ee3a6bdd )
2020-10-29 22:03:09 -07:00
mergify[bot]
24bd4ff6d4
clarify comment ( #13289 ) ( #13292 )
...
(cherry picked from commit b5c8b86e7c )
Co-authored-by: Jack May <jack@solana.com >
2020-10-29 22:38:26 +00:00
mergify[bot]
69b3f10207
move Account to solana-sdk (bp #13198 ) ( #13269 )
...
* move Account to solana-sdk (#13198 )
(cherry picked from commit c458d4b213 )
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-29 19:16:52 +00:00
mergify[bot]
9922f09a1d
adds more parallel processing to gossip packets handling ( #12988 ) ( #13282 )
...
(cherry picked from commit 3738611f5c )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-10-29 16:47:37 +00:00
mergify[bot]
38a99c0c25
Disable eager rent collection for less noise ( #13275 ) ( #13280 )
...
(cherry picked from commit 363c148dbe )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-29 15:49:02 +00:00
mergify[bot]
7031235714
excludes origin from prune set ( #13204 ) ( #13276 )
...
On the receiving end, prune messages are ignored if the origin points to
the node itself:
https://github.com/solana-labs/solana/blob/631f029fe/core/src/crds_gossip_push.rs#L285-L295
So to avoid sending these over the wire, the requester can exclude
origin from the prune set.
(cherry picked from commit be80f6d5c5 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-10-29 14:19:06 +00:00
mergify[bot]
dfb2356a9a
Update FeatureSet::active to include slot-activated ( #13256 ) ( #13263 )
...
* Update FeatureSet::active to include slot-activated
* Clippy suggestion
(cherry picked from commit c2dbf53d76 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-29 03:42:42 +00:00
mergify[bot]
010794806a
Finer grained AccountsIndex locking ( #12787 ) ( #13240 )
...
Co-authored-by: Carl Lin <carl@solana.com >
Co-authored-by: carllin <wumu727@gmail.com >
Co-authored-by: Carl Lin <carl@solana.com >
2020-10-28 23:46:54 +00:00
mergify[bot]
6f95d5f72a
Update links from sdk to program ( #13248 ) ( #13249 )
...
(cherry picked from commit db9ddc7e5b )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-28 21:32:12 +00:00
mergify[bot]
2720b939fd
Calculate accounts hash async in accounts background service ( #12852 ) ( #13244 )
...
(cherry picked from commit 456eae6ccb )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-10-28 21:20:07 +00:00
mergify[bot]
a25c3fcf7d
Add doc page on sysvar accounts ( #13237 ) ( #13246 )
...
* Add doc page on sysvar accounts
* Update with suggestions
(cherry picked from commit 664b6125b6 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-28 21:16:10 +00:00
mergify[bot]
7cc4810174
docs: Metrics update (bp #13239 ) ( #13241 )
...
* docs: Remove stale metrics steps
(cherry picked from commit 4dc4fefee2 )
* docs: Reference metrics envvars for each cluster
(cherry picked from commit eb597cd60f )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-28 19:46:59 +00:00
mergify[bot]
c1a55bf249
Improve final report of ledger-tool capitalization ( #13232 ) ( #13236 )
...
(cherry picked from commit 4698ee5e4a )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-28 18:45:19 +00:00
mergify[bot]
f19778b7d9
implements ping-pong packets between nodes ( #12794 ) ( #13234 )
...
https://hackerone.com/reports/991106
> It’s possible to use UDP gossip protocol to amplify DDoS attacks. An attacker
> can spoof IP address in UDP packet when sending PullRequest to the node.
> There's no any validation if provided source IP address is not spoofed and
> the node can send much larger PullResponse to victim's IP. As I checked,
> PullRequest is about 290 bytes, while PullResponse is about 10 kB. It means
> that amplification is about 34x. This way an attacker can easily perform DDoS
> attack both on Solana node and third-party server.
>
> To prevent it, need for example to implement ping-pong mechanism similar as
> in Ethereum: Before accepting requests from remote client needs to validate
> his IP. Local node sends Ping packet to the remote node and it needs to reply
> with Pong packet that contains hash of matching Ping packet. Content of Ping
> packet is unpredictable. If hash from Pong packet matches, local node can
> remember IP where Ping packet was sent as correct and allow further
> communication.
>
> More info:
> https://github.com/ethereum/devp2p/blob/master/discv4.md#endpoint-proof
> https://github.com/ethereum/devp2p/blob/master/discv4.md#wire-protocol
The commit adds a PingCache, which maintains records of remote nodes
which have returned a valid response to a ping message, and on-the-fly
ping messages pending a pong response from the remote node.
When handling pull-requests, those from addresses which have not passed
the ping-pong check are filtered out, and additionally ping packets are
added for addresses which need to be (re)verified.
(cherry picked from commit ae91270961 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-10-28 18:36:28 +00:00
mergify[bot]
eecdacac42
Don't hold dashmap write lock in store create ( #13007 ) ( #13230 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit c8fc0a6ba1 )
Co-authored-by: carllin <wumu727@gmail.com >
2020-10-28 11:36:28 +00:00
mergify[bot]
429f130532
Switch accounts storage lock to DashMap ( #12126 ) ( #13223 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit f8d338c9cb )
Co-authored-by: carllin <wumu727@gmail.com >
2020-10-28 08:07:28 +00:00
mergify[bot]
19b9839dfc
Use pico inflation for ledger-tool capitalization --enable-inflation ( #13215 ) ( #13222 )
...
* Use pico inflation for ledger-tool capitalization --enable-inflation
* rust fmt
(cherry picked from commit 7d2962135d )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-28 07:40:21 +00:00
mergify[bot]
ad2bf3afa6
more portable install.sh ( #13114 ) ( #13220 )
...
(cherry picked from commit 4e0d1b1d4a )
Co-authored-by: Jack May <jack@solana.com >
2020-10-28 06:45:32 +00:00
mergify[bot]
5c739ba236
Use zstd for create-snapshot ( #13214 ) ( #13218 )
...
(cherry picked from commit 6d4c69b7c3 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-28 06:38:20 +00:00
mergify[bot]
9fac507606
Fix log ( #13207 ) ( #13211 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit f96ab5a818 )
Co-authored-by: carllin <wumu727@gmail.com >
2020-10-28 03:21:01 +00:00
mergify[bot]
d5a37cb06e
Parse vote instructions ( #13202 ) ( #13209 )
...
(cherry picked from commit c4962af9eb )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-28 01:19:29 +00:00
mergify[bot]
86eb0157c0
Account for forward delay in transaction simulation ( #13199 ) ( #13201 )
...
(cherry picked from commit 631f029fe9 )
Co-authored-by: Justin Starry <justin@solana.com >
2020-10-27 18:35:43 +00:00
mergify[bot]
072dab0948
Fix pr crossing for sysvar keyed-accounts ( #13189 ) ( #13191 )
...
(cherry picked from commit 26eba5ac7d )
Co-authored-by: Jack May <jack@solana.com >
2020-10-27 08:33:13 +00:00
mergify[bot]
e20e79f412
ignore .so files ( #13188 ) ( #13192 )
...
(cherry picked from commit bb6ab3a62d )
Co-authored-by: Jack May <jack@solana.com >
2020-10-27 07:23:50 +00:00
mergify[bot]
f118db81ce
check sysvar id for AccountInfo ( #13175 ) ( #13185 )
...
(cherry picked from commit 322c667655 )
Co-authored-by: Jack May <jack@solana.com >
2020-10-27 00:22:27 -07:00
mergify[bot]
4ecb78d303
Move KeyedAccount out of solana-program. Native programs are not supported by solana-program (bp #13159 ) ( #13181 )
...
* Move KeyedAccount out of solana-program. Native programs are not supported by solana-program
(cherry picked from commit 1b343665a1 )
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-27 05:43:14 +00:00
mergify[bot]
0a28e40606
fix .gitignore ( #13177 ) ( #13190 )
...
(cherry picked from commit e3c0cc980b )
Co-authored-by: Jack May <jack@solana.com >
2020-10-27 05:26:59 +00:00
mergify[bot]
4d7a5a9daf
macos portable rust-bpf ( #13176 ) ( #13187 )
...
(cherry picked from commit fc83a666fc )
Co-authored-by: Jack May <jack@solana.com >
2020-10-27 04:51:14 +00:00
mergify[bot]
64cf6b4388
Add SSH key for buildkite-agent on achille ( #13183 )
...
(cherry picked from commit ff4b34202c )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-27 03:19:32 +00:00
mergify[bot]
f334c3b895
Add Bank::get_signature_status_with_blockhash() ( #13167 ) ( #13178 )
...
Get the signature status in O(1) time, instead of O(n) where
n is the number of blockhashes in the StatusCache.
(cherry picked from commit f58bc8589d )
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-10-27 01:29:16 +00:00
Michael Vines
15a7bcd4fe
Delete .lib.rs.swo
2020-10-26 16:01:43 -07:00
mergify[bot]
8d6636d02a
CLI: Surface deploy transaction errors ( #13170 )
...
(cherry picked from commit a82971879f )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-26 22:43:32 +00:00
mergify[bot]
cf896dbeee
Use bank timestamp to populate Blockstore::blocktime_cf when correction active ( #13158 ) ( #13160 )
...
(cherry picked from commit 39686ef098 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-26 20:34:15 +00:00
mergify[bot]
e5b60b75f8
Docs: Testnet has a faucet now ( #13165 )
...
(cherry picked from commit 8b1638f026 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-26 20:28:59 +00:00
mergify[bot]
0e155fdbd9
update call depth docs ( #13155 ) ( #13162 )
...
(cherry picked from commit 35f77ccc73 )
Co-authored-by: Jack May <jack@solana.com >
2020-10-26 19:58:55 +00:00
Michael Vines
b79a337ddd
Don't reuse BPF target build artifacts
...
(cherry picked from commit 41a56e14fc )
2020-10-26 12:01:38 -07:00
Michael Vines
c4050f541d
Fix reward type encoding
...
(cherry picked from commit 0a89bb4d3c )
2020-10-26 12:01:38 -07:00
mergify[bot]
f0b74a4ecf
marks pull request creation time only once per peer ( #13113 ) ( #13156 )
...
mark_pull_request_creation time requires an exclusive lock on gossip:
https://github.com/solana-labs/solana/blob/16944e218/core/src/cluster_info.rs#L1547-L1548
Current code is redundantly marking each peer once for each request.
There are at most only 2 unique peers, whereas there are hundreds of
requests per each. So the lock is acquired hundreds of time longer than
necessary.
(cherry picked from commit 4bfda3e766 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-10-26 18:27:26 +00:00
mergify[bot]
f7979378fd
Fix test_optimistic_confirmation_violation_without_tower() ( #13043 ) ( #13145 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit dd6cccaf7e )
Co-authored-by: carllin <wumu727@gmail.com >
2020-10-26 06:33:20 +00:00
mergify[bot]
d7c5607982
Hide noisy specialization warnings for frozen abi ( #13141 ) ( #13144 )
...
(cherry picked from commit 5caf81dbf8 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-26 06:19:58 +00:00
Michael Vines
91ab5ae990
Remove program feature from SPL builds
2020-10-25 21:08:53 -07:00
mergify[bot]
605e767259
Allow existence of vote on root in saved tower ( #13135 ) ( #13139 )
...
(cherry picked from commit 66c7a98009 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-26 12:34:58 +09:00
Michael Vines
597618846b
Bump version to v1.4.4
2020-10-24 22:10:32 +00:00
Michael Vines
712267bf51
Rename "everything" feature to "full"
...
(cherry picked from commit 0cc9c94c43 )
2020-10-24 13:21:11 -07:00
mergify[bot]
eb9cef0cd4
Separate the "program" feature of solana-sdk into a new crate called solana-program (bp #12989 ) ( #13131 )
...
* Add solana-program-sdk boilerplate
(cherry picked from commit 3718771ffb )
# Conflicts:
# sdk/Cargo.toml
* Initial population of solana-program-sdk
(cherry picked from commit 63db324204 )
# Conflicts:
# Cargo.lock
* Port programs to solana-program-sdk
(cherry picked from commit fe68f7f786 )
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/rust/128bit/Cargo.toml
# programs/bpf/rust/128bit_dep/Cargo.toml
# programs/bpf/rust/alloc/Cargo.toml
# programs/bpf/rust/call_depth/Cargo.toml
# programs/bpf/rust/custom_heap/Cargo.toml
# programs/bpf/rust/dep_crate/Cargo.toml
# programs/bpf/rust/deprecated_loader/Cargo.toml
# programs/bpf/rust/dup_accounts/Cargo.toml
# programs/bpf/rust/error_handling/Cargo.toml
# programs/bpf/rust/external_spend/Cargo.toml
# programs/bpf/rust/instruction_introspection/Cargo.toml
# programs/bpf/rust/invoke/Cargo.toml
# programs/bpf/rust/invoked/Cargo.toml
# programs/bpf/rust/iter/Cargo.toml
# programs/bpf/rust/many_args/Cargo.toml
# programs/bpf/rust/many_args_dep/Cargo.toml
# programs/bpf/rust/noop/Cargo.toml
# programs/bpf/rust/panic/Cargo.toml
# programs/bpf/rust/param_passing/Cargo.toml
# programs/bpf/rust/param_passing_dep/Cargo.toml
# programs/bpf/rust/rand/Cargo.toml
# programs/bpf/rust/ristretto/Cargo.toml
# programs/bpf/rust/sanity/Cargo.toml
# programs/bpf/rust/sha256/Cargo.toml
# programs/bpf/rust/sysval/Cargo.toml
* Only activate legacy program feature for the solana-sdk crate
(cherry picked from commit 85c51f5787 )
* Run serum-dex unit tests
(cherry picked from commit 92ce381d60 )
* Rename solana-program-sdk to solana-program
(cherry picked from commit dd711ab5fb )
# Conflicts:
# programs/bpf/rust/128bit/Cargo.toml
# programs/bpf/rust/128bit_dep/Cargo.toml
# programs/bpf/rust/alloc/Cargo.toml
# programs/bpf/rust/call_depth/Cargo.toml
# programs/bpf/rust/custom_heap/Cargo.toml
# programs/bpf/rust/dep_crate/Cargo.toml
# programs/bpf/rust/deprecated_loader/Cargo.toml
# programs/bpf/rust/dup_accounts/Cargo.toml
# programs/bpf/rust/error_handling/Cargo.toml
# programs/bpf/rust/external_spend/Cargo.toml
# programs/bpf/rust/instruction_introspection/Cargo.toml
# programs/bpf/rust/invoke/Cargo.toml
# programs/bpf/rust/invoked/Cargo.toml
# programs/bpf/rust/iter/Cargo.toml
# programs/bpf/rust/many_args/Cargo.toml
# programs/bpf/rust/many_args_dep/Cargo.toml
# programs/bpf/rust/noop/Cargo.toml
# programs/bpf/rust/panic/Cargo.toml
# programs/bpf/rust/param_passing/Cargo.toml
# programs/bpf/rust/param_passing_dep/Cargo.toml
# programs/bpf/rust/rand/Cargo.toml
# programs/bpf/rust/ristretto/Cargo.toml
# programs/bpf/rust/sanity/Cargo.toml
# programs/bpf/rust/sha256/Cargo.toml
# programs/bpf/rust/sysval/Cargo.toml
* Update frozen_abi hashes
The movement of files in sdk/ caused ABI hashes to change
(cherry picked from commit a4956844bd )
* Resolve merge conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-24 17:25:22 +00:00
mergify[bot]
62e0e19961
add precompile verification to simulate_transaction ( #13080 ) ( #13126 )
...
(cherry picked from commit 766406fd23 )
Co-authored-by: Josh <josh.hundley@gmail.com >
2020-10-24 05:02:41 +00:00
mergify[bot]
9aee9cb867
Clean up opt conf verifier and vote state tracker ( #13081 ) ( #13124 )
...
* Clean up opt conf verifier and vote state tracker
* Update test to follow new message and some knob
* Rename
(cherry picked from commit 0264147d42 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-24 04:12:02 +00:00
mergify[bot]
2b11558b36
Shorten magic install URL ( #13122 )
...
(cherry picked from commit b5170b993e )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-23 23:28:19 +00:00
mergify[bot]
18c4e1b023
ci: Add downstream project build testing (bp #13112 ) ( #13119 )
...
* Use local cargo for CI
(cherry picked from commit c7c50bd32c )
* Add downstream project build testing
(cherry picked from commit c7f4f15e60 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-23 22:13:51 +00:00
mergify[bot]
6bac44ed92
Move bpf sdk packaging from publish-tarball to cargo-install-all ( #13117 )
...
(cherry picked from commit 965ea97b56 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-23 21:39:41 +00:00
mergify[bot]
8cb622084f
Cli: deploy programs via TPU ( #13090 ) ( #13111 )
...
* Deploy: send write transactions to leader tpu
* Less apparent stalling during confirmation
* Add EpochInfo mock
* Only get cluster nodes once
* Send deploy writes to next leader
(cherry picked from commit 16944e218f )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-23 17:29:41 +00:00
mergify[bot]
38f7e9a979
shrink debug ( #13089 ) ( #13109 )
...
(cherry picked from commit 7d2729f6bd )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-10-23 17:02:00 +00:00
mergify[bot]
a536f779ee
scans crds table in parallel for finding old labels ( #13073 ) ( #13107 )
...
From runtime profiles, the majority time of ClusterInfo::handle_purge
https://github.com/solana-labs/solana/blob/0776fa05c/core/src/cluster_info.rs#L1605-L1626
is spent scanning crds table finding old labels:
https://github.com/solana-labs/solana/blob/0776fa05c/core/src/crds.rs#L175-L197
This can be done in parallel given that gossip thread-pool:
https://github.com/solana-labs/solana/blob/0776fa05c/core/src/cluster_info.rs#L1637-L1641
is idle when handle_purge is invoked:
https://github.com/solana-labs/solana/blob/0776fa05c/core/src/cluster_info.rs#L1681
(cherry picked from commit 37c8842bcb )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-10-23 15:36:06 +00:00
mergify[bot]
84a5e5ec97
Remove spammy invalid rpc log ( #13100 ) ( #13102 )
...
(cherry picked from commit c95f6c4b83 )
Co-authored-by: Justin Starry <justin@solana.com >
2020-10-23 08:32:46 +00:00
mergify[bot]
dd33aae3cf
Add --bpf-out-dir argument to control where the final build products land ( #13099 )
...
(cherry picked from commit b169d9cfbe )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-23 07:56:35 +00:00
mergify[bot]
be2ace47e3
Add deploy err if program-account balance is too high ( #13091 ) ( #13098 )
...
* Add deploy err if program-account balance is too high
* Review comments
* Add system-program check
* Rename and unhide flag
(cherry picked from commit 4669fa0f98 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-23 07:02:16 +00:00
Trent Nelson
53b074aa35
Bump version to 1.4.3
2020-10-23 04:20:28 +00:00
mergify[bot]
a4ad2925a2
Allow nodes to advertise a different rpc address over gossip ( #13053 ) ( #13078 )
...
* Allow nodes to advertise a different rpc address over gossip
* Feedback
(cherry picked from commit 8b0242a5d8 )
Co-authored-by: Justin Starry <justin@solana.com >
2020-10-22 07:06:27 +00:00
mergify[bot]
edfbd8d65a
Add replacements for Pubkey::new_rand()/Hash::new_rand() (bp #12987 ) ( #13076 )
...
* Add pubkey_new_rand(), mark Pubkey::new_rand() deprecated
(cherry picked from commit 0e68ed6a8d )
* Add hash_new_rand(), mark Hash::new_rand() as deprecated
(cherry picked from commit 76f11c7dae )
* Run `codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand`
(cherry picked from commit 7bc073defe )
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
# runtime/benches/accounts.rs
# runtime/src/accounts.rs
* Run `codemod --extensions rs Hash::new_rand solana_sdk:#️⃣ :new_rand`
(cherry picked from commit 17c391121a )
* Remove unused pubkey::Pubkey imports
(cherry picked from commit 959880db60 )
# Conflicts:
# runtime/src/accounts_index.rs
* Resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-22 05:08:01 +00:00
mergify[bot]
e0ae54fd7e
Add cargo-build-bpf (bp #13040 ) ( #13075 )
...
* Add cargo-build-bpf
(cherry picked from commit 07a853d6cc )
* Remove do.sh
(cherry picked from commit 61be155413 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-22 03:09:52 +00:00
mergify[bot]
60297951ec
CLI: Print address ephemeral keypair seed phrase to stderr on deploy failure (bp #13046 ) ( #13055 )
...
* CLI: Print address ephemeral keypair seed phrase to stderr on deploy failure
(cherry picked from commit 2905ccc7ec )
# Conflicts:
# cli/Cargo.toml
* Fix conflicts
Co-authored-by: Trent Nelson <trent@solana.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-10-21 15:29:56 -06:00
Tyera Eulberg
e0f9f72a2c
RPC: Don't send base64 TXs to old clusters ( #13072 )
...
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-21 20:25:36 +00:00
mergify[bot]
5236acf4b0
Add ledger-tool dead-slots and improve purge a lot ( #13065 ) ( #13071 )
...
* Add ledger-tool dead-slots and improve purge a lot
* Reduce batch size...
* Add --dead-slots-only and fixed purge ordering
(cherry picked from commit 0776fa05c7 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-21 18:57:22 +00:00
mergify[bot]
5dd61b5db2
Port various rent fixes to runtime feature ( #12842 ) ( #13068 )
...
* Port various rent fixes to runtime feature
* Fix CI
* Use more consistent naming...
(cherry picked from commit 608b81b412 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-21 14:47:48 +00:00
mergify[bot]
8752bf0826
Skip 'Stake by Feature Set' output when showing status of a single feature ( #13052 )
...
(cherry picked from commit ad65d4785e )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-21 07:14:49 +00:00
mergify[bot]
b1712e80ec
Parse stake and system instructions ( #13035 ) ( #13045 )
...
* Fix token account check
* Add helper to check num accounts
* Add parse_stake
* Add parse_system
* Fix AuthorizeNonce docs
* Remove jsonParsed unstable markers
* Clippy
(cherry picked from commit 46d0019955 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-21 04:35:05 +00:00
Trent Nelson
2fe1a4677c
Ignore more paths in increment-cargo-version.sh
...
(cherry picked from commit c1c69ecc34 )
2020-10-20 20:55:34 -07:00
mergify[bot]
f76c128f4f
Various clean-ups before assert adjustment ( #13006 ) ( #13041 )
...
* Various clean-ups before assert adjustment
* oops
(cherry picked from commit efdb560e97 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-21 02:41:20 +00:00
mergify[bot]
b143b9c3c2
Remove frozen ABI modules from solana-sdk (bp #13008 ) ( #13036 )
...
* Remove frozen ABI modules from solana-sdk
(cherry picked from commit 6858950f76 )
# Conflicts:
# Cargo.lock
# core/Cargo.toml
# frozen-abi/macro/Cargo.toml
# programs/bpf/Cargo.lock
# programs/stake/Cargo.toml
# programs/vote/Cargo.toml
# runtime/Cargo.toml
# sdk/Cargo.toml
# version/Cargo.toml
* rebase
* fix broken ci (#13039 )
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-21 02:00:45 +00:00
mergify[bot]
b4178b75e7
Add --eval flag to solana-install info ( #13038 )
...
(cherry picked from commit 6f930351d2 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-21 01:12:48 +00:00
Michael Vines
c54b751df7
Include sdk/bpf in the main release tarball
...
(cherry picked from commit f71677164f )
2020-10-20 16:25:04 -07:00
mergify[bot]
0fde9e893f
Force unset CARGO to use correct version of cargo ( #13027 ) ( #13034 )
...
(cherry picked from commit 81d0c8ae7f )
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2020-10-20 23:06:57 +00:00
mergify[bot]
d24abbdac9
Fix secp256k1 instruction indexing and add tests ( #13026 ) ( #13032 )
...
(cherry picked from commit 83c53ae4b5 )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-10-20 22:25:59 +00:00
Michael Vines
3b03985f28
Remove unsupported metrics tarball from release artifacts
...
(cherry picked from commit 62f20bc170 )
2020-10-20 13:16:35 -07:00
mergify[bot]
d05bfa08c7
improves threads' utilization in processing gossip packets ( #12962 ) ( #13023 )
...
ClusterInfo::process_packets handles incoming packets in a thread_pool:
https://github.com/solana-labs/solana/blob/87311cce7/core/src/cluster_info.rs#L2118-L2134
However, profiling runtime shows that threads are not well utilized and
a lot of the processing is done sequentially.
This commit redistributes the work done in parallel. Testing on a gce
cluster shows 20%+ improvement in processing gossip packets with much
smaller variations.
(cherry picked from commit 75d62ca095 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-10-20 19:59:35 +00:00
mergify[bot]
9da2ac7a44
passes through feature-set to gossip requests handling ( #12878 ) ( #12991 )
...
* passes through feature-set to down to gossip requests handling
* takes the feature-set from root_bank instead of working_bank
(cherry picked from commit 48283161c3 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-10-20 18:25:44 +00:00
mergify[bot]
9e95d0fb58
Add more info for --limit-ledger-size ( #13021 )
...
(cherry picked from commit de04a208c7 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-20 17:50:11 +00:00
mergify[bot]
94cad9873c
Support Debug Bank ( #13017 ) ( #13019 )
...
(cherry picked from commit c0675968b1 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-20 17:20:40 +00:00
Tyera Eulberg
f33171b32f
Remove errant print
2020-10-20 09:02:51 -06:00
mergify[bot]
aa6406f263
implements DataBudget using atomics ( #12856 ) ( #12990 )
...
(cherry picked from commit 05cf15a382 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-10-20 12:51:42 +00:00
mergify[bot]
77864a6bee
Parse bpf loader instructions ( #12998 ) ( #13005 )
...
* Add parsing for BpfLoader2 instructions
* Skip info if null
* Return account address in info map
(cherry picked from commit 942e4273ba )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-20 06:25:56 +00:00
mergify[bot]
b51715d33c
validator: Activate RPC before halting on slot ( #13002 )
...
(cherry picked from commit 3b3f7341fa )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-20 03:31:04 +00:00
mergify[bot]
7d395177d4
Add everything feature ( #12999 )
...
(cherry picked from commit c5e16383b0 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-20 01:52:21 +00:00
mergify[bot]
77ba6d6784
sdk: Add SyscallStubs to enable syscall interception when building programs for non-BPF (bp #12984 ) ( #12993 )
...
* Add SyscallStubs to enable syscall interception when building programs for non-BPF
(cherry picked from commit 9c53e1dfb2 )
* Remove program_stubs!()
(cherry picked from commit 6d5889bdb5 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-19 22:28:44 +00:00
Tyera Eulberg
4bf0a54ed7
Revert "CLI: Put deploy ephemeral keypair behind a flag ( #12942 )" ( #12982 )
...
This reverts commit 8cac6835c0 .
2020-10-19 17:41:10 +00:00
mergify[bot]
8a526f2f53
Follow up to persistent tower with tests and API cleaning ( #12350 ) ( #12972 )
...
* Follow up to persistent tower
* Ignore for now...
* Hard-code validator identities for easy reasoning
* Add a test for opt. conf violation without tower
* Fix compile with rust < 1.47
* Remove unused method
* More move of assert tweak to the asser pr
* Add comments
* Clean up
* Clean the test addressing various review comments
* Clean up a bit
(cherry picked from commit 54517ea454 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-19 08:47:58 +00:00
mergify[bot]
43f99bdb31
Improve vote-account "Recent Timestamp" output ( #12971 )
...
(cherry picked from commit 2cc3d7511a )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-19 07:30:29 +00:00
mergify[bot]
0008dc62e4
Fix zero-lamport accounts preventing slot cleanup ( #12606 ) ( #12969 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit 16d45b8480 )
Co-authored-by: carllin <wumu727@gmail.com >
2020-10-19 07:07:08 +00:00
mergify[bot]
7e8174fb79
Minor doc typo ( #12966 )
...
(cherry picked from commit 6123d71489 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-19 03:23:24 +00:00
mergify[bot]
4ad2ebcde9
Mention monitoring and updating for exchanges ( #12953 ) ( #12959 )
...
* Mention monitoring and updating for exchanges
* Fix link syntax...
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* More review comments and word-wrapping
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
(cherry picked from commit 87311cce7f )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-17 06:49:59 +00:00
mergify[bot]
da183d655a
keygen: add more mnemonic language support ( #12944 ) ( #12957 )
...
(cherry picked from commit 4451042c76 )
Co-authored-by: guanqun <guanqun.lu@gmail.com >
2020-10-17 04:00:29 +00:00
mergify[bot]
2e449276be
Check payer balance for program account rent as needed ( #12952 ) ( #12955 )
...
(cherry picked from commit b6bfed64cb )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-16 19:14:26 +00:00
mergify[bot]
8cac6835c0
CLI: Put deploy ephemeral keypair behind a flag ( #12942 )
...
(cherry picked from commit 5a5b7f39c1 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-16 16:56:50 +00:00
mergify[bot]
677c184e47
Another some tower logging improvements ( #12940 ) ( #12943 )
...
(cherry picked from commit fd8ec27fe8 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-16 07:00:27 +00:00
mergify[bot]
f36cfb92f7
Convert Blockstore Rewards cf to protobuf (bp #12860 ) ( #12935 )
...
* Convert Blockstore Rewards cf to protobuf (#12860 )
* Add Blockstore protobuf cf type
* Add Rewards message to proto and make generated pub
* Convert Rewards cf to ProtobufColumn
* Add bench
* Adjust tags
* Move solana proto definitions and conversion methods to new crate
(cherry picked from commit 359707c85e )
# Conflicts:
# Cargo.lock
# ledger/Cargo.toml
# storage-bigtable/Cargo.toml
* v1.4-ify
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-10-16 01:27:37 +00:00
mergify[bot]
e7062de05f
Report compute budget usage ( #12931 ) ( #12934 )
...
(cherry picked from commit b510474dcb )
Co-authored-by: Jack May <jack@solana.com >
2020-10-16 00:05:18 +00:00
mergify[bot]
a443e2e773
Update get-block method in get_confirmed_transaction ( #12923 ) ( #12930 )
...
* Update get-block method in get_confirmed_transaction
* Remove superfluous into()
(cherry picked from commit 42943ab86d )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-15 21:38:38 +00:00
mergify[bot]
3a6db787e2
Support arbitrary toolchains with cargo wrapper script ( #12926 )
...
(cherry picked from commit 99aecdaf65 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-15 20:26:35 +00:00
Trent Nelson
f3c986385f
Bump version to 1.4.2
2020-10-15 20:26:29 +00:00
mergify[bot]
3df811348f
program log pubkey as base58 (bp #12901 ) ( #12911 )
...
* program log pubkey as base58 (#12901 )
(cherry picked from commit 3f9e6a600b )
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
# programs/bpf/c/src/tuner/tuner.c
* resolve conflicts
* fix bench conflict
Co-authored-by: Jack May <jack@solana.com >
2020-10-15 19:40:20 +00:00
mergify[bot]
e8c86ed3e5
Drop 'Pubkey' in 'solana validators' header ( #12919 )
...
(cherry picked from commit 3073dc9801 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-15 19:02:10 +00:00
Tyera Eulberg
489a7bb576
Bump spl-memo and spl-token versions ( #12914 )
2020-10-15 18:05:41 +00:00
mergify[bot]
688dd85e61
Release: Use pinned cargo version to install spl-token-cli ( #12916 )
...
(cherry picked from commit bb2f0df9e1 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-15 17:59:24 +00:00
mergify[bot]
fe54a30084
Docs: Clarify validator disk requirements ( #12921 )
...
(cherry picked from commit cc0781e0ac )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-15 17:56:46 +00:00
mergify[bot]
80942841a2
Surface 'Program account allocation failed' error details ( #12904 )
...
(cherry picked from commit eec3d25ab9 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-15 16:22:12 +00:00
mergify[bot]
d2808a8e29
docs: Rework JSON RPC curl examples to be more readable (bp #12893 ) ( #12899 )
...
* Rework curl examples to be more readable
(cherry picked from commit f0d0bdc572 )
# Conflicts:
# docs/src/apps/jsonrpc-api.md
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-15 15:47:49 +00:00
mergify[bot]
f8413a28b5
Better tower logs for SwitchForkDecision and etc ( #12875 ) ( #12905 )
...
* Better tower logs for SwitchForkDecision and etc
* nits
* Update comment
(cherry picked from commit a44e4d386f )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-15 10:41:03 +00:00
mergify[bot]
bc96332899
Respect RefCell when calling invoke ( #12858 ) ( #12891 )
...
* Respect RefCell when calling invoke
* nudge
(cherry picked from commit 969f7b015b )
Co-authored-by: Jack May <jack@solana.com >
2020-10-15 02:15:36 +00:00
mergify[bot]
ceeeb3c9dd
Change developer CTA ( #12857 ) ( #12892 )
...
* change `index.js`
(cherry picked from commit 9e7fad1fd2 )
Co-authored-by: R. M. Shea <8948187+rmshea@users.noreply.github.com >
2020-10-15 01:45:06 +00:00
mergify[bot]
bd058ec8f1
Release: Include SPL Token in release tarballs ( #12889 )
...
(cherry picked from commit f70762913c )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-15 01:32:34 +00:00
mergify[bot]
4b5ac44fc8
RPC: Add metrics for TX encoding ( #12880 )
...
(cherry picked from commit c26512255d )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-14 19:39:08 +00:00
mergify[bot]
fef979f0e5
Don't report RewardType::Fee when none was awarded ( #12877 )
...
(cherry picked from commit 4b04ed86b6 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-14 17:15:41 +00:00
mergify[bot]
cca2cdf39b
Expose program error constants ( #12861 ) ( #12871 )
...
(cherry picked from commit d4e953277e )
Co-authored-by: Jack May <jack@solana.com >
2020-10-14 08:48:50 +00:00
Trent Nelson
6e91996606
Bump version to 1.4.1
2020-10-14 03:05:04 +00:00
mergify[bot]
99be00d61f
Add separate push queue to reduce push lock contention ( #12713 ) ( #12867 )
...
(cherry picked from commit 1f1eb9f26e )
Co-authored-by: sakridge <sakridge@gmail.com >
2020-10-14 02:46:13 +00:00
mergify[bot]
68f808026e
Add log_messages to proto file ( #12859 ) ( #12863 )
...
(cherry picked from commit 67ed44c007 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-14 01:50:55 +00:00
mergify[bot]
0c7ab0a1bb
Update programming-faq.md ( #12864 ) ( #12865 )
...
Fix typo
(cherry picked from commit b8f03c9b0f )
Co-authored-by: kemargrant <kemargrant@gmail.com >
2020-10-14 01:15:52 +00:00
mergify[bot]
3d8ccbc079
terminology update, nonce to bump seed ( #12840 ) ( #12851 )
...
(cherry picked from commit 56211378d3 )
Co-authored-by: Jack May <jack@solana.com >
2020-10-13 18:31:48 +00:00
mergify[bot]
275d096a46
solana vote-account/solana stake-account now works with RPC servers without --enable-rpc-transaction-history (bp #12826 ) ( #12849 )
...
* Implementation-defined RPC server errors are now accessible to client/ users
(cherry picked from commit 247228ee61 )
* Cleanly handle RPC servers that don't have --enable-rpc-transaction-history enabled
(cherry picked from commit 14d793b22c )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 18:28:15 +00:00
mergify[bot]
6d70a06b23
Add nop feature set for upcoming ported rent fixes ( #12841 ) ( #12847 )
...
(cherry picked from commit 7de7efe96c )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-13 17:47:59 +00:00
mergify[bot]
7e68b2e1bd
Add transaction log messages to |solana confirm -v| output ( #12836 )
...
(cherry picked from commit e9dbbdeb81 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 06:57:21 +00:00
mergify[bot]
f0d761630e
get_vote_accounts: access HashMap directly instead of turning it into an iterator ( #12829 )
...
(cherry picked from commit 649fe6d3b6 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 05:25:31 +00:00
mergify[bot]
1986927eb6
Check ELF file for errors before deploy (bp #12741 ) ( #12801 )
...
* Check ELF file for errors before deploy (#12741 )
* Check ELF file for errors before deploy
* Update cli/src/cli.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
* Fix formatting
* Bump solana_rbpf
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 6bbf6a79b7 )
# Conflicts:
# cli/Cargo.toml
* rebase
Co-authored-by: Alexandre Esteves <2335822+alexfmpe@users.noreply.github.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 04:41:51 +00:00
mergify[bot]
9a0ea61007
Add docs on vote account key rotation (bp #12815 ) ( #12831 )
...
* Add docs on vote account key rotation
(cherry picked from commit 253114ca20 )
* Update docs/src/running-validator/vote-accounts.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
(cherry picked from commit d83027c0cd )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 04:32:03 +00:00
mergify[bot]
51a70e52f2
CI: Fix crate publication ( #12825 )
...
(cherry picked from commit c38021502e )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-12 23:15:46 +00:00
mergify[bot]
9797c93db3
fix native_loader behavior for invalid accounts ( #12814 ) ( #12819 )
...
(cherry picked from commit c24da1ee16 )
Co-authored-by: Jack May <jack@solana.com >
2020-10-12 22:14:56 +00:00
mergify[bot]
9598114658
Use latest stable channel release if there's no beta release ( #12823 )
...
(cherry picked from commit 65213a1782 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-12 22:12:16 +00:00
mergify[bot]
d3ef061044
RpcClient: Encode TXs as base64 by default ( #12817 )
...
(cherry picked from commit efbe37ba20 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-12 21:56:18 +00:00
mergify[bot]
1f102d2617
Move no-0-rent rent dist. behavior under feature ( #12804 ) ( #12811 )
...
(cherry picked from commit 2f5bb7e507 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-12 09:57:32 +00:00
mergify[bot]
5e97bd3d8a
simulate_transaction_with_config() now passes full config to server ( #12803 )
...
(cherry picked from commit b3c2752bb0 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-12 05:58:30 +00:00
mergify[bot]
ed06e8b85d
Pacify cargo audit (bp #12797 ) ( #12799 )
...
* Bump reqwest/rayon to get past `cargo audit`
(cherry picked from commit 8a119c1483 )
# Conflicts:
# dos/Cargo.toml
# download-utils/Cargo.toml
# metrics/Cargo.toml
* Switch to tempfile
(cherry picked from commit d3b0f87a49 )
* Rework cargo audit ignores
(cherry picked from commit 2301dcf973 )
* Cargo.lock
(cherry picked from commit 859eb606da )
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-12 04:29:55 +00:00
mergify[bot]
10b9225edb
Don't bother paying 0 rent ( #12793 )
...
(cherry picked from commit 1fc7c1ecee )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-10 18:12:14 +00:00
Michael Vines
b1b5ddd2b9
Update gossip entrypoints
2020-10-10 08:39:38 -07:00
mergify[bot]
6b9b107ead
Fix various ledger-tool error due to no builtins (bp #12759 ) ( #12766 )
...
* Fix various ledger-tool error due to no builtins (#12759 )
* Fix various ledger-tool error due to no builtins
* Add missing file...
(cherry picked from commit 1f4bcf70b0 )
# Conflicts:
# core/Cargo.toml
# ledger/Cargo.toml
* Rebase
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-10 07:10:38 +00:00
mergify[bot]
3fef98fd1e
Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli (bp #12768 ) ( #12790 )
...
* Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli
(cherry picked from commit c5c8da1ac0 )
# Conflicts:
# Cargo.lock
# transaction-status/Cargo.toml
* fix: surface full block rewards type
(cherry picked from commit 1b16790325 )
* resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-10 06:11:42 +00:00
Jack May
e999823b4b
document program address collisions ( #12774 )
...
(cherry picked from commit 9ac8db3533 )
2020-10-09 22:35:47 -07:00
mergify[bot]
1e46a5b147
Fix typo ( #12780 ) ( #12784 )
...
(cherry picked from commit 5800217998 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-10 02:09:09 +00:00
mergify[bot]
567a1cb944
Correct Bank timestamp drift every slot ( #12737 ) ( #12777 )
...
* Move timestamp helper to sdk
* Add Bank method for getting timestamp estimate
* Return sysvar info from Bank::clock
* Add feature-gated timestamp correction
* Rename unix_timestamp method to be more descriptive
* Review comments
* Add timestamp metric
(cherry picked from commit b028c47d2b )
# Conflicts:
# runtime/src/feature_set.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-10 00:42:44 +00:00
mergify[bot]
2996cebfaa
Add convenience script for working in stability branches ( #12765 ) ( #12773 )
...
* Add convenience script for working in stability branches
* Update scripts/curgo.sh
Co-authored-by: Michael Vines <mvines@gmail.com >
* re{locate,name} to /cargo
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit ed95071c27 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-09 23:02:21 +00:00
mergify[bot]
7a1889aaf9
Add adjustable stack size and call depth (bp #12728 ) ( #12770 )
...
* Add adjustable stack size and call depth (#12728 )
(cherry picked from commit c3907be623 )
# Conflicts:
# programs/bpf/Cargo.toml
# programs/bpf_loader/Cargo.toml
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 22:08:01 +00:00
mergify[bot]
9188153b7d
Fix fee mismatch on snapshot deserialize ( #12697 ) ( #12754 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit c879e7c1ad )
Co-authored-by: carllin <wumu727@gmail.com >
2020-10-09 20:21:50 +00:00
mergify[bot]
4b9f2e987a
Bump max invoke depth to 4 ( #12742 ) ( #12764 )
...
(cherry picked from commit 2cd7cd3149 )
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 18:49:44 +00:00
mergify[bot]
bb5c76483a
Advise setting --wal-recovery-mode, and using --private-rpc for mainnet-beta ( #12761 )
...
(cherry picked from commit 3fedcdc6bc )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 15:56:56 +00:00
mergify[bot]
aafbb251b9
Only fetch snapshot if it's newer than local ( #12663 ) ( #12752 )
...
* Only fetch snapshot if it's newer than local
* Prefer as_ref over clone
* More nits
* Don't wait forwever for newer snapshot
(cherry picked from commit 81489ccb76 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-09 07:15:34 +00:00
mergify[bot]
dd32540ceb
Add inflation_kill_switch feature ( #12749 )
...
(cherry picked from commit c8807d227a )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 05:55:51 +00:00
mergify[bot]
e1a9cbaf3c
Add new internal accounts ( #12740 ) ( #12747 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit 2c5f83c264 )
Co-authored-by: Dan Albert <dan@solana.com >
2020-10-09 02:19:55 +00:00
mergify[bot]
83740246fc
Minor variable name cleanup ( #12745 )
...
(cherry picked from commit 3a04026599 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 02:12:28 +00:00
mergify[bot]
7a53ca18a6
Store program logs in blockstore / bigtable (TransactionWithStatusMeta) ( #12678 ) ( #12735 )
...
* introduce store program logs in blockstore / bigtable
* fix test, transaction logs created for successful transactions
* fix test for legacy bincode implementation around log_messages
* only api nodes should record logs
* truncate transaction logs to 100KB
* refactor log truncate for improved coverage
(cherry picked from commit 8f5431551e )
Co-authored-by: Josh <josh.hundley@gmail.com >
2020-10-08 20:19:26 +00:00
mergify[bot]
c1a8637cb5
Support multiple connected HW wallets configured with the same seed phrase (bp #12716 ) ( #12720 )
...
* remote-wallet: Select hardware wallets based on host device path
(cherry picked from commit 8e3353d9ef )
* remote-wallet: Append wallet "name" to entries in selector UI
(cherry picked from commit f1a2ad1b7d )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-08 05:32:48 +00:00
mergify[bot]
d6831309cd
Revert "Restore --expected-shred-version argument for mainnet-beta" ( #12723 )
...
This reverts commit 9410eab2af .
(cherry picked from commit dadc84fa8c )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-08 05:00:44 +00:00
Michael Vines
2c38865e70
Revert "Inflation cli fix and parameter update ( #12709 )"
...
This reverts commit b3f695c83f .
2020-10-07 19:43:15 -07:00
Jack May
dd7fae4afb
Fix syscall featurization ( #12714 )
...
* Fix syscall featurization
* nudge
2020-10-07 18:38:38 -07:00
Michael Vines
346890ded3
Display vote/stake account epoch rewards
2020-10-07 17:14:12 -07:00
Eric Williams
b3f695c83f
Inflation cli fix and parameter update ( #12709 )
...
update initial inflation parameter to reflect current design
2020-10-07 17:12:32 -07:00
Trent Nelson
4feead323d
clap-utils: Allow fine-tuning offline args
2020-10-07 23:14:39 +00:00
sakridge
71a308affd
Use datapoint instead of print for is_full signal ( #12673 )
2020-10-07 13:36:54 -07:00
behzad nouri
b5faa11f73
removes invalid/outdated pending push messages early ( #12555 )
...
In CrdsGossipPush::new_push_messages:
https://github.com/solana-labs/solana/blob/972619edb/core/src/crds_gossip_push.rs#L211-L228
we already have paid the cost of looking-up the label in crds table and
checking the hash value and wallclock only to find out that in some
cases the value is invalid or is outdated. So might as well remove the
value here rather than wait for the next call to
purge_old_pending_push_messages:
https://github.com/solana-labs/solana/blob/972619edb/core/src/crds_gossip_push.rs#L372
2020-10-07 18:29:20 +00:00
Jack May
41ad3dd8f0
Remove skip-no-mangle entirely ( #12696 )
2020-10-07 09:13:48 -07:00
dependabot[bot]
7b18f4c5fc
chore:(deps): bump @types/node from 14.11.2 to 14.11.5 in /explorer ( #12706 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.11.2 to 14.11.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-07 08:09:56 +00:00
dependabot[bot]
32a23746eb
chore:(deps): bump @types/react-router-dom in /explorer ( #12705 )
...
Bumps [@types/react-router-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-router-dom ) from 5.1.5 to 5.1.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-router-dom )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-07 08:08:35 +00:00
Jack May
973f0965e1
Add ristretto multiply syscall ( #12699 )
2020-10-06 23:52:13 -07:00
Josh
d0596ce9c8
Explorer: MintToChecked: mint authority should be optional ( #12704 )
2020-10-06 22:34:42 -07:00
Trent Nelson
e35889542b
RPC: Support base64 encoded transactions
...
Defaults to base58
2020-10-06 22:41:06 -06:00
Trent Nelson
7f67d36777
RPC: Check encoded transaction size before decoding
2020-10-06 22:41:06 -06:00
sakridge
37222683ee
Add env variable for rayon thread counts ( #12693 )
2020-10-06 17:17:26 -07:00
Dan Albert
5eaf65af4f
Update validator_list.rs
2020-10-06 16:34:00 -06:00
Trent Nelson
87de82ac94
faucet: Use checked math in request limiter
2020-10-06 12:55:04 -06:00
Trent Nelson
5ae704d560
faucet: Add failing test case
2020-10-06 12:55:04 -06:00
Jack May
630eb3b907
Local program allocator ( #12679 )
2020-10-06 11:03:51 -07:00
Jack May
bff3825298
Remove unnecessary skip-no-mangle feature from sdk ( #12684 )
2020-10-06 11:03:29 -07:00
Justin Starry
41ce892f1c
fix: use Node.js https agent when endpoint uses https ( #12692 )
2020-10-07 00:41:18 +08:00
behzad nouri
a5c6a78f6d
filters out inactive nodes from push options ( #12674 )
...
* filters out inactive nodes from push options
https://github.com/solana-labs/solana/pull/12620
patched the DDOS issue with nodes which go offline:
https://github.com/solana-labs/solana/issues/12409
However, offline nodes still see (much lesser) traffic spike, likely
because no origins are pruned from their bloom filter in active set:
https://github.com/solana-labs/solana/blob/aaf3790d8/core/src/crds_gossip_push.rs#L276-L286
and so multiple nodes push redundant duplicate messages to them
simultaneously:
https://github.com/solana-labs/solana/blob/aaf3790d8/core/src/crds_gossip_push.rs#L254-L255
This commit will filter out inactive peers from potential push targets
entirely. To mitigate eclipse attacks, staked nodes are retried
periodically.
* uses current timestamp in test/crds_gossip
2020-10-06 13:48:32 +00:00
dependabot[bot]
4fc6cf4bcc
chore: bump jest from 26.4.2 to 26.5.0 in /web3.js ( #12686 )
...
Bumps [jest](https://github.com/facebook/jest ) from 26.4.2 to 26.5.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v26.4.2...v26.5.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 08:37:13 +00:00
dependabot[bot]
1394952059
chore: bump codecov from 3.7.0 to 3.8.0 in /web3.js ( #12689 )
...
Bumps [codecov](https://github.com/codecov/codecov-node ) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/codecov/codecov-node/releases )
- [Changelog](https://github.com/codecov/codecov-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-node/compare/v3.7.0...v3.8.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 08:20:56 +00:00
dependabot[bot]
2aeba39d82
chore:(deps): bump @types/chai from 4.2.12 to 4.2.13 in /explorer ( #12688 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.2.12 to 4.2.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 08:08:39 +00:00
dependabot[bot]
5564639a05
chore:(deps): bump @types/react from 16.9.50 to 16.9.51 in /explorer ( #12687 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.50 to 16.9.51.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 08:06:33 +00:00
Dan Albert
0571882b1d
Add new wallets to docs, clean up existing structure ( #12655 )
...
* Add new wallets to docs
* Re-enstate SolFlare guide
* Update docs/src/wallet-guide/apps.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
Co-authored-by: publish-docs.sh <maintainers@solana.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
2020-10-05 22:25:05 +00:00
Trent Nelson
74a6083269
net-scripts: Correct buildkite agent SSH keys
2020-10-05 21:00:25 +00:00
Trent Nelson
7b7ea946e3
net-scripts: Remove SSH keys of inactive developers
2020-10-05 21:00:25 +00:00
Michael Vines
fbb5e5c4e6
Add systemd and log rotation section to validator start docs ( #12675 )
...
* Add systemd and log rotation section to validator start docs
* Update docs/src/running-validator/validator-start.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Update docs/src/running-validator/validator-start.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
2020-10-05 12:19:13 -07:00
Josh
aaf3790d8c
web3.js: Introduce support for log messages inside ConfirmedTransactionMeta. ( #12629 )
...
* feat: add logMessages to ConfirmedTranasactionMeta
* feat: add flow type and additional superstruct validators
2020-10-05 10:24:38 -07:00
dependabot[bot]
457247e5a5
chore: bump acorn from 8.0.1 to 8.0.4 in /web3.js ( #12668 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 8.0.1 to 8.0.4.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/8.0.1...8.0.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 08:22:38 +00:00
dependabot[bot]
f879f8e110
chore: bump eslint-plugin-import from 2.22.0 to 2.22.1 in /web3.js ( #12665 )
...
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases )
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md )
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.0...v2.22.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 08:18:12 +00:00
dependabot[bot]
861402bcea
chore:(deps): bump @testing-library/user-event in /explorer ( #12667 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.1.6 to 12.1.7.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.6...v12.1.7 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 08:08:50 +00:00
dependabot[bot]
48d99e6c5c
chore:(deps): bump @types/chart.js from 2.9.24 to 2.9.25 in /explorer ( #12666 )
...
Bumps [@types/chart.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chart.js ) from 2.9.24 to 2.9.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chart.js )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 08:08:41 +00:00
dependabot[bot]
de6b368944
chore: bump marked from 1.1.1 to 1.2.0 in /web3.js ( #12521 )
...
Bumps [marked](https://github.com/markedjs/marked ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Commits](https://github.com/markedjs/marked/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 14:37:27 +08:00
dependabot[bot]
d1be1e7092
chore: bump eslint-config-prettier from 6.11.0 to 6.12.0 in /web3.js ( #12520 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.11.0 to 6.12.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.11.0...v6.12.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 14:37:10 +08:00
dependabot[bot]
d0eee0879e
chore: bump eslint from 7.9.0 to 7.10.0 in /web3.js ( #12519 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.9.0 to 7.10.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.9.0...v7.10.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 14:36:58 +08:00
Dan Albert
0a89a952c7
Update channel_restriction.sh
2020-10-04 10:18:42 -06:00
carllin
64c4861e04
Fix error in max root calculation ( #12661 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-10-03 15:18:58 -07:00
carllin
adf6f748c0
Disable rent in flaky test ( #12658 )
...
* Disable rent in test
Co-authored-by: Carl Lin <carl@solana.com >
2020-10-03 12:44:03 -07:00
Ryo Onodera
026e7de819
Show commit in --version and ledger-tool's log ( #12636 )
...
* Show commit in `--version` and ledger-tool's log
* Another handy hidden env var
* Fix test
* Rename to semver!
* Fix syntax error...
2020-10-04 00:30:26 +09:00
Ryo Onodera
337da184f3
doc: Add a comment to clarify port selection
2020-10-02 21:20:58 -07:00
Michael Vines
9abaf6ec1d
solana stakes now employs server-side filtering if only one vote account is provided
2020-10-02 17:53:07 -07:00
Jack May
d0aa8a6446
Fix zero-len slice translations ( #12642 )
2020-10-02 17:45:39 -07:00
Dan Albert
0ef3cac1f8
Update docs to show support for Nano X ( #12647 )
2020-10-02 16:45:24 -06:00
Diego Wilson
4ef3fcc976
Remove developer mode step from Ledger Live setup
...
Looks like the Solana Ledger app is past the Beta phase!
I was able to install the Solana app from Ledger Live without
having to enable developer mode.
There's also no mention of developer mode in Ledger's
Solana setup article:
https://support.ledger.com/hc/en-us/articles/360016265659-Solana-SOL-
2020-10-02 15:21:38 -06:00
sakridge
71c469c72b
Weight push peers by how long we haven't pushed to them ( #12620 )
2020-10-02 13:57:26 -07:00
Jack May
adeb06e550
Check CPI program is executable ( #12644 )
2020-10-02 13:55:22 -07:00
Tyera Eulberg
19f385db76
Improve solana deploy ( #12621 )
...
* Check program account before attempting to create it
* Use last_valid_slot to timeout status checks
* Include transaction history in RpcClient::get_signature_statuses requests
* Improve solana-deploy send-transactions
* Clippy
* Improve mock deploy test
* Review comments
2020-10-02 13:35:39 -06:00
Michael Vines
978b26a9c5
solana catchup now retries if the initial RPC connection fails
2020-10-02 12:28:05 -07:00
behzad nouri
2c669f65f1
limits number of threads in core/tests/crds_gossip.rs ( #12615 )
...
crds_gossip tests start large networks, which with large thread-pools
will exhaust system resources, causing failures in ci tests:
https://buildkite.com/solana-labs/solana/builds/31953
The commit limits size of thread-pools in the test.
2020-10-02 16:55:44 +00:00
Ryo Onodera
aa70dbfc62
Add --no-port-check to validator ( #12245 )
2020-10-02 20:36:41 +09:00
dependabot[bot]
791306a92d
chore:(deps): bump @types/react from 16.9.49 to 16.9.50 in /explorer ( #12635 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.49 to 16.9.50.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-02 08:09:47 +00:00
Michael Vines
42aeead6b4
Add inflation subcommand
2020-10-01 22:57:09 -07:00
Michael Vines
14036ac580
Improve block command output
2020-10-01 22:56:42 -07:00
Michael Vines
75b621160e
Add GetConfirmedBlocksWithLimit RPC method
2020-10-01 22:56:17 -07:00
Josh
b2fc7f7caa
docs: getRecentPerformanceSamples json rpc ( #12627 )
2020-10-01 22:30:49 -07:00
Michael Vines
e03a64ae1b
Document postBalance field
2020-10-02 05:24:59 +00:00
Michael Vines
f41a73d76a
Expose validator cli arguments for pubsub buffer tuning
2020-10-01 20:30:40 -07:00
dependabot[bot]
3af8fb4722
chore:(deps): bump socket.io-client from 2.3.0 to 2.3.1 in /explorer ( #12613 )
...
Bumps [socket.io-client](https://github.com/Automattic/socket.io-client ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/Automattic/socket.io-client/releases )
- [Changelog](https://github.com/socketio/socket.io-client/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Automattic/socket.io-client/compare/2.3.0...2.3.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-01 08:11:17 +00:00
dependabot[bot]
23caaccdec
chore:(deps): bump @types/react-select in /explorer ( #12612 )
...
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select ) from 3.0.20 to 3.0.21.
- [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-10-01 08:09:42 +00:00
Dan Albert
a17907b9a2
Add ci env to travis config ( #12608 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-10-01 05:07:47 +00:00
Ryo Onodera
e3773d919c
Avoid overflow when computing rent distribution ( #12112 )
...
* Avoid overflow when computing rent distribution
* Use assert_eq!....
* Fix tests
* Add test
* Use FeatureSet
* Add comments
* Address review comments
* Tweak a bit.
* Fix fmt
2020-10-01 11:59:28 +09:00
Tyera Eulberg
8f10e407ee
Add nonced-tx check to RpcClient ( #12600 )
2020-10-01 00:44:17 +00:00
behzad nouri
1866521df6
retains hash value of outdated responses received from pull requests ( #12513 )
...
pull_response_fail_inserts has been increasing:
https://cdn.discordapp.com/attachments/478692221441409024/759096187587657778/pull_response_fail_insert.png
but for outdated values which fail to insert:
https://github.com/solana-labs/solana/blob/a5c3fc14b3/core/src/crds_gossip_pull.rs#L332-L344
https://github.com/solana-labs/solana/blob/a5c3fc14b3/core/src/crds.rs#L104-L108
are not recorded anywhere, and so the next pull request may obtain the
same redundant payload again, unnecessary taking bandwidth.
This commit holds on to the hashes of failed-inserts for a while, similar
to purged_values:
https://github.com/solana-labs/solana/blob/a5c3fc14b3/core/src/crds_gossip_pull.rs#L380
and filter them out for the next pull request:
https://github.com/solana-labs/solana/blob/a5c3fc14b3/core/src/crds_gossip_pull.rs#L204
2020-10-01 00:39:22 +00:00
Tyera Eulberg
c31a34fbcb
Include post balance information for rewards ( #12598 )
...
* Include post balance information for rewards
* Add post-balance to stored Reward struct
* Handle extended Reward in bigtable
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-30 17:57:06 -06:00
Michael Vines
18074555fe
Update devnet genesis hash
2020-09-30 11:37:35 -07:00
Justin Starry
ce598c5c98
Use protobufs to store confirmed blocks in BigTable ( #12526 )
...
* Use protobufs to store confirmed blocks in BigTable
* Cleanup
* Reorganize proto
* Clean up use statements
* Split out function for unit testing
* s/utils/convert
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-09-30 17:55:22 +00:00
Tyera Eulberg
865d01c38d
Fix TransactionStatusMeta breakage in blockstore ( #12587 )
...
* Add helper to facilitate deserializing legacy structs
* Use default_on_eof to fix blockstore vis-a-vis TransactionStatusMeta
* Add should-panic test and comments
2020-09-30 11:49:35 -06:00
Trent Nelson
fce3c70b72
Modernize python scripts
2020-09-30 11:25:26 -06:00
Dan Albert
ede19ef33b
Tighten docs publishing flow ( #12572 )
2020-09-30 11:24:00 -06:00
Jack May
22d16c69b7
Add programming-faq to sidebar ( #12586 )
...
* Add programming-faq to sidebar
* nudge
* fix path
2020-09-30 09:56:48 +00:00
dependabot[bot]
edde4f978b
chore:(deps): bump @types/socket.io-client in /explorer ( #12589 )
...
Bumps [@types/socket.io-client](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/socket.io-client ) from 1.4.33 to 1.4.34.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/socket.io-client )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 08:12:20 +00:00
dependabot[bot]
45b1e65e03
chore:(deps): bump @solana/web3.js from 0.78.1 to 0.78.2 in /explorer ( #12588 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.78.1 to 0.78.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.78.1...v0.78.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 08:08:36 +00:00
Jack May
058bca6632
add sha256 syscall ( #12569 )
2020-09-29 23:29:20 -07:00
Trent Nelson
89424b29bf
Omit workspace Cargo.toml when incrementing version
2020-09-30 06:22:11 +00:00
Michael Vines
6c23197f37
"
2020-09-29 23:09:55 -07:00
Michael Vines
bc649da77d
Add missing implemented design proposals to docs sidebar
2020-09-29 22:55:50 -07:00
Trent Nelson
3c7b9c2938
Move remaining nonce utils from runtime to SDK
2020-09-30 05:45:42 +00:00
Trent Nelson
65b868f4eb
Move nonced tx helpers to SDK
2020-09-30 05:45:42 +00:00
Trent Nelson
caec631344
runtime: Move prepare_if_nonce_account into accounts
2020-09-30 05:45:42 +00:00
Michael Vines
f57af4fec2
epoch_rewards datapoint now includes the correct rewards epoch (previous epoch)
2020-09-29 22:44:02 -07:00
Jack May
575400c83f
Run tests with features on rather then off ( #12567 )
2020-09-29 20:18:28 -07:00
Jack May
90714941b7
Add rand dep error to app faq ( #12568 )
2020-09-29 20:16:53 -07:00
Michael Vines
6156dc300d
Tune the sys-tuner documentation
2020-09-30 01:04:29 +00:00
Jack May
777342a1ef
Add rand dependency test ( #12566 )
...
* Add rand dependency test
* nudge
2020-09-30 00:25:51 +00:00
Greg Fitzgerald
d158d45051
Fix banks RPC port ( #12570 )
...
* Fix Banks RPC ports
* Add get_account_with_commitment
2020-09-30 00:11:49 +00:00
Michael Vines
82848d6c73
Include active stake in 'epoch_rewards' datapoint
2020-09-29 16:50:10 -07:00
behzad nouri
537bbde22e
builds crds filters in parallel ( #12360 )
...
Based on run-time profiles, the majority time of new_pull_requests is
spent building bloom filters, in hashing and bit-vec ops.
This commit builds crds filters in parallel using rayon constructs. The
added benchmark shows ~5x speedup (4-core machine, 8 threads).
2020-09-29 23:06:02 +00:00
Tyera Eulberg
96a7d4dbd8
Query BigTable for block time if does not exist in blockstore ( #12560 )
2020-09-29 21:39:36 +00:00
Jack May
74fcb184b2
Pipe FeatureSet though InvokeContext ( #12536 )
...
* Pipe FeatureSet though InvokeContext
* gate program size cap
* nit
2020-09-29 21:36:30 +00:00
sakridge
ce98088457
Track inserted repair shreds ( #12455 )
2020-09-29 14:13:21 -07:00
Tyera Eulberg
adf06b635b
Enable json output from solana feature status ( #12554 )
2020-09-29 19:26:08 +00:00
Michael Vines
182552c2e7
Switch get_program_accounts to use base64
2020-09-29 11:44:10 -07:00
Michael Vines
f63034752d
fix: support new 'feature-set' field in getVersion RPC method
2020-09-29 11:40:39 -07:00
Trent Nelson
972619edb4
clap-utils: Allow nonce/offline args to be global
2020-09-29 10:42:49 -06:00
Justin Starry
36d55c0667
Increase rpc pubsub max payload to unblock large account notifications ( #12548 )
2020-09-30 00:09:39 +08:00
Jack May
b51c0f3095
Add programming faq ( #12545 )
...
* Add programming faq
* feedback and new content
* nudge
2020-09-29 16:06:54 +00:00
Justin Starry
65cc6a69c8
Fix history fetching and inner spl token instructions ( #12515 )
2020-09-29 21:24:01 +08:00
behzad nouri
0d5258b6d3
separates out ClusterInfo::{gossip,listen} thread-pools ( #12535 )
...
https://github.com/solana-labs/solana/pull/12402
moved gossip-work threads:
https://github.com/solana-labs/solana/blob/afd9bfc45/core/src/cluster_info.rs#L2330-L2334
to ClusterInfo::new as a new field in the ClusterInfo struct:
https://github.com/solana-labs/solana/blob/35208c5ee/core/src/cluster_info.rs#L249
So that they can be shared between listen and gossip threads:
https://github.com/solana-labs/solana/blob/afd9bfc45/core/src/gossip_service.rs#L54-L67
However, in testing https://github.com/solana-labs/solana/pull/12360
it turned out this will cause breakage:
https://buildkite.com/solana-labs/solana/builds/31646
https://buildkite.com/solana-labs/solana/builds/31651
https://buildkite.com/solana-labs/solana/builds/31655
Whereas with separate thread pools all is good. It might be the case
that one thread is slowing down the other by exhausting the thread-pool
whereas with separate thread-pools we get fair scheduling guarantees
from the os.
This commit reverts https://github.com/solana-labs/solana/pull/12402
and instead adds separate thread-pools for listen and gossip threads:
https://github.com/solana-labs/solana/blob/afd9bfc45/core/src/gossip_service.rs#L54-L67
2020-09-29 09:05:31 +00:00
behzad nouri
57ed4e4657
patches bug in Crds::find_old_labels with pubkey specific timeout ( #12528 )
...
Current code only returns values which are expired based on the default
timeout. Example from the added unit test:
- value inserted at time 0
- pubkey specific timeout = 1
- default timeout = 3
Then at now = 2, the value is expired, but the function fails to return
the value because it compares with the default timeout.
2020-09-29 09:04:40 +00:00
Jack May
2ff983647f
Move process_instruction defs to runtime ( #12507 )
2020-09-29 01:36:46 -07:00
Michael Vines
322dbd894f
feature subcommand: display active stake by feature id when feature activation is not available
2020-09-29 05:10:02 +00:00
Trent Nelson
ccb48f5ce9
cli-output: Add a path to handling --verbose and --quiet display
2020-09-29 04:33:57 +00:00
Michael Vines
c69ce29ee7
Add multinode-demo/setup-from-testnet.sh
2020-09-29 04:21:37 +00:00
Tyera Eulberg
89621adca7
Rpc -> proper optimistic confirmation ( #12514 )
...
* Add service to track the most recent optimistically confirmed bank
* Plumb service into ClusterInfoVoteListener and ReplayStage
* Clean up test
* Use OptimisticallyConfirmedBank in RPC
* Remove superfluous notifications from RpcSubscriptions
* Use crossbeam to avoid mpsc recv_timeout panic
* Review comments
* Remove superfluous last_checked_slots, but pass in OptimisticallyConfirmedBank for complete correctness
2020-09-28 20:43:05 -06:00
carllin
06f84c65f1
Fix rooted accounts cleanup, simplify locking ( #12194 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-09-28 16:04:46 -07:00
Tyera Eulberg
35208c5ee7
Enable commitment arg on solana deploy ( #12532 )
2020-09-28 16:24:38 -06:00
behzad nouri
c94fe9236f
purges old pending push messages more efficiently ( #12522 )
2020-09-28 21:59:59 +00:00
Michael Vines
833ad20b01
Add Builtin AbiExample
2020-09-28 12:50:19 -07:00
Michael Vines
31696a1d72
Port BPFLoader2 activation to FeatureSet and rework built-in program activation
2020-09-28 12:50:19 -07:00
Michael Vines
6071d0d206
Cargo.lock
2020-09-28 12:50:19 -07:00
Michael Vines
2956cc5aed
Add a couple feature tests
2020-09-28 12:24:09 -07:00
dependabot[bot]
0718501c72
chore: bump rocksdb from 0.14.0 to 0.15.0
...
Bumps [rocksdb](https://github.com/rust-rocksdb/rust-rocksdb ) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/rust-rocksdb/rust-rocksdb/releases )
- [Changelog](https://github.com/rust-rocksdb/rust-rocksdb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-rocksdb/rust-rocksdb/compare/v0.14.0...v0.15.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-28 09:52:31 -07:00
Michael Vines
f9a74b51ef
Add feature to resolve spl-token v2 multisig bug
2020-09-28 09:25:48 -07:00
Michael Vines
aa5c008fa8
Add pico-inflation feature
2020-09-28 08:25:00 -07:00
dependabot[bot]
718f33260b
chore:(deps): bump @solana/web3.js from 0.78.0 to 0.78.1 in /explorer ( #12518 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.78.0 to 0.78.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.78.0...v0.78.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-28 08:09:33 +00:00
sakridge
6583c8cffe
Add precompile verification to preflight ( #12486 )
2020-09-27 22:29:00 -07:00
Justin Starry
f0e02d2588
Display raw instruction data as hex in explorer ( #12512 )
2020-09-27 15:18:22 +08:00
Jack May
965f653471
Add copy-on-write executor cache ( #12502 )
...
* Add copy-on-write executor cache
* Add remove_executor function to the bank
2020-09-26 17:54:11 +00:00
Michael Vines
a36252bfa0
Remove continues from compute_active_feature_set()
2020-09-26 06:10:50 +00:00
Michael Vines
b15d6148dd
Deerror
2020-09-25 22:18:43 -07:00
dependabot[bot]
de04dcd9d6
chore: bump socket2 from 0.3.12 to 0.3.15
...
Bumps [socket2](https://github.com/alexcrichton/socket2-rs ) from 0.3.12 to 0.3.15.
- [Release notes](https://github.com/alexcrichton/socket2-rs/releases )
- [Commits](https://github.com/alexcrichton/socket2-rs/compare/0.3.12...v0.3.15 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-25 20:14:09 -07:00
carllin
00b36e6db2
Fix ref-count for multiple stores to the same pubkey in a slot, fixes zero lamport purge detection ( #12462 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-09-25 18:54:48 -07:00
Michael Vines
e50386f928
Add epoch rewards metric datapoint
2020-09-26 01:05:57 +00:00
Jack May
7c4822efb1
Nit: bpf test cleanup ( #12401 )
2020-09-25 17:02:48 -07:00
Michael Vines
5d6410c1cb
Port fix_recent_blockhashes_sysvar_delay to FeatureSet
2020-09-25 15:07:25 -07:00
Michael Vines
5dcf348098
Improve 'Failed to create snapshot archive' warning message
2020-09-25 20:02:49 +00:00
Trent Nelson
c9d12ad410
Revert "Ignore cargo audit RUSTSEC-2020-0008"
...
This reverts commit cd5c7f30d5 .
With bump of `jsonrpc-*` to 15.0.0, we no longer depend on `ws`
2020-09-25 19:30:47 +00:00
Trent Nelson
1014781b87
Bump jsonrpc-* to 15.0.0
2020-09-25 19:30:47 +00:00
Michael Vines
e39fac9f01
Rename active() to is_active()
2020-09-25 11:40:36 -07:00
Michael Vines
3a2b8c5e5b
cli review feedback
2020-09-25 11:40:36 -07:00
Michael Vines
199940d683
cargo fmt
2020-09-25 11:40:36 -07:00
Michael Vines
92406cf9a0
FeatureSet test
2020-09-25 11:40:36 -07:00
Michael Vines
cc6ba1e131
Remove id field
2020-09-25 11:40:36 -07:00
Michael Vines
7526bb96f3
Make test_process_rest_api less fragile
2020-09-25 11:40:36 -07:00
Michael Vines
93ed0ab2bb
Add feature management commands
2020-09-25 11:40:36 -07:00
Michael Vines
c10da16d7b
Port instructions sysvar and secp256k1 program activation to FeatureSet
2020-09-25 11:40:36 -07:00
Michael Vines
35f5f9fc7b
Add feature set identifier to gossiped version information
2020-09-25 11:40:36 -07:00
Michael Vines
93259f0bae
Runtime feature activation framework
2020-09-25 11:40:36 -07:00
Jack May
d00453f747
Drain the entire compute budget ( #12478 )
2020-09-25 18:08:10 +00:00
Josh
baeba41cfd
support new checked parsed instructions ( #12487 )
2020-09-25 10:03:55 -07:00
Jack May
cd5c7f30d5
Ignore cargo audit RUSTSEC-2020-0008
2020-09-25 09:53:13 -07:00
Jack May
d326512121
Add ComputeBudget tuner ( #12476 )
2020-09-25 09:01:22 -07:00
Jack May
b8c4b88188
Cleanup names, fix line dependent test ( #12477 )
2020-09-25 09:00:06 -07:00
Justin Starry
c94813e436
fix: use socket pooling for http requests in Node.js ( #12480 )
2020-09-25 23:52:01 +08:00
Justin Starry
1c970bb39f
Pre-construct cpi instruction recorders before message processing ( #12467 )
2020-09-25 20:42:28 +08:00
dependabot[bot]
b7d3ddbfe3
chore: bump rollup from 2.28.1 to 2.28.2 in /web3.js ( #12475 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.28.1 to 2.28.2.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.28.1...v2.28.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-25 08:22:14 +00:00
dependabot[bot]
0fb56fc61b
chore:(deps): bump @solana/web3.js from 0.77.0 to 0.78.0 in /explorer ( #12474 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.77.0 to 0.78.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.77.0...v0.78.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-25 08:09:55 +00:00
Trent Nelson
07dfa37cce
Add Signers impl for Vec<Box<dyn Signer>>
2020-09-25 07:12:04 +00:00
Trent Nelson
d95bce2600
cli-output: Add CliTokenAccount type
2020-09-24 21:50:06 -06:00
Trent Nelson
bb144bf758
account-decoder: Add string format helpers to UiTokenAmount
2020-09-24 21:50:06 -06:00
Tyera Eulberg
be7c30df35
Update Current Leader query ( #12465 )
2020-09-24 20:42:30 -06:00
Justin Starry
720f863937
feat: add preflightCommitment support ( #12451 )
2020-09-25 08:49:34 +08:00
dependabot[bot]
018cb5035a
chore: bump num-derive from 0.3.0 to 0.3.2
...
Bumps [num-derive](https://github.com/rust-num/num-derive ) from 0.3.0 to 0.3.2.
- [Release notes](https://github.com/rust-num/num-derive/releases )
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.3.0...num-derive-0.3.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-24 16:56:12 -07:00
Josh
1d04c1db94
introduce RpcPerfSample and modify getPerformanceSamples output ( #12434 )
...
* introduce RpcPerfSample and modify getPerformanceSamples output
* camelCase test results
2020-09-24 14:22:22 -07:00
Michael Vines
c4aee8c0a0
Remove legacy inflation activation code
2020-09-24 19:24:49 +00:00
behzad nouri
bb183938d9
adds an atomic variant of the bloom filter ( #12422 )
...
For crds_gossip_pull, we want to parallelize build_crds_filters, which
requires concurrent writes to bloom filters.
This commit implements a variant of the bloom filter which uses atomics
for its bits vector and so is thread-safe.
2020-09-24 18:37:19 +00:00
behzad nouri
42f1ef8acb
moves gossip-work thread pool cons to ClusterInfo::new ( #12402 )
2020-09-24 18:36:31 +00:00
Tyera Eulberg
a5c3fc14b3
Use publish=false ( #12447 )
2020-09-24 09:51:48 -06:00
dependabot[bot]
c979cc7da8
chore:(deps): bump @solana/web3.js from 0.76.0 to 0.77.0 in /explorer ( #12448 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.76.0 to 0.77.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.76.0...v0.77.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-24 22:36:38 +08:00
Justin Starry
6601ec8f26
Record and store invoked instructions in transaction meta ( #12311 )
...
* Record invoked instructions and store in transaction meta
* Enable cpi recording if transaction sender is some
* Rename invoked to innerInstructions
2020-09-24 22:36:22 +08:00
Tyera Eulberg
860ecdd376
Fix typos ( #12446 )
2020-09-24 07:53:30 +00:00
Jon Cinque
8a3b217530
chore: make lint for checking, lint:fix for fixing ( #12415 )
2020-09-24 09:45:57 +02:00
Justin Starry
ba7f7cca78
Fix explorer history refresh ( #12443 )
2020-09-24 14:27:28 +08:00
Tyera Eulberg
586501bb5e
Allow publishing of secp256k1 program
2020-09-24 00:15:44 -06:00
Justin Starry
59197fb368
Fix multisig signed instruction formatting on explorer ( #12439 )
2020-09-24 13:17:14 +08:00
Justin Starry
731a943239
Remove transaction encoding from storage layer ( #12404 )
2020-09-24 13:10:29 +08:00
Trent Nelson
215bbe85d8
Docs: Set realistic stake warm-up expectations for validators
2020-09-24 02:48:59 +00:00
sakridge
68e5a2ef56
Add RPC notify and banking keys debug ( #12396 )
2020-09-23 18:46:42 -07:00
Trent Nelson
7cab638297
Factor the rest of CLI offline module out to clap-utils and cli-output crates
2020-09-23 15:58:44 -06:00
Trent Nelson
325a7e9f86
Move CLI cli_output module to its own crate
2020-09-23 15:58:44 -06:00
Trent Nelson
ba353c2b1d
Move CLI blockhash_query module into client crate
2020-09-23 15:58:44 -06:00
Trent Nelson
0c58123b45
Move CLI Signer utils into clap-utils
2020-09-23 15:58:44 -06:00
Trent Nelson
be88e868bd
CLI: Drop unused helper
2020-09-23 15:58:44 -06:00
Trent Nelson
9a60353fa9
CLI: Encapsulate default signer attributes
2020-09-23 15:58:44 -06:00
Trent Nelson
eaf79152b3
CLI: Consolidate sign-only helpers
2020-09-23 15:58:44 -06:00
Trent Nelson
5e34af5a75
return_signers doesn't need a whole CliConfig
2020-09-23 15:58:44 -06:00
Trent Nelson
89cab47011
Move CLI fee payer arg into clap-utils
2020-09-23 15:58:44 -06:00
Trent Nelson
6cf74d1166
Move CLI offline args to clap-utils
2020-09-23 15:58:44 -06:00
Trent Nelson
3fb8428636
Move CLI nonce args to clap-utils
2020-09-23 15:58:44 -06:00
Trent Nelson
011b674d41
CLI: Remove unused KeypairEq type
2020-09-23 15:58:44 -06:00
Trent Nelson
a6533c3a21
Move CLI nonce account helpers in client
2020-09-23 15:58:44 -06:00
Trent Nelson
dda48e2d06
Move CliNonceError into client crate
2020-09-23 15:58:44 -06:00
carllin
55be8d4016
Move dropping AppendVecs outside lock ( #12408 )
...
* Move drop outside lock
Co-authored-by: Carl Lin <carl@solana.com >
2020-09-23 14:17:49 -07:00
Michael Vines
ff890c173c
RpcClient::get_multiple_accounts() now works
2020-09-23 13:37:57 -07:00
Tyera Eulberg
a713e3c92d
Document getConfirmedSignaturesForAddress2 until param ( #12424 )
2020-09-23 13:33:00 -06:00
Josh
de3801da24
introduce additional token instructions ( #12381 )
...
* introduce additional token instructions
* change instruction display names to 'Checked'
* display checked instruction amounts and labels nicely
2020-09-23 09:09:23 -07:00
Justin Starry
54775ffedf
feat: support restarting failed bpf loader deploys ( #12163 )
...
* feat: support restarting failed bpf loader deploys
* chore: add error message if program already exists
2020-09-23 22:54:27 +08:00
Josh
bb72cbe7ae
add token type on token instructions + symbol on amount ( #12398 )
2020-09-23 07:51:54 -07:00
Tyera Eulberg
6563726f22
Fix solana-tokens check_payer_balances for distribute-stake ( #12380 )
...
* Handle distribute-stakes properly
* Remove dry-run gating for balance checks
* Reword and simplify InsufficientFunds errors
* Split up test and add helpers
* Rename sol_for_fees -> unlocked_sol
* Refactor distribute_allocations to collect Messages
* Clippy
* Clean up dangling bids
2020-09-23 02:39:05 +00:00
Tyera Eulberg
1afb138a2c
A-Z deps
2020-09-22 18:03:53 -06:00
Tyera Eulberg
e1a212fb79
Bump spl-token ( #12395 )
2020-09-22 17:08:54 -06:00
Josh
65a6bfad09
Add blockstore column to store performance sampling data ( #12251 )
...
* Add blockstore column to store performance sampling data
* introduce timer and write performance metrics to blockstore
* introduce getRecentPerformanceSamples rpc
* only run on rpc nodes enabled with transaction history
* add unit tests for get_recent_performance_samples
* remove RpcResponse from rpc call
* refactor to use Instant::now and elapsed for timer
* switch to root bank and ensure not negative subraction
* Add PerfSamples to purge/compaction
* refactor to use Instant::now and elapsed for timer
* switch to root bank and ensure not negative subraction
* remove duplicate constants
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-09-22 12:26:32 -07:00
dependabot[bot]
afd9bfc45f
chore:(deps): bump @testing-library/user-event in /explorer ( #12389 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.1.5 to 12.1.6.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.5...v12.1.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-22 08:17:08 +00:00
dependabot[bot]
4955898e75
chore:(deps): bump @types/node from 14.11.1 to 14.11.2 in /explorer ( #12388 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.11.1 to 14.11.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-22 08:11:31 +00:00
Michael Vines
4fa443becf
Simplify cli node version output, display semver only by default
2020-09-22 07:03:43 +00:00
Bartosz Lipinski
ef60d0f5ba
explorer/: Deactivated stake accounts report as delegated ( #12262 )
...
* feat: add getStakeActivation to web3.js
* feat: add activation status to delegation card
* style: pretty
* feat: add epoch to getStakeActivation call
* feat: add unit test for getStakeActivation in web3.js
* feat: add test for getStakeActivation in web3.js
* feat: add getStakeActivation
* chore: add rollup watch
* feat: use string literal for stake activation state
* fix: dont display empty () for not delegated accounts
* fix: remove optional chaining due to issue with esdoc
* chore: remove optional_chaining
* feat: add live test for getStakeActivation
* feat: add active/inactive stake to account page
* feat: extend _buildArgs to support additional options, simplify unit test
* chore: update @solana/web3.js tp 0.76.0
* style: resolve linter issues
Co-authored-by: Justin Starry <justin@solana.com >
2020-09-22 13:41:39 +08:00
sakridge
7dd4de80eb
Add docs for secp256k1 and instruction introspection. ( #12369 )
2020-09-21 13:50:23 -07:00
Trent Nelson
6767264aa1
CLI: Drop unused runtime dep
2020-09-21 19:05:51 +00:00
Josh
02ba197a06
introduce new serum wrapped token labels ( #12342 )
2020-09-21 10:19:11 -07:00
dependabot[bot]
2cd404b8dd
chore: bump rpc-websockets from 7.4.5 to 7.4.6 in /web3.js ( #12367 )
...
Bumps [rpc-websockets](https://github.com/elpheria/rpc-websockets ) from 7.4.5 to 7.4.6.
- [Release notes](https://github.com/elpheria/rpc-websockets/releases )
- [Commits](https://github.com/elpheria/rpc-websockets/compare/v7.4.5...v7.4.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 09:00:47 +00:00
dependabot[bot]
f99151eab9
chore: bump rollup from 2.27.1 to 2.28.1 in /web3.js ( #12365 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.27.1 to 2.28.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.27.1...v2.28.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 08:58:01 +00:00
dependabot[bot]
c9b8b76793
chore: bump typescript from 4.0.2 to 4.0.3 in /web3.js ( #12363 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.2...v4.0.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 08:52:13 +00:00
dependabot[bot]
d23126a10c
chore:(deps): bump @types/react-select in /explorer ( #12364 )
...
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select ) from 3.0.19 to 3.0.20.
- [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-09-21 08:45:41 +00:00
dependabot[bot]
f13e4b64d6
chore:(deps): bump @sentry/react from 5.23.0 to 5.24.2 in /explorer ( #12362 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 5.23.0 to 5.24.2.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.23.0...5.24.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 08:35:36 +00:00
Jack May
65049bd112
Bump rust-bpf to v0.2.4 ( #12361 )
2020-09-20 23:10:50 +00:00
sakridge
22d8b3c3f8
Cleanup and feature gate instruction processing ( #12359 )
2020-09-20 10:58:12 -07:00
Michael Vines
65b247a922
Bind to correct RPC addresses
2020-09-20 07:32:25 +00:00
Michael Vines
76dada3118
Use validator_config for RPC address instead of cluster_info for port verification checks
2020-09-20 02:34:20 +00:00
sakridge
f561eb917f
Add way to look at tx instructions ( #11943 )
2020-09-19 12:17:46 -07:00
Michael Vines
cd852a5c22
Document that testnet has a faucet
2020-09-19 08:41:58 -07:00
Michael Vines
208dd1de3a
Move TestValidator into its own module
2020-09-19 08:35:26 -07:00
Michael Vines
1a03afccb1
validator/ cleanup
2020-09-19 08:35:26 -07:00
Ryo Onodera
cb8661bd49
Persistent tower ( #10718 )
...
* Save/restore Tower
* Avoid unwrap()
* Rebase cleanups
* Forcibly pass test
* Correct reconcilation of votes after validator resume
* d b g
* Add more tests
* fsync and fix test
* Add test
* Fix fmt
* Debug
* Fix tests...
* save
* Clarify error message and code cleaning around it
* Move most of code out of tower save hot codepath
* Proper comment for the lack of fsync on tower
* Clean up
* Clean up
* Simpler type alias
* Manage tower-restored ancestor slots without banks
* Add comment
* Extract long code blocks...
* Add comment
* Simplify returned tuple...
* Tweak too aggresive log
* Fix typo...
* Add test
* Update comment
* Improve test to require non-empty stray restored slots
* Measure tower save and dump all tower contents
* Log adjust and add threshold related assertions
* cleanup adjust
* Properly lower stray restored slots priority...
* Rust fmt
* Fix test....
* Clarify comments a bit and add TowerError::TooNew
* Further clean-up arround TowerError
* Truly create ancestors by excluding last vote slot
* Add comment for stray_restored_slots
* Add comment for stray_restored_slots
* Use BTreeSet
* Consider root_slot into post-replay adjustment
* Tweak logging
* Add test for stray_restored_ancestors
* Reorder some code
* Better names for unit tests
* Add frozen_abi to SavedTower
* Fold long lines
* Tweak stray ancestors and too old slot history
* Re-adjust error conditon of too old slot history
* Test normal ancestors is checked before stray ones
* Fix conflict, update tests, adjust behavior a bit
* Fix test
* Address review comments
* Last touch!
* Immediately after creating cleaning pr
* Revert stray slots
* Revert comment...
* Report error as metrics
* Revert not to panic! and ignore unfixable test...
* Normalize lockouts.root_slot more strictly
* Add comments for panic! and more assertions
* Proper initialize root without vote account
* Clarify code and comments based on review feedback
* Fix rebase
* Further simplify based on assured tower root
* Reorder code for more readability
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-19 14:03:54 +09:00
Tyera Eulberg
28f2c15597
Add get_token_account methods ( #12346 )
2020-09-18 20:45:13 -06:00
Michael Vines
0ed7b0561e
Improve error message when .config/solana/id.json is not found
2020-09-18 16:29:12 -07:00
Trent Nelson
a695561f86
💉
2020-09-18 21:25:30 +00:00
Trent Nelson
327c3d4154
Remove Ledger wallet approval output from examples
2020-09-18 21:25:30 +00:00
Trent Nelson
cee8db0da3
Listify newly created account properties
2020-09-18 21:25:30 +00:00
Trent Nelson
add08c673e
Justify installing spl-token
2020-09-18 21:25:30 +00:00
Trent Nelson
42b40b7d34
Withdraw is a verb
2020-09-18 21:25:30 +00:00
Trent Nelson
7ee07fd4e8
Apply suggestions from code review
...
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-09-18 21:25:30 +00:00
Trent Nelson
f52fdc8546
Update docs/src/integrations/exchange.md
...
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-09-18 21:25:30 +00:00
Trent Nelson
11a8abe3bf
Docs: Add SPL Token exchange integration
2020-09-18 21:25:30 +00:00
Tyera Eulberg
06906413ef
Unbreak 'Listening for Deposits' section ( #12338 )
2020-09-18 15:05:13 -06:00
Juha Vieresjoki
1211d8118c
common component for more readable slot numbers
2020-09-18 10:55:36 -07:00
Michael Vines
c4913e3c9e
SendTransactionServices now exit their thread on channel drop instead of by a flag
2020-09-18 17:29:10 +00:00
Michael Vines
75c3690ccd
Give the duplicate send_transaction_service a different thread name
2020-09-18 17:29:10 +00:00
Justin Starry
f03621d24a
Fix explorer token crash on unknown instruction ( #12329 )
2020-09-18 18:05:31 +08:00
dependabot[bot]
fdbb22dc07
chore: bump prettier from 2.1.1 to 2.1.2 in /web3.js ( #12328 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.1.1...2.1.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 09:40:01 +00:00
dependabot[bot]
77e3c3970c
chore: bump eslint-plugin-flowtype from 4.7.0 to 5.2.0 in /web3.js ( #12326 )
...
Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype ) from 4.7.0 to 5.2.0.
- [Release notes](https://github.com/gajus/eslint-plugin-flowtype/releases )
- [Commits](https://github.com/gajus/eslint-plugin-flowtype/compare/v4.7.0...v5.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 08:32:24 +00:00
dependabot[bot]
cf175fdc98
chore:(deps): bump @solana/web3.js from 0.75.2 to 0.76.0 in /explorer ( #12327 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.75.2 to 0.76.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.75.2...v0.76.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 08:26:50 +00:00
dependabot[bot]
1a0b791f9a
chore: bump semantic-release from 17.1.1 to 17.1.2 in /web3.js ( #12324 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 17.1.1 to 17.1.2.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.1.1...v17.1.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 08:24:40 +00:00
dependabot[bot]
22000f7dba
chore:(deps): bump @types/node from 14.10.3 to 14.11.1 in /explorer ( #12325 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.10.3 to 14.11.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 08:19:15 +00:00
carllin
3533e11786
Fix blockstore processor squash ( #12319 )
2020-09-17 21:33:08 -07:00
Tyera Eulberg
58542cf7f6
Add Pack and COption to sdk ( #12294 )
...
* Add COption to sdk
* Add Pack to sdk
* Except program_option from nits check
* No Default::default
2020-09-17 21:10:02 -06:00
Justin Starry
19f412b85c
Disable sentry in development and catch reporting errors ( #12321 )
2020-09-18 10:47:58 +08:00
behzad nouri
9b866d79fb
shards crds values based on their hash prefix ( #12187 )
...
filter_crds_values checks every crds filter against every hash value:
https://github.com/solana-labs/solana/blob/ee646aa7/core/src/crds_gossip_pull.rs#L432
which can be inefficient if the filter's bit-mask only matches small
portion of the entire crds table.
This commit shards crds values into separate tables based on shard_bits
first bits of their hash prefix. Given a (mask, mask_bits) filter,
filtering crds can be done by inspecting only relevant shards.
If CrdsFilter.mask_bits <= shard_bits, then precisely only the crds
values which match (mask, mask_bits) bit pattern are traversed.
If CrdsFilter.mask_bits > shard_bits, then approximately only
1/2^shard_bits of crds values are inspected.
Benchmarking on a gce cluster of 20 nodes, I see ~10% improvement in
generate_pull_responses metric, but with larger clusters, crds table and
2^mask_bits are both larger, so the impact should be more significant.
2020-09-17 14:05:16 +00:00
dependabot[bot]
5546b6b676
chore: bump rpc-websockets from 7.4.2 to 7.4.5 in /web3.js ( #12310 )
...
Bumps [rpc-websockets](https://github.com/elpheria/rpc-websockets ) from 7.4.2 to 7.4.5.
- [Release notes](https://github.com/elpheria/rpc-websockets/releases )
- [Commits](https://github.com/elpheria/rpc-websockets/compare/v7.4.2...v7.4.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 08:57:37 +00:00
dependabot[bot]
25b135fbaa
chore:(deps): bump @types/jest from 26.0.13 to 26.0.14 in /explorer ( #12309 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.13 to 26.0.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 08:44:11 +00:00
dependabot[bot]
7f2ccbff80
chore: bump @solana/spl-token from 0.0.7 to 0.0.10 in /web3.js ( #12308 )
...
Bumps [@solana/spl-token](https://github.com/solana-labs/solana-program-library ) from 0.0.7 to 0.0.10.
- [Release notes](https://github.com/solana-labs/solana-program-library/releases )
- [Commits](https://github.com/solana-labs/solana-program-library/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 08:35:17 +00:00
dependabot[bot]
287e2600af
chore: bump rollup from 2.26.11 to 2.27.1 in /web3.js ( #12306 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.26.11 to 2.27.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.26.11...v2.27.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 08:20:35 +00:00
dependabot[bot]
f2a854fea7
chore:(deps): bump @types/node from 14.10.2 to 14.10.3 in /explorer ( #12307 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.10.2 to 14.10.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 08:16:42 +00:00
Bartosz Lipinski
63db4759f8
feat: add getStakeActivation ( #12274 )
...
* feat: add getStakeActivation
* chore: add rollup watch
* feat: use string literal for stake activation state
* fix: remove optional chaining due to issue with esdoc
* chore: remove optional_chaining
* feat: add live test for getStakeActivation
* feat: extend _buildArgs to support additional options, simplify unit test
2020-09-17 14:50:13 +08:00
Justin Starry
8d6af087a2
Don't fetch token transaction history for accounts with many holdings ( #12304 )
2020-09-17 11:27:56 +08:00
dependabot[bot]
123e2a1cc1
chore: bump eslint from 6.8.0 to 7.9.0 in /web3.js ( #12207 )
...
* chore: bump eslint from 6.8.0 to 7.9.0 in /web3.js
Bumps [eslint](https://github.com/eslint/eslint ) from 6.8.0 to 7.9.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v6.8.0...v7.9.0 )
Signed-off-by: dependabot[bot] <support@github.com >
* chore: update eslint ignore
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com >
2020-09-17 03:12:00 +00:00
Michael Vines
9410eab2af
Restore --expected-shred-version argument for mainnet-beta
2020-09-16 18:05:41 -07:00
Tyera Eulberg
a79790dea6
Remove client resends ( #12290 )
...
* Remove resends from client send_tx methods
* Retry status queries until blockhash expires
2020-09-16 17:47:55 -06:00
Greg Fitzgerald
3ecb390b10
Fix panic in BanksServer ( #12293 )
...
Fixes #12167
2020-09-16 17:31:58 -06:00
Michael Vines
98cfe92745
Rework snapshot download logic to be more forgiving when --expected-shred-version is not provided
2020-09-16 20:34:02 +00:00
Trent Nelson
32dcce0ac1
RPC: Limit request payload size to 50kB
2020-09-16 20:21:59 +00:00
Justin Starry
f6cda2579f
Fix off-by-one max payload checks
2020-09-16 12:46:06 -07:00
Michael Vines
c231bb7154
Update index.js
2020-09-16 16:42:50 +00:00
Michael Vines
5d682d2e05
Fix 'Description will go into a meta tag in head' meta tag
2020-09-16 16:42:50 +00:00
Michael Vines
c6eea94edc
Remove stale comment
2020-09-16 08:42:26 -07:00
Michael Vines
749208fa32
RPC sendTransaction now returns transaction logs on simulation failure
2020-09-16 08:42:26 -07:00
Ryo Onodera
bb9c04895b
Fix failing window build on master on travis ( #12271 )
...
* Fix failing window build on master on travis
* Fix shellcheck
2020-09-16 17:46:33 +09:00
dependabot[bot]
5517d39dc4
chore:(deps): bump prettier from 2.1.1 to 2.1.2 in /explorer ( #12270 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.1.1...2.1.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 08:40:01 +00:00
dependabot[bot]
4516e5ad47
chore:(deps): bump @types/node from 14.10.1 to 14.10.2 in /explorer ( #12269 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.10.1 to 14.10.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 08:14:25 +00:00
Tyera Eulberg
a48cc073cf
solana-tokens: Add capability to perform the same transfer to a batch of recipients ( #12259 )
...
* Add transfer-amount argument, use simplified input-csv
* Add transfer-amount to readme
2020-09-15 22:53:30 -06:00
Trent Nelson
83f93fed02
CLI: Use Base58 encoding rather than deprecated Binary for TX decode
2020-09-16 04:36:50 +00:00
Tyera Eulberg
90a591da0e
Improve solana-tokens UX ( #12253 )
...
* Fix computed banks port
* Readme incorrect
* Return error if csv cannot be read
* Move column headers over columns
* Add dry-run check for sender/fee-payer balances
* Use clap requires method for paired args
* Write transaction-log anytime outfile is specified
* Replace campaign-name with required db-path
* Remove bids
* Exclude new_stake_account_address from logs for non-stake distributions
* Fix readme
2020-09-16 01:38:22 +00:00
sakridge
3930cb865a
Add keccak-secp256k1 instruction ( #11839 )
...
* Implement keccak-secp256k1 instruction
Verifies eth addreses with ecrecover function
* Move secp256k1 test
2020-09-15 18:23:21 -07:00
Michael Vines
7237e7065f
Github issues with 1 year of inactivity are now marked stale, and will be closed 7 days later.
2020-09-15 17:51:06 -07:00
Michael Vines
56282f0c01
validator-info get/set no longer crash on invalid account data
2020-09-15 16:59:17 -07:00
Jack May
5ab4109b7e
Add memory allocation support for C programs ( #12254 )
2020-09-15 16:42:20 -07:00
sakridge
3d4b9bb00d
Friendlier error message for mapping failures ( #12213 )
2020-09-15 15:43:17 -07:00
Ryo Onodera
3fc7ea74c4
Clarify RELEASE.md again
2020-09-16 03:45:44 +09:00
Ryo Onodera
96e21e30d5
Update release doc
...
This is something a second timer could bring in... xD
2020-09-16 02:46:36 +09:00
Michael Vines
4ada4d43f2
Drop the recommendation that --expected-shred-version be set by validators
...
`--expected-shred-version` is another knob for users to get wrong and is
documentation that can get stale due to cluster restarts. Turns out
it's also generally not required anymore either because:
1. The cluster entrypoint can always be expected to be using the correct
shred version, and that shred version will be adopted by the new node
(earlier this was not the case when the `solana-gossip spy` node on
mainnet-beta.solana.com:8001 ran with shred version 0)
2. On a cluster restart, `--expected-bank-hash` is a much stronger
assertion that the validator is starting from the correct place (and
didn't exist when `--expected-shred-version` was first recommended)
2020-09-15 10:24:20 -07:00
Ryo Onodera
b85e8497b5
Really skip private rpc port reachable checks ( #12239 )
2020-09-15 16:36:15 +00:00
Ryo Onodera
ee3f65d8ef
Clarify some release docs
...
This is something a first-timer can bring in. :)
2020-09-15 07:35:44 -07:00
dependabot[bot]
a60b950d5b
chore: bump @commitlint/travis-cli from 9.1.2 to 11.0.0 in /web3.js ( #12233 )
...
Bumps [@commitlint/travis-cli](https://github.com/conventional-changelog/commitlint ) from 9.1.2 to 11.0.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v11.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 08:17:26 +00:00
dependabot[bot]
f1c9f3250f
chore:(deps): bump @testing-library/user-event in /explorer ( #12235 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.1.4 to 12.1.5.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.4...v12.1.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 08:12:43 +00:00
dependabot[bot]
44a88c8156
chore:(deps): bump @types/node from 14.10.0 to 14.10.1 in /explorer ( #12234 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.10.0 to 14.10.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 08:10:08 +00:00
Ryo Onodera
629572831b
Enable retirement of rent collect in Bank::deposit() on testnet ( #12223 )
2020-09-15 06:49:26 +00:00
Ryo Onodera
241e6f1ecf
Enable stricter check on rent-exempt accounts on testnet ( #12224 )
2020-09-15 06:48:48 +00:00
Ryo Onodera
7d48339b7c
Enable eager-rent-collect-across-gapped-epochs bugfix ( #12219 )
2020-09-15 14:13:40 +09:00
Ryo Onodera
c1e76fd5f7
Fix build breakage ( #12220 )
2020-09-15 13:04:04 +09:00
Michael Vines
c8f03c7f6d
Documenet how to reduce validator port exposure
2020-09-14 20:18:27 -07:00
Michael Vines
daae638781
Add --gossip-validator argument
2020-09-14 20:18:27 -07:00
Michael Vines
63a67f415e
Add --restricted-repair-only-mode flag
2020-09-14 20:18:27 -07:00
Jack May
3278d78f08
Cache re-usable work performed by the loader ( #12135 )
2020-09-14 17:42:37 -07:00
Trent Nelson
af2262cbba
Faucet: Improve error handling
2020-09-14 18:26:52 -06:00
Trent Nelson
f50ed35c6d
net.sh: $extraPrimordialStakes is never empty
2020-09-14 19:27:26 +00:00
dependabot[bot]
a433f3347f
chore: bump @commitlint/config-conventional in /web3.js ( #12205 )
...
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint ) from 9.1.2 to 11.0.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v11.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 08:32:37 +00:00
dependabot[bot]
5bfb6e60a1
chore:(deps): bump @solana/web3.js from 0.75.0 to 0.75.2 in /explorer ( #12204 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.75.0 to 0.75.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.75.0...v0.75.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 08:21:28 +00:00
dependabot[bot]
1e08d59ee7
chore:(deps): bump @testing-library/react in /explorer ( #12203 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 11.0.2 to 11.0.4.
- [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/v11.0.2...v11.0.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 08:21:16 +00:00
Michael Vines
04bb33ad16
Sort the validator identities
2020-09-13 18:17:26 +00:00
Michael Vines
917a6784cf
Correctly identify the Solana boot nodes
2020-09-13 18:17:26 +00:00
behzad nouri
d6ec03f13c
patches default impl for crds filter ( #12199 )
...
In CrdsFilter.mask all bits after mask_bits are set to 1:
https://github.com/solana-labs/solana/blob/555252f4/core/src/crds_gossip_pull.rs#L65
However the default implementation, sets both mask and mask_bits to zero
which is inconsistent with CrdsFilter::compute_mask for a mask_bits of
zero.
This commit changes the default implementation by setting mask to
`!0u64` (i.e all bits set to one). As a result, for the default crds
filter, `test_mask` will always return true, whereas previously it was
always returning false.
https://github.com/solana-labs/solana/blob/555252f4/core/src/crds_gossip_pull.rs#L85
This is only used in tests and benchmarks, but causes some benchmarks to
be misleading by short circuiting in this line:
https://github.com/solana-labs/solana/blob/555252f4/core/src/crds_gossip_pull.rs#L429
2020-09-13 13:08:25 +00:00
Michael Vines
a4cec5c189
chore: remove unnecessary if condition
2020-09-13 07:20:14 +00:00
Michael Vines
a59d305e09
fix: support serialization of partially signed transactions
2020-09-13 07:20:14 +00:00
Justin Starry
4bb6c2fffb
fix: ensure signatures are ordered correctly ( #12165 )
2020-09-13 09:30:51 +08:00
Jack May
555252f435
Make noop a real noop ( #12196 )
...
* Make noop a real noop
* nudge
2020-09-12 01:49:00 +00:00
Jack May
daba17a95c
Nit, short name ( #12195 )
2020-09-12 01:32:38 +00:00
Trent Nelson
05de260216
CI: Don't overwrite pre-existing $CHANNEL
2020-09-11 22:11:55 +00:00
Dan Albert
9dabcfc388
Add Solana nodes to stake-o-matic ( #12190 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-09-11 20:22:48 +00:00
Dan Albert
ce12c1e7a2
Sort MB validator list and add September entrants ( #12170 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-09-11 13:13:38 -06:00
carllin
3c69cd6d61
Update commitment options ( #12173 )
2020-09-11 11:19:06 -07:00
Michael Vines
bdf5274d18
Default snapshot compression is now included in --help output
2020-09-11 18:08:34 +00:00
Jack May
ae7b15f062
Gate pointer alignment enforcement ( #12176 )
2020-09-11 11:07:03 -07:00
Ryo Onodera
de4a613610
Check bank capitalization ( #11927 )
...
* Check bank capitalization
* Simplify and unify capitalization calculation
* Improve and add tests
* Avoid overflow and inhibit automatic restart
* Fix test
* Tweak checked sum for cap. and add tests
* Fix broken build after merge conflicts..
* Rename to ClusterType
* Rename confusing method
* Clarify comment
* Verify cap. in rent and inflation tests
Co-authored-by: Stephen Akridge <sakridge@gmail.com >
2020-09-12 01:48:06 +09:00
Jon Cinque
f27665662c
web3: Fix docker ps commands in localnet.sh for Travis ( #12183 )
2020-09-11 18:34:27 +02:00
Trent Nelson
711f3488f1
testnet-autmation: Add rolling software upgrade script
2020-09-11 10:19:10 -06:00
Trent Nelson
8064da306f
wallet-sanity: Wait for node readiness at max commitment
2020-09-11 10:19:10 -06:00
Trent Nelson
ff88c96549
net.sh: Skip validator accounts creation if primordial
2020-09-11 10:19:10 -06:00
Trent Nelson
33abd11a47
testnet-automation: Support --extra-primordial-stakes
2020-09-11 10:19:10 -06:00
Trent Nelson
45d09b33ad
net.sh: Smarter wait slot resolution for --extra-primordial-stakes
2020-09-11 10:19:10 -06:00
R. M. Shea
cade92d2b4
Update logo ( #12026 )
...
* update to a new logo!
Co-authored-by: Ryan Shea <rmshea@users.noreply.github.com >
2020-09-11 10:23:54 -04:00
carllin
9c490e06b0
Fix propagation on startup from snapshot ( #12177 )
2020-09-11 02:03:11 -07:00
dependabot[bot]
484c8cb8a8
chore: bump @babel/runtime from 7.10.5 to 7.11.2 in /web3.js ( #12180 )
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.10.5 to 7.11.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.2/packages/babel-runtime )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 08:31:51 +00:00
dependabot[bot]
6b35ba9f1a
chore: bump jest from 26.1.0 to 26.4.2 in /web3.js ( #12179 )
...
Bumps [jest](https://github.com/facebook/jest ) from 26.1.0 to 26.4.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v26.1.0...v26.4.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 08:30:03 +00:00
dependabot[bot]
23d1f234a8
chore:(deps): bump @types/node from 14.6.4 to 14.10.0 in /explorer ( #12178 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.6.4 to 14.10.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 08:06:34 +00:00
Michael Vines
91d5b0b30c
Update bootstrap-validator.sh
2020-09-10 14:03:15 -07:00
Michael Vines
6f325d4594
solana-validator --rpc-bind-address argument now works as expected
2020-09-10 13:36:13 -07:00
Tyera Eulberg
361e5322e4
Update commitment options ( #12171 )
2020-09-10 13:34:25 -06:00
Jack May
fd47d38e59
Calc size ahead of time to alloc once ( #12154 )
2020-09-10 11:13:35 -07:00
dependabot[bot]
c575f45e24
chore: bump @babel/plugin-proposal-function-bind in /web3.js ( #12161 )
...
Bumps [@babel/plugin-proposal-function-bind](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-function-bind ) from 7.10.5 to 7.11.5.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.5/packages/babel-plugin-proposal-function-bind )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 08:23:01 +00:00
dependabot[bot]
492858029b
chore:(deps): bump @solana/web3.js from 0.73.0 to 0.75.0 in /explorer ( #12158 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.73.0 to 0.75.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.73.0...v0.75.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 08:21:50 +00:00
dependabot[bot]
1ee2b4e409
chore: bump @babel/plugin-transform-runtime in /web3.js ( #12160 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.11.0 to 7.11.5.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.5/packages/babel-plugin-transform-runtime )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 08:21:44 +00:00
dependabot[bot]
e610247185
chore: bump rollup-plugin-terser from 7.0.0 to 7.0.2 in /web3.js ( #12159 )
...
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser ) from 7.0.0 to 7.0.2.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases )
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v7.0.0...v7.0.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 08:19:21 +00:00
dependabot[bot]
11df22d89b
chore:(deps): bump @sentry/react from 5.22.3 to 5.23.0 in /explorer ( #12157 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 5.22.3 to 5.23.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.22.3...5.23.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 08:07:02 +00:00
Justin Starry
7e1682db7d
feat: create instructions instead of transaction from system program ( #12156 )
2020-09-10 15:43:32 +08:00
Justin Starry
e1abb64f41
feat: require feePayer account before tx serialization ( #12109 )
...
* feat: require feePayer account before tx serialization
* feat: add setSigners method
* feat: rename signPartial to partialSign
2020-09-10 14:04:09 +08:00
Michael Vines
10ce839ec0
Speed up bigtable transaction-history command
2020-09-10 05:22:10 +00:00
Michael Vines
1db5c9d346
Include transaction index
2020-09-10 05:22:10 +00:00
Michael Vines
8143ea0dea
Add bigtable transaction-history --query-chunk-size argument
2020-09-09 20:37:20 -07:00
Trent Nelson
de3a2eff22
net.sh: Don't force --warp-slot w/o --wait-for-supermajority
2020-09-10 02:57:39 +00:00
Greg Fitzgerald
cd684577a6
chore: add integration test ( #12143 )
2020-09-09 23:32:50 +00:00
Tyera Eulberg
4431080066
Program subscriptions now properly check results len and token program id ( #12139 )
2020-09-09 21:07:29 +00:00
Alexandre Esteves
0a80e83cce
README: fix dead link ( #12137 )
2020-09-09 13:05:21 -06:00
Alexandre Esteves
1e116bba0b
Recommend latest stable version of rustc in readme
2020-09-09 10:39:33 -07:00
Alexandre Esteves
e0468db113
Update minimum rustc version to 1.45.0 in readme
2020-09-09 10:39:33 -07:00
Tyera Eulberg
05db41fe9c
Cache block time in Blockstore ( #11955 )
...
* Add blockstore column to cache block times
* Add method to cache block time
* Add service to cache block time
* Update rpc getBlockTime to use new method, and refactor blockstore slightly
* Return block_time with confirmed block, if available
* Add measure and warning to cache-block-time
2020-09-09 09:33:14 -06:00
behzad nouri
28f2fa3fd5
uses rust intrinsics to convert hashes to u64 ( #12097 )
2020-09-09 15:28:17 +00:00
sakridge
697e004e0d
Add feature to RPC dos ( #12119 )
2020-09-09 08:21:48 -07:00
dependabot[bot]
ec5573ca4b
chore: bump rollup from 2.26.4 to 2.26.11 in /web3.js ( #12131 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.26.4 to 2.26.11.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.26.4...v2.26.11 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 08:52:41 +00:00
dependabot[bot]
080b896796
chore: bump @babel/preset-env from 7.11.0 to 7.11.5 in /web3.js ( #12130 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.11.0 to 7.11.5.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.5/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 08:48:10 +00:00
dependabot[bot]
c5037ec196
chore: bump @babel/core from 7.11.4 to 7.11.6 in /web3.js ( #12129 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.11.4 to 7.11.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.6/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 08:43:13 +00:00
dependabot[bot]
ef8eced081
chore:(deps): bump @testing-library/user-event in /explorer ( #12128 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.1.3 to 12.1.4.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.3...v12.1.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 08:27:05 +00:00
Trent Nelson
775340c6f3
net.sh: Support multiple validators with active stake from the start
2020-09-09 05:38:46 +00:00
Michael Vines
f54941fa15
Activate new bpf loader on devnet
2020-09-08 21:46:45 -07:00
dependabot[bot]
502e93f55b
chore: bump tarpc from 0.21.0 to 0.22.0 ( #11923 )
...
* chore: bump tarpc from 0.21.0 to 0.22.0
Bumps [tarpc](https://github.com/google/tarpc ) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/google/tarpc/releases )
- [Changelog](https://github.com/google/tarpc/blob/master/RELEASES.md )
- [Commits](https://github.com/google/tarpc/commits )
Signed-off-by: dependabot[bot] <support@github.com >
* Fix build
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-09-08 21:22:22 -06:00
Ryo Onodera
c274e26eb8
Prevent unbound memory growth by blockstore_processor ( #12110 )
...
* Prevent unbound memory growth by blockstore_processor
* Promote log to info! considering infrequency
* Exclude the time of freeing from interval...
* Skip not-shrinkable slots even if forced
* Add comment
2020-09-09 12:05:10 +09:00
Dan Albert
0abf4db82e
Update validator_list.rs
2020-09-08 19:56:20 -06:00
Ryo Onodera
5b2442d54e
Reduce cap by rent's leftover as temporary measure ( #12111 )
...
* Reduce cap by rent's leftover as temporary measure
* Reset testnet cap. on start and more logs
2020-09-09 03:53:48 +09:00
Michael Vines
9e96180ce4
getMinimumBalanceForRentExemption now only responds to valid account lengths
2020-09-08 17:48:09 +00:00
R. M. Shea
073cee0143
Update explorer logos ( #12027 )
...
Co-authored-by: Ryan Shea <rmshea@users.noreply.github.com >
2020-09-08 08:57:44 -07:00
Josh
323df5407a
explorer: Improve display of serum dex instructions and provide labels to market pairs ( #11985 )
...
* explorer: Improve display of Serum dex program instructions
* fix formatting
* add market pairs labels for serum addresses
* update serum market registry, remove truncate right
* update serum market labels
* update serum market labels and show label on token details page
* add try catch, simplify to just return title
* remove random space
* add sentry exception handler
* remove extra space
2020-09-08 08:57:17 -07:00
Josh
272132fcc2
explorer: 11939 normalize token values largest table ( #11952 )
...
* render consistent fixed point on balance, add tilde for approximation
* run format fix
* add comment
* make number values monospaced and add comma formatting
2020-09-08 08:33:40 -07:00
Ryo Onodera
53b8ea4464
Rename to ClusterType and restore devnet compat. ( #12068 )
...
* Rename to ClusterType and restore devnet compat.
* De-duplicate parse code and add comments
* Adjust default Devnet genesis & reduce it in tests
2020-09-08 23:55:09 +09:00
anatoly yakovenko
c67f8bd821
Forward transactions to the expected leader instead of your own TPU port ( #12004 )
...
* Use PoHRecorder to send to the right leader
* cleanup
* fmt
* clippy
* Cleanup, fix bug
Co-authored-by: Carl <carl@solana.com >
2020-09-08 17:00:49 +08:00
dependabot[bot]
9eebaa2e59
chore: bump node-fetch from 2.6.0 to 2.6.1 in /web3.js ( #12105 )
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 08:27:44 +00:00
dependabot[bot]
49b3d51e57
chore: bump prettier from 2.0.5 to 2.1.1 in /web3.js ( #12107 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.0.5 to 2.1.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.0.5...2.1.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 08:22:28 +00:00
dependabot[bot]
529c7fe683
chore: bump acorn from 7.4.0 to 8.0.1 in /web3.js ( #12106 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 7.4.0 to 8.0.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/7.4.0...8.0.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 08:21:22 +00:00
dependabot[bot]
b0a2a8b645
chore:(deps): bump @solana/web3.js from 0.71.14 to 0.73.0 in /explorer ( #12104 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.71.14 to 0.73.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.71.14...v0.73.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 08:06:51 +00:00
Justin Starry
11b199cccf
feat: use pubsub to confirm transactions ( #12095 )
2020-09-08 13:12:47 +08:00
Justin Starry
9940870c89
Fix RPC transaction method configs serialization ( #12100 )
2020-09-08 13:08:09 +08:00
Michael Vines
2665c5b3c2
Add --show-transactions flag to bigtable transaction-history command
2020-09-07 21:34:11 -07:00
dependabot[bot]
4013447c08
chore: bump @typescript-eslint/eslint-plugin in /web3.js ( #12090 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 3.10.1 to 4.0.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.0.0/packages/eslint-plugin )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 04:08:51 +00:00
Justin Starry
cfe9b8b744
feat: add idle timeout and fix subscription race ( #12093 )
2020-09-07 23:12:22 +08:00
dependabot[bot]
ee646aa7a2
chore: bump @commitlint/config-conventional in /web3.js ( #12091 )
...
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint ) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 08:25:47 +00:00
dependabot[bot]
1e3b1d324f
chore:(deps): bump @types/jest from 26.0.12 to 26.0.13 in /explorer ( #12089 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.12 to 26.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 08:07:48 +00:00
dependabot[bot]
649dcac2ec
chore:(deps): bump @solana/web3.js from 0.71.11 to 0.71.14 in /explorer ( #12088 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.71.11 to 0.71.14.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.71.11...v0.71.14 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 08:07:27 +00:00
Michael Vines
9ade73841f
Default snapshot compression to zstd instead of bzip2 for quicker snapshot generation
2020-09-06 22:48:12 -07:00
Michael Vines
d3750b47d2
Compress snapshot archive within the validator to reduce system dependencies
2020-09-06 22:48:12 -07:00
Justin Starry
d4cbd0d171
fix: use heartbeat to keep ws connection alive ( #12079 )
2020-09-07 10:24:16 +08:00
Michael Vines
27752c4e4d
Add block command
2020-09-06 12:45:32 -07:00
Michael Vines
6677996369
Add first-available-block command
2020-09-06 12:45:32 -07:00
Justin Starry
b529fc7fb9
fix: update rpc-websockets to fix reconnect issue ( #12081 )
2020-09-06 19:10:40 +08:00
Justin Starry
369d376d10
Fix signaure subscription panic ( #12077 )
2020-09-06 14:33:12 +08:00
Justin Starry
3b1dbfcce2
fix: update rpc-websockets to fix notification race ( #12074 )
2020-09-06 13:33:30 +08:00
Justin Starry
6367d02277
chore: update typescript-eslint dependencies ( #12076 )
2020-09-06 13:09:22 +08:00
Ryo Onodera
eabc63cdcd
Fix bad predicate with malformed gossip votes ( #12072 )
2020-09-06 13:27:50 +09:00
Diego Wilson
69e7e0129e
Correct minor typo in turbine-block-propagation.md ( #12073 )
...
Calcuating -> Calculating
2020-09-05 18:03:53 -06:00
Michael Vines
2332dd774f
Add --show-transactions flag to transaction-history command
2020-09-05 08:45:49 -07:00
Paul
3bd3795e2c
chore: improve docs for Connection.confirmTransaction method ( #11889 )
...
Co-authored-by: Paul Schaaf <paul.schaaf@maibornwolff.de >
2020-09-05 15:34:03 +08:00
dependabot[bot]
023bb8f150
chore: bump typescript from 3.9.7 to 4.0.2 in /web3.js ( #11925 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 3.9.7 to 4.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.7...v4.0.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-05 15:31:56 +08:00
Justin Starry
14f3bafe6f
Bump web3 and add bpf loaders to search results ( #12066 )
2020-09-05 15:08:05 +08:00
Justin Starry
f90e56e6c7
Fix token instruction parsing ( #12065 )
2020-09-05 14:34:54 +08:00
Tyera Eulberg
879c98efeb
Bigtable bug fixes ( #12058 )
...
* Accommodate stricted get_bincode_cell in get_confirmed_signatures_for_address
* Sort signatures newest-oldest, even within slot
2020-09-04 20:29:11 -06:00
Michael Vines
b64fb295a1
Add LARGEST_CONFIRMED_ROOT_UPLOAD_DELAY
2020-09-04 16:01:49 -07:00
Michael Vines
4ba43c29ce
Request correct access
2020-09-04 16:01:49 -07:00
Michael Vines
cd3c134b58
Remove dead code
2020-09-04 16:01:49 -07:00
Michael Vines
d3611f74c8
Add exit flag for bigtable upload operations
2020-09-04 16:01:49 -07:00
Michael Vines
bafdcf24f5
Add BigTableUploadService
2020-09-04 16:01:49 -07:00
Michael Vines
bc7731b969
Add BigTableUploadService
2020-09-04 16:01:49 -07:00
Michael Vines
2b8a521562
Cargo.lock
2020-09-04 16:01:49 -07:00
Michael Vines
91a56caed2
Relocate BigTable uploader to ledger/ crate
2020-09-04 16:01:49 -07:00
Michael Vines
d8e2038dda
Add --enable-bigtable-ledger-upload flag
2020-09-04 16:01:49 -07:00
carllin
a13efc52b3
Add unlock epochs for blake3 ( #12054 )
...
Co-authored-by: Carl <carl@solana.com >
2020-09-04 15:21:15 -07:00
Tyera Eulberg
954b017f85
Bump getMultipleAccounts input limit ( #12050 )
2020-09-04 17:51:28 +00:00
Justin Starry
24f551a9e8
fix: speed up get leader schedule ( #12049 )
2020-09-05 00:33:23 +08:00
Justin Starry
055ed72cd9
Add label for break solana program account ( #12047 )
2020-09-04 21:09:13 +08:00
behzad nouri
114c211b66
adds new CrdsFilterSet type for Vec<CrdsFilter> ( #12029 )
2020-09-04 13:04:47 +00:00
dependabot[bot]
e2aaa6706c
chore:(deps): bump @testing-library/react in /explorer ( #12046 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 10.4.9 to 11.0.2.
- [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.9...v11.0.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-04 08:18:12 +00:00
dependabot[bot]
1e7ae7185b
chore:(deps): bump @types/node from 14.6.2 to 14.6.4 in /explorer ( #12045 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.6.2 to 14.6.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-04 08:11:51 +00:00
pk
38f36a7a7a
fix solana-install syntax
...
```
solana-install info
solana-install deploy
solana-install update
solana-install run
```
2020-09-03 22:27:52 -07:00
Tyera Eulberg
39246f9dd7
Revert signature-notification format change ( #12032 )
...
* Use untagged RpcSignatureResult enum to avoid breaking downstream consumers of current signature subscriptions
* Clean up client duplication
* Clippy
2020-09-03 18:14:45 -06:00
Greg Fitzgerald
2c091e4fca
Mark a withdraw authority as non-circulating ( #12033 )
2020-09-03 23:45:49 +00:00
sakridge
8068566f20
secp256k1 instruction proposal ( #11980 )
2020-09-03 15:59:22 -07:00
Trent Nelson
dff8242887
Don't query modern Ledger wallet app version with deprecated payload size
2020-09-03 20:51:33 +00:00
behzad nouri
bc7adb97ed
builds crds filters without looping over filters ( #11998 )
2020-09-03 20:32:23 +00:00
Tyera Eulberg
90fad36613
Use new_response for consistency
2020-09-03 12:02:26 -06:00
Josh
28cf896a64
explorer: make wrapped sol available through search ( #12003 )
...
* make wrapped sol available through search
* fix formatting
* remove existing wrapped sol constant from utils/tx
2020-09-03 10:38:49 -07:00
Tyera Eulberg
b22de369b7
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
2020-09-03 11:35:06 -06:00
Tyera Eulberg
b940da4040
Update token amounts in parsed instructions to retain full precision ( #12020 )
2020-09-03 11:34:52 -06:00
carllin
3f39ab1e04
Fix forwarding calculation ( #12014 )
...
Co-authored-by: Carl <carl@solana.com >
2020-09-03 02:31:28 -07:00
dependabot[bot]
bd7be8401f
chore:(deps): bump @types/react from 16.9.48 to 16.9.49 in /explorer ( #12015 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.48 to 16.9.49.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-03 08:09:55 +00:00
Ryo Onodera
36a294aae0
Fix test ( #12013 )
2020-09-03 16:28:54 +09:00
Ryo Onodera
fb71ee60aa
Purge storage rewards from accounts db for testnet ( #11996 )
...
* Purge storage rewards from accounts db for testnet
* Fix test failing only on stable
2020-09-03 15:42:27 +09:00
Ryo Onodera
4b1cb51a3e
Move forward token2 native mint testnet epoch ( #12007 )
2020-09-03 06:38:51 +00:00
Ryo Onodera
89bca6110a
Clarify comments and names in inflation code ( #11977 )
2020-09-03 14:15:12 +09:00
Michael Vines
29cfbce21d
Revert "Remove ::solana_sdk hack ( #11326 )"
...
This reverts commit c099b29b36 .
2020-09-02 15:24:38 -07:00
Michael Vines
da1b480bd3
Update CI to Rust 1.46.0
2020-09-02 15:24:38 -07:00
Dan Albert
e525999d59
Add missing testnet pubkeys and remove duplicates ( #12000 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-09-02 20:19:09 +00:00
Tyera Eulberg
b041afe1be
Bigtable method to return a single row of data ( #11999 )
2020-09-02 13:41:25 -06:00
dependabot[bot]
7bc9eddb99
chore:(deps): bump @types/node from 14.6.0 to 14.6.2 in /explorer ( #11995 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.6.0 to 14.6.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-02 08:16:26 +00:00
carllin
af08221aec
Switch account hashing to blake3 ( #11969 )
...
* Switch account hashing to blake3
Co-authored-by: Carl <carl@solana.com >
2020-09-02 00:37:36 -07:00
carllin
2ed6a457b4
Revert Cargo.toml ( #11989 )
...
Co-authored-by: Carl <carl@solana.com >
2020-09-02 00:36:53 -07:00
Ryo Onodera
46aac4819a
Use conventional special self notation ( #11990 )
2020-09-02 06:49:34 +00:00
carllin
1c1a3f979d
Detect and notify when deserializable shreds are available ( #11816 )
...
* Add logic to check for complete data ranges
* Add RPC signature notification
Co-authored-by: Carl <carl@solana.com >
2020-09-01 22:06:06 -07:00
Dan Albert
7568bb573f
Update validator_list.rs
2020-09-01 18:37:20 -06:00
Jack May
fab2d44abd
Add BPF test program instruction monitoring ( #11984 )
2020-09-01 17:25:55 -07:00
Dan Albert
213196212e
Update validator_list.rs
2020-09-01 14:32:16 -06:00
Dan Albert
8f22887c45
Update validator_list.rs
2020-09-01 14:00:07 -06:00
Tyera Eulberg
b720921c83
Docs.rs version replacement ( #11981 )
2020-09-01 13:47:29 -06:00
Dan Albert
d57f021057
Update validator_list.rs
2020-09-01 13:05:42 -06:00
Dan Albert
721393ce12
Update validator_list.rs
2020-09-01 12:41:13 -06:00
Dan Albert
12eb0af3d1
Update validator_list.rs
2020-09-01 12:21:57 -06:00
Jack May
e048e08dae
fix: update Pubkey typescript bindings ( #11971 )
2020-09-01 11:14:41 -07:00
Dan Albert
27050f1ee4
Update validator_list.rs
2020-09-01 11:59:39 -06:00
Justin Starry
d1c08d0b04
chore: fix token tests ( #11975 )
2020-09-01 10:58:40 -07:00
Michael Vines
7341e60043
Ensure that the spl-token 2 native mint account is owned by the spl-token 2 program.
...
Workaround for https://github.com/solana-labs/solana-program-library/issues/374 until spl-token 3 is shipped
2020-09-01 17:09:36 +00:00
Josh
53a900a28c
explorer: 11938 display owner in token distribution table ( #11953 )
...
* include owner on largest token distribution tab
* run format:fix
2020-09-01 09:21:47 -07:00
Dan Albert
839b926e0b
Update validator_list.rs
2020-09-01 10:16:49 -06:00
Dan Albert
c177d3c33e
Update validator_list.rs
2020-09-01 10:10:58 -06:00
Ryo Onodera
11ac4eb21d
Add tests for the Debug and activation Vecs ( #11926 )
...
* Add tests for the Debug and activation Vecs
* Rename a bit
2020-09-01 17:48:25 +09:00
dependabot[bot]
07ecb56753
chore:(deps): bump @types/jest from 26.0.10 to 26.0.12 in /explorer ( #11967 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.10 to 26.0.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-01 08:06:42 +00:00
Jack May
0ed360b5e5
fix program test stubs ( #11956 )
...
* fix program tset stubs
* nudge
2020-08-31 21:48:16 -07:00
Justin Starry
2de7768f41
Remove cached transactions from explorer and update copy ( #11965 )
2020-09-01 12:46:19 +08:00
carllin
7641b60a2b
Remove log ( #11949 )
...
Co-authored-by: Carl <carl@solana.com >
2020-08-31 16:40:22 -07:00
Richard Ayotte
a19f696a42
Add missing backslash to solana-validator command
2020-08-31 16:27:42 -07:00
Jack May
d167feda98
fix: bn clipping in create_program_address ( #11951 )
2020-08-31 15:02:21 -07:00
Jack May
ae0fd3043a
Add support for deprecated loader ( #11946 )
2020-08-31 14:06:58 -07:00
sakridge
9b9d559312
Increase message_processor logging to error level ( #11945 )
2020-08-31 13:11:12 -07:00
Michael Vines
278f2fe078
Remove secrets not required by the main public CI
2020-08-31 11:05:28 -07:00
Michael Vines
f78594dfc1
Remove unused GEOLOCATION_API_KEY
2020-08-31 11:05:28 -07:00
Leopold Schabel
8f578bfddb
Remove evil whitespace
2020-08-31 09:03:39 -07:00
Leopold Schabel
48e5a11d68
stake-o-matic: add Certus One testnet validator
2020-08-31 09:03:39 -07:00
Justin Starry
af5084856a
Disable explorer block time fetching errors ( #11931 )
2020-08-31 17:39:26 +08:00
Michael Vines
f385af25e5
Simplify get_programs(), specify a real Preview activation epoch for new BPFLoader
2020-08-31 09:10:25 +00:00
Tyera Eulberg
6234909373
Fix use-deprecated-loader arg ( #11921 )
2020-08-31 08:41:00 +00:00
dependabot[bot]
5b1aca1a91
chore:(deps): bump @sentry/react from 5.21.4 to 5.22.3 in /explorer ( #11924 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 5.21.4 to 5.22.3.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.21.4...5.22.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-31 08:08:53 +00:00
Michael Vines
49b7497491
Avoid scripts/cargo-for-all-lock-files.sh check on release branches
2020-08-31 00:40:54 -07:00
Michael Vines
e4d7e1fe3f
Use DNS for devnet/testnet entrypoints
2020-08-31 07:38:40 +00:00
Michael Vines
f8bb93a0f4
Bump RPC banks up 1 port to avoid web3.js wss port conflict
2020-08-31 06:34:15 +00:00
Michael Vines
eee0c83324
Add new trusted validator for testnet
2020-08-30 22:39:52 -07:00
Michael Vines
a07980536a
Add bank-hash subcommand
2020-08-30 17:09:20 +00:00
Justin Starry
729c4a9399
Hide token logos from holdings if unavailable ( #11912 )
2020-08-30 22:27:05 +08:00
Justin Starry
8932e4821d
Filter explorer error reports when using custom cluster ( #11911 )
2020-08-30 22:19:39 +08:00
Justin Starry
998f9725d0
Update explorer address labels ( #11910 )
2020-08-30 13:00:07 +08:00
Tyera Eulberg
60c7ac6f95
Fix get_parsed_token_accounts ( #11907 )
2020-08-29 12:38:27 -06:00
Michael Vines
5e017dc0f2
Update to spl-token 2
2020-08-29 09:25:17 -07:00
Justin Starry
0b47cd1c67
Add token2 support to explorer ( #11905 )
2020-08-29 20:50:45 +08:00
Tyera Eulberg
befd99edac
Bump spl-token version
2020-08-29 03:20:38 -06:00
Tyera Eulberg
2eff9a19c3
Update to token pack/unpack changes ( #11900 )
2020-08-28 22:06:30 -06:00
sakridge
c4253dc0f9
Update to rayon 1.4.0 ( #11898 )
2020-08-28 21:00:11 -07:00
Michael Vines
8df263340f
modify-genesis now writes elsewhere and produces a full genesis.tar.bz2
2020-08-28 19:58:55 -07:00
Michael Vines
42620e7f39
Remove vest program from Preview/Stable
2020-08-28 19:58:55 -07:00
dependabot[bot]
9081f672d3
chore: bump jayson from 3.3.3 to 3.3.4 in /web3.js
...
Bumps [jayson](https://github.com/tedeh/jayson ) from 3.3.3 to 3.3.4.
- [Release notes](https://github.com/tedeh/jayson/releases )
- [Commits](https://github.com/tedeh/jayson/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2020-08-28 16:50:00 -07:00
Jon Cinque
0bbfd59540
Add quotes to new argument
2020-08-28 16:49:28 -07:00
Jon Cinque
8c43a3da32
Update nofile flag in Docker to run Solana
...
Currently, the Solana Docker container does not start because it
requires `nofile` to be at least 500000, and the default behavior is
1024.
This fixes the documentation and running script to properly set the ulimit to
500000.
2020-08-28 16:49:28 -07:00
Michael Vines
df7710a131
Add ability to fork a local cluster from the latest mainnet-beta snapshot
2020-08-28 16:35:27 -07:00
Michael Vines
450c667aa7
Add methods to adjust rent burn percentage, and hashes per tick
2020-08-28 16:35:27 -07:00
Tyera Eulberg
76be36c9ce
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
2020-08-28 15:54:57 -06:00
Josh
0a8523b349
explorer: Auto-update transactions until they reach max confirmation ( #11841 )
...
* explorer: Auto-update transactions until they reach max confirmation
* convert to side effect
* proper cleanup
* minor cleanup
* pull isAutoRefresh from context, refactor, and add loading indicator / dhide refresh
* split effects into two, manage interval in one effect only
* simplify interval
* move autoRefresh up a level, use computed value
* flip conditional for readability
* accidentally factored out not found case
* add attempts bailout
* run prettier
* bailout after 5 polls of 0 confirmations
* move bailout into state, change autoRefresh prop to enum to support bailout state
* run prettier to clean up formatting
* reintroduce details not available until max confirmations message
* add error card with refresh if zero confirmation bailout
* allow retry on bailouts
2020-08-28 14:17:12 -07:00
Michael Vines
7e5e7673ae
Delete .DS_Store
2020-08-28 12:55:15 -07:00
sakridge
9393dce1ff
Take v0.19.3 of perf libs which improves sigverify perf 2x ( #11894 )
2020-08-28 12:34:25 -07:00
Jack May
4aec1db8f3
Update epoch gating ( #11880 ) ( #11893 )
2020-08-28 11:47:22 -07:00
Dan Albert
8ba3a33129
Add SolFlare as stake-supporting wallet ( #11891 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-08-28 16:02:36 +00:00
dependabot[bot]
7895d84c40
chore:(deps): bump @types/react from 16.9.47 to 16.9.48 in /explorer ( #11887 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.47 to 16.9.48.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-28 08:06:08 +00:00
Ryo Onodera
d8c529a9b8
Small cleaning around consensus/bank_forks ( #11873 )
2020-08-28 08:56:53 +09:00
Eric Williams
736dd13262
updated stake-o-matic base and bonus amounts ( #11879 )
2020-08-27 11:38:06 -07:00
Eric Williams
3eb5b95e27
Update rust installation instructions for benchmarking ( #11635 )
...
* update rust installation instructions for benchmarking
* replace drone with faucet for clarity
* point to README for Rust setup
2020-08-27 11:26:49 -07:00
dependabot[bot]
f65887be33
chore:(deps): bump @sentry/react from 5.21.3 to 5.21.4 in /explorer ( #11875 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 5.21.3 to 5.21.4.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.21.3...5.21.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-27 08:11:29 +00:00
Ryo Onodera
57174cdabe
Make ledger-tool accounts print rent_epoch and slot ( #11845 )
2020-08-27 12:28:40 +09:00
Dan Albert
36e8441149
Add SolFlare guide to docs ( #11843 )
2020-08-26 16:59:45 -06:00
Dan Albert
f7426b18b7
Add new TdS stage 7 validators ( #11861 )
...
* Add new TdS stage 7 validators
* rm bad pubkey
* fix whitespace
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-08-26 21:53:27 +00:00
Jack May
ea179ad762
Bump compute budget ( #11864 )
...
* Bump compute budget
* nudge
2020-08-26 21:48:51 +00:00
Michael Vines
5c7080c1f4
Merge pull request #11857 from mvines/cache
...
ci: cargo-target-cache is now channel specific
2020-08-26 11:35:41 -07:00
Tyera Eulberg
5c7d743883
Timestamp first vote ( #11856 )
2020-08-26 18:34:02 +00:00
Tyera Eulberg
1988ee9cd6
Rpc: Filter accounts with invalid mints from get_parsed_token_accounts ( #11844 )
...
* Filter out accounts with invalid mints from get_parsed_token_accounts
* Explicit docs
2020-08-26 11:39:42 -06:00
Justin Starry
2e0fefd1ce
fix: export bpf loader program id consts ( #11854 )
2020-08-26 17:10:02 +08:00
dependabot[bot]
ebe9d20fcb
chore:(deps): bump prettier from 2.0.5 to 2.1.1 in /explorer ( #11853 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.0.5 to 2.1.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.0.5...2.1.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 08:50:20 +00:00
dependabot[bot]
58b265cd71
chore:(deps): bump @types/chart.js from 2.9.23 to 2.9.24 in /explorer ( #11852 )
...
Bumps [@types/chart.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chart.js ) from 2.9.23 to 2.9.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chart.js )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 08:35:11 +00:00
Justin Starry
79deb98486
fix: update rpc-websockets to fix pubsub race ( #11846 )
2020-08-26 16:08:58 +08:00
Justin Starry
7aa8b1c658
fix: lock recent blockhash poll to prevent concurrent polling
2020-08-26 15:57:56 +08:00
Justin Starry
d6ecb2699f
chore: npm run lint:fix
2020-08-26 15:57:56 +08:00
Justin Starry
b0e5714ca0
chore: disable assertion in getBlockTime test ( #11850 )
2020-08-26 15:40:48 +08:00
Jack May
db4bbb3569
Switch programs activation to whole-set based gating ( #11750 )
...
* Implement Debug for MessageProcessor
* Switch from delta-based gating to whole-set gating
* Remove dbg!
* Fix clippy
* Clippy
* Add test
* add loader to stable operating mode at proper epoch
* refresh_programs_and_inflation after ancestor setup
* Callback via snapshot; avoid account re-add; Debug
* Fix test
* Fix test and fix the past history
* Make callback management stricter and cleaner
* Fix test
* Test overwrite and frozen for native programs
* Test epoch callback with genesis-programs
* Add assertions for parent bank
* Add tests and some minor cleaning
* Remove unsteady assertion...
* Fix test...
* Fix DOS
* Skip ensuring account by dual (whole/delta) gating
* Fix frozen abi implementation...
* Move compute budget constatnt init back into bank
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-26 01:49:15 +09:00
Ryo Onodera
2c5366f259
Document how to validate account pubkey ( #11821 )
2020-08-26 01:13:12 +09:00
Jack May
2395e57f45
fix: use bpf-loader-deprecated explicitly ( #11818 )
2020-08-25 09:05:33 -07:00
Dafydd Durairaj
4593c3a172
Exponential backoff on waiting between 429 Errors in connection.js
2020-08-25 09:00:43 -07:00
Ryo Onodera
dbd079f54c
Update comment ( #11826 )
2020-08-25 22:36:11 +09:00
Justin Starry
72fa1d29a9
chore: fix failing getBlockTime integration test ( #11825 )
2020-08-25 17:40:50 +08:00
dependabot[bot]
6dd5e51bd8
chore:(deps): bump @testing-library/user-event in /explorer ( #11820 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.1.1 to 12.1.3.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.1...v12.1.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 08:09:39 +00:00
dependabot[bot]
8b2b6769c2
chore:(deps): bump @types/react from 16.9.46 to 16.9.47 in /explorer ( #11819 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.46 to 16.9.47.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 08:07:32 +00:00
Dan Albert
4988dc891b
Update validator_list.rs ( #11815 )
2020-08-24 18:06:18 -06:00
Greg Fitzgerald
5553732ae2
Add lockups via solana-tokens ( #11782 )
...
* Allow stake distributions to update lockups
* Reorg
* Add lockup test
* Fix clippy warning
2020-08-24 15:18:35 -06:00
Jack May
c2e5dae7ba
Gate aligned program heap ( #11808 )
2020-08-24 13:21:34 -07:00
Justin Starry
40ca3ae796
Add live transaction stats card with history chart ( #11813 )
2020-08-25 03:08:02 +08:00
Jon Cinque
9a366281d3
sdk: Make PubKey::create_program_address available in program unit tests ( #11745 )
...
* sdk: Make PubKey::create_program_address available in program unit tests
This finishes the work started in #11604 to have
`create_program_address` available when `target_arch` is not `bpf` and
`program` is enabled. Otherwise, there is an undefined reference error
to `sol_create_program_address`, which is only defined in `bpf`.
A small test to simply call the function has been added in order to catch
the problem in the future.
The default dependency to `solana-sdk/default` doesn't cause a problem with
existing programs since `build.sh` always specifies
`--no-default-features`, and programs in `solana-program-library` all
use it too.
* Add `default-features = false` for inter-program dependencies
Fix the build error found during CI. The `--no-default-features` flag
only applies to the top-level package, and not to dependencies. A program that
depends on another program, i.e. `128bit` which depends on `128bit_dep`,
must specify `default-features = false` when including that package,
otherwise the `bpf` build will try to pull in default packages, which
includes `std`.
2020-08-24 19:28:36 +02:00
dependabot[bot]
53799c4c5b
chore:(deps): bump @testing-library/jest-dom in /explorer ( #11804 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.11.3 to 5.11.4.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.3...v5.11.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-24 08:19:10 +00:00
dependabot[bot]
803442fc5f
chore:(deps): bump @sentry/react from 5.21.1 to 5.21.3 in /explorer ( #11802 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 5.21.1 to 5.21.3.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.21.1...5.21.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-24 08:07:08 +00:00
Michael Vines
5332fcade6
Notify but don't abort on unexpected stake account balance
2020-08-22 18:34:51 -07:00
Michael Vines
a1e2357d12
solana-gossip spy can now be given an identity keypair (--identity argument)
2020-08-22 17:00:50 -07:00
Michael Vines
dec9d534e6
Fix typo
2020-08-22 09:22:01 -07:00
Michael Vines
b660704faa
Allow the sendTransaction preflight commitment level to be configured
2020-08-22 08:19:50 -07:00
sakridge
4bd0ced87d
Back out dashboard ( #11791 )
2020-08-21 21:48:37 -07:00
pk
6af36adf1c
updated bench-tps.md
...
removed `$` as the copy didn't like it :-)
2020-08-21 20:41:23 -07:00
Jack May
8d362f682b
The constraints on compute power a program can consume is limited only to its instruction count ( #11717 )
2020-08-21 15:31:19 -07:00
behzad nouri
418b483af6
Fix filter_crds_values output alignment with the inputs ( #11734 )
2020-08-21 12:32:37 -07:00
Greg Fitzgerald
f02a78d8ff
Add StakeInstruction::AuthorizeWithSeed ( #11700 )
...
* Add StakeInstruction::AuthorizeWithSeed
* chore: add authorize-with-seed to web.js
* fix: add address_owner
* Add SystemInstruction::TransferWithSeed
* Update ABI hash
* chore: better variable names
* Add AuthorizeWithSeedArgs
* Reorder and rename arguments for clarity
2020-08-21 18:28:01 +00:00
Michael Vines
247f27af37
Submit a vote timestamp every vote ( #10630 )
...
* Submit a timestamp for every vote
* Submit at most one vote timestamp per second
* Submit a timestamp for every new vote
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-21 11:10:51 -06:00
Michael Vines
41868f8adb
Remove reference to old jsfiddle link
2020-08-21 09:27:48 -07:00
dependabot[bot]
d459a03ea5
chore: bump rpc-websockets from 5.3.1 to 7.0.0 in /web3.js ( #11778 )
...
Bumps [rpc-websockets](https://github.com/elpheria/rpc-websockets ) from 5.3.1 to 7.0.0.
- [Release notes](https://github.com/elpheria/rpc-websockets/releases )
- [Commits](https://github.com/elpheria/rpc-websockets/compare/v5.3.1...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-21 08:21:01 +00:00
dependabot[bot]
bfe31137a9
chore: bump @babel/core from 7.11.1 to 7.11.4 in /web3.js ( #11776 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.11.1 to 7.11.4.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.4/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-21 08:18:12 +00:00
dependabot[bot]
d3a17d25e1
chore: bump @commitlint/travis-cli from 9.1.1 to 9.1.2 in /web3.js ( #11774 )
...
Bumps [@commitlint/travis-cli](https://github.com/conventional-changelog/commitlint ) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-21 08:16:36 +00:00
dependabot[bot]
0e1de75af8
chore:(deps): bump @testing-library/react in /explorer ( #11777 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 10.4.8 to 10.4.9.
- [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.8...v10.4.9 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-21 08:16:26 +00:00
carllin
c8d67aa8eb
Add option for repairing only from trusted validators ( #11752 )
...
Co-authored-by: Carl <carl@solana.com >
2020-08-21 00:35:11 -07:00
carllin
f7adb68599
Squash supermajority root on blockstore replay at startup ( #11727 )
2020-08-20 21:56:25 -07:00
dependabot[bot]
fe7ce94dac
chore: bump @babel/plugin-transform-runtime in /web3.js ( #11578 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.10.5 to 7.11.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.0/packages/babel-plugin-transform-runtime )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-21 11:48:00 +08:00
dependabot[bot]
432138f645
chore: bump @babel/preset-env from 7.10.4 to 7.11.0 in /web3.js ( #11344 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.10.4 to 7.11.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.0/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-21 11:47:14 +08:00
Trent Nelson
8841c3398c
Bump MacOS nofile recommendation message
2020-08-20 23:57:07 +00:00
Tyera Eulberg
747f8d5877
Rpc: Return error if block does not exist ( #11743 )
...
* Return error if block does not exist
* Update docs
2020-08-20 15:05:30 -06:00
Greg Fitzgerald
835bf32c5e
Fix link ( #11742 )
2020-08-20 18:02:36 +00:00
Michael Vines
ea88bbdc33
Do not delete any ledger when --limit-ledger-size is not provided
2020-08-20 16:15:27 +00:00
Tyera Eulberg
2fd2aceeb2
Bump spl-token to clean up magic number ( #11726 )
2020-08-20 09:51:12 -06:00
Justin Starry
dc17e2983d
explorer: Fix search bar paste on mobile ( #11735 )
2020-08-20 22:01:34 +08:00
dependabot[bot]
c8b40da7ab
chore: bump @babel/core from 7.10.5 to 7.11.1 in /web3.js ( #11731 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.10.5 to 7.11.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.11.1/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 08:39:11 +00:00
dependabot[bot]
bfa456aaed
chore:(deps): bump @solana/web3.js from 0.71.4 to 0.71.6 in /explorer ( #11730 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.71.4 to 0.71.6.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.71.4...v0.71.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 08:14:30 +00:00
carllin
b7ed06b17a
Cleanup test utilities ( #11723 )
...
* Add voting utility
* Add blockstore utility
Co-authored-by: Carl <carl@solana.com >
2020-08-20 05:04:38 +00:00
Justin Starry
cf941b0eda
fix: properly decode account notifications ( #11724 )
2020-08-20 12:36:42 +08:00
Tyera Eulberg
b1bc901a66
Allow votes to timestamp subsequent slots with the same timestamp ( #11715 )
2020-08-19 23:19:24 +00:00
Jack May
eb007a233f
fix: bpf loader flow definition ( #11714 )
2020-08-19 15:35:45 -07:00
Trent Nelson
5354df8c1c
Expand system tuning docs
2020-08-19 16:36:03 +00:00
Trent Nelson
11951eb009
Sync FD limit and max maps to 500k
2020-08-19 16:36:03 +00:00
dependabot[bot]
e2d66cf796
chore: bump rollup from 2.23.1 to 2.26.4 in /web3.js ( #11708 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.23.1 to 2.26.4.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.23.1...v2.26.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-19 08:17:23 +00:00
carllin
5f8d34feb3
Skip grace blocks if previous leader was on different fork ( #11679 )
...
* Start leader blocks if previous leader was on different fork
* Fix test
Co-authored-by: Carl <carl@solana.com >
2020-08-19 08:16:24 +00:00
Michael Vines
d1500ae229
The end_slot argument to purge is now optional
2020-08-18 20:17:44 -07:00
Tyera Eulberg
35828e8fe7
Remove old signatureSubscribe info ( #11704 )
2020-08-19 02:29:39 +00:00
carllin
0f0a2ddafe
Filter push/pulls from spies ( #11620 )
...
* Filter push/pulls from spies
* Don't pull from peers with shred version == 0, don't push to people with shred_version == 0
Co-authored-by: Carl <carl@solana.com >
2020-08-18 18:52:45 -07:00
Jack May
46830124f8
CPI support for bpf_loader_deprecated ( #11695 )
2020-08-18 11:26:29 -07:00
Aaron Hill
c099b29b36
Remove ::solana_sdk hack ( #11326 )
...
Fixes #10933
Now that https://github.com/rust-lang/rust/pull/72121 has been merged,
using a `$crate` path from a nested `macro_rules!` will work properly
across multiple crates. This allows us to stop using `::solana_sdk`
to reference to the `respan!` macro.
2020-08-18 17:59:41 +00:00
Tyera Eulberg
55ce2ebd53
Get index ( #11694 )
2020-08-18 17:24:25 +00:00
Justin Starry
9e89a963d9
Fully enable cross program support in mainnet-beta
2020-08-18 06:30:43 -07:00
Justin Starry
2ae71b30ae
Explorer: Fix account history load more behavior ( #11689 )
2020-08-18 21:04:19 +08:00
dependabot[bot]
48e281c5bd
chore: bump bn.js from 5.1.2 to 5.1.3 in /web3.js ( #11685 )
...
Bumps [bn.js](https://github.com/indutny/bn.js ) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/indutny/bn.js/releases )
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/indutny/bn.js/compare/v5.1.2...v5.1.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 08:45:23 +00:00
dependabot[bot]
5544dd35d0
chore:(deps): bump @solana/web3.js from 0.71.3 to 0.71.4 in /explorer ( #11684 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.71.3 to 0.71.4.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.71.3...v0.71.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 08:09:27 +00:00
Michael Vines
d15173ad9d
Address latest nightly clippy lints, but globally disable stable_sort_primitive
2020-08-17 22:36:10 -07:00
Michael Vines
a86397a650
Bump rust nightly to 2020-08-17
2020-08-17 22:36:10 -07:00
Trent Nelson
0413a305d2
Comment that docs Algolia key is safe to publish
2020-08-18 05:25:51 +00:00
Michael Vines
eb83604eaf
fix: adapt to binary64 -> base64 rename
2020-08-17 22:19:49 -07:00
Michael Vines
d527e39c64
fix: adapt to binary64 RPC encoding change
2020-08-17 22:19:49 -07:00
Michael Vines
de736e00ad
Add (hidden) --use-deprecated-loader flag to solana deploy
2020-08-17 19:57:44 -07:00
Michael Vines
e5281157fa
Remove "binary" encoding. Document "encoding" as required
2020-08-17 17:26:29 -07:00
Michael Vines
adc984a225
Rename Binary64 to Base64. Establish Base58 encoding
2020-08-17 17:26:29 -07:00
Michael Vines
757e147b3b
Rework UiAccountData encode/decode such that it works from Rust
2020-08-17 17:26:29 -07:00
Michael Vines
2ebc68a9e2
decode-transaction now supports binary64
2020-08-17 17:26:29 -07:00
Michael Vines
b5f3ced860
Add base64 (binary64) encoding for getConfirmedTransaction/getConfirmedBlock
2020-08-17 17:26:29 -07:00
dependabot[bot]
3534145960
chore:(deps): bump @types/node from 14.0.27 to 14.6.0 in /explorer ( #11672 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.0.27 to 14.6.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 00:03:45 +00:00
dependabot[bot]
d749f759af
chore:(deps): bump @solana/web3.js from 0.71.1 to 0.71.3 in /explorer ( #11671 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.71.1 to 0.71.3.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.71.1...v0.71.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 00:03:40 +00:00
Trent Nelson
e310bad7ab
Add comment about encrypted API tokens for buildkite
2020-08-17 23:47:48 +00:00
Tyera Eulberg
71d5409b3b
Faucet: Add per-request cap ( #11665 )
...
* Add per-request cap; also use clap-utils
* Clean up arg names and take cap inputs as SOL
2020-08-17 17:33:14 -06:00
Michael Vines
069ba2bc9e
fix: retry after a brief delay upon a 429 response
2020-08-17 16:16:27 -07:00
Michael Vines
967d6e0e3d
fix: Return proper error objects for HTTP errors
2020-08-17 15:34:20 -07:00
Trent Nelson
2f3ae52e8f
Update devnet cluster docs since reboot
2020-08-17 22:27:57 +00:00
Jack May
e9b610b8df
Add SystemInstruction::CreateAccount support to CPI ( #11649 )
2020-08-17 13:38:42 -07:00
Jack May
f1ba2387d3
More efficient padding ( #11656 )
2020-08-17 10:24:34 -07:00
Jack May
750e5344f1
Return an error from create_program_address syscall ( #11658 )
2020-08-17 09:49:40 -07:00
Jack May
f8606fca4f
Aligned program heap ( #11657 )
2020-08-17 09:49:21 -07:00
dependabot[bot]
7f108f373a
chore:(deps): bump bn.js from 5.1.2 to 5.1.3 in /explorer ( #11662 )
...
Bumps [bn.js](https://github.com/indutny/bn.js ) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/indutny/bn.js/releases )
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/indutny/bn.js/compare/v5.1.2...v5.1.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-17 09:06:50 +00:00
dependabot[bot]
5ab8d19bac
chore: bump crypto-hash from 1.2.2 to 1.3.0 in /web3.js ( #11660 )
...
Bumps [crypto-hash](https://github.com/sindresorhus/crypto-hash ) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/sindresorhus/crypto-hash/releases )
- [Commits](https://github.com/sindresorhus/crypto-hash/compare/v1.2.2...v1.3.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-17 08:33:54 +00:00
dependabot[bot]
fec016f710
chore:(deps): bump @types/react-select in /explorer ( #11661 )
...
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select ) from 3.0.16 to 3.0.19.
- [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-17 08:23:36 +00:00
dependabot[bot]
2e4eb26fca
chore:(deps): bump @types/jest from 26.0.9 to 26.0.10 in /explorer ( #11659 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.9 to 26.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-17 08:20:23 +00:00
Jack May
4196686acf
Feature check CPI up front ( #11652 )
2020-08-16 23:12:22 -07:00
Jack May
768b386f0a
fix region checks ( #11651 )
2020-08-16 23:11:52 -07:00
Ryo Onodera
23fa84b322
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
2020-08-17 14:22:16 +09:00
Tyera Eulberg
6c5b8f324a
Rpc: Add until parameter for getConfirmedSignaturesForAddress2 ( #11644 )
...
* 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
2020-08-15 10:42:17 -06:00
sakridge
b10f874f49
Reorganize dashboard ( #11639 )
...
Split out sections for gossip, repair, leader.
2020-08-14 14:42:33 -07:00
Tyera Eulberg
820af533a4
Bigtable: Use index to filter address-signatures correctly ( #11622 )
...
* Use index to filter address-signatures correctly
* Pull additional keys to account for filtered records
* Clarify variable name
2020-08-14 19:41:27 +00:00
Jack May
7c736f71fe
Make BPF Loader static ( #11516 )
2020-08-14 12:32:45 -07:00
Justin Starry
346e982e28
Dedupe token history and pretty print slots ( #11636 )
2020-08-14 23:59:39 +08:00
Justin Starry
f6af505ae4
Explorer: Bump web3 to v0.71.1 ( #11637 )
2020-08-14 23:50:18 +08:00
Justin Starry
2011ed3344
fix: undefined is a valid result for getBlockTime
2020-08-14 23:25:34 +08:00
Justin Starry
de22f3d0e7
Explorer: Display error message on invalid signature query ( #11633 )
2020-08-14 23:00:35 +08:00
Justin Starry
279000eeb3
Explorer: Remove flatMap usage due to browser incompatibility ( #11632 )
2020-08-14 22:58:38 +08:00
Justin Starry
74bf0d8d3b
feat: remove hex public key decoding
2020-08-14 22:48:29 +08:00
Trent Nelson
30dbe257cf
Reimplement decode_len() with ShortU16 vistor helper
2020-08-14 08:17:52 -06:00
Trent Nelson
6222fbcc66
Factor out ShortU16 deser vistor logic to helper
2020-08-14 08:17:52 -06:00
Trent Nelson
338f66f9aa
Add failing test for decoding ShortU16 alias values
2020-08-14 08:17:52 -06:00
Justin Starry
4773e13ef7
Explorer: add error reporting ( #11627 )
2020-08-14 17:54:21 +08:00
dependabot[bot]
8f88ab1a05
chore: bump rollup-plugin-terser from 6.1.0 to 7.0.0 in /web3.js ( #11626 )
...
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser ) from 6.1.0 to 7.0.0.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases )
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v6.1.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-14 08:35:40 +00:00
Justin Starry
1592597d93
Explorer: Fix stake account validation ( #11623 )
2020-08-14 10:06:37 +08:00
Dan Albert
6194a29875
Restore CLI usage page ( #11619 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-08-13 16:02:13 -06:00
Tyera Eulberg
99fb36fe45
RPC: getConfirmedSignaturesForAddress2 only returns confirmed signatures ( #11615 )
...
* Add failing test case
* Limit to only rooted slots
2020-08-13 11:07:42 -06:00
Justin Starry
84a4f743b8
Explorer: fix token history loading animation ( #11616 )
2020-08-13 23:49:36 +08:00
sakridge
072be66704
Update docs to latest processors ( #11613 )
2020-08-13 08:36:22 -07:00
Justin Starry
fdac3c6b80
Explorer: Update superstruct ( #11614 )
2020-08-13 23:33:34 +08:00
Justin Starry
6162c2d0d5
Add token registry to explorer ( #11612 )
2020-08-13 22:57:53 +08:00
dependabot[bot]
00a8f90f79
chore:(deps): bump react-scripts from 3.4.2 to 3.4.3 in /explorer ( #11610 )
...
Bumps [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts ) from 3.4.2 to 3.4.3.
- [Release notes](https://github.com/facebook/create-react-app/releases )
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/create-react-app/commits/HEAD/packages/react-scripts )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-13 08:41:13 +00:00
dependabot[bot]
13c5c9d31b
chore: bump fs-file-tree from 1.1.0 to 1.1.1 in /web3.js ( #11609 )
...
Bumps [fs-file-tree](https://github.com/IonicaBizau/fs-file-tree ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/IonicaBizau/fs-file-tree/releases )
- [Commits](https://github.com/IonicaBizau/fs-file-tree/compare/1.1.0...1.1.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-13 08:30:02 +00:00
Tyera Eulberg
4da1e9833c
Ensure highest_confirmed_root only grows ( #11596 )
...
* Split out commitment-cache update for unit testing
* Add failing test
* Ensure highest_confirmed_root only grows
2020-08-13 00:59:44 -06:00
sakridge
f519fdecc2
generate_pull_response optimization ( #11597 )
2020-08-12 22:45:19 -07:00
Justin Starry
1277b3a8f6
Explorer: Hide token holders table when none found ( #11605 )
2020-08-13 12:59:34 +08:00
Justin Starry
9f0c20aa5d
Explorer: Update web3.js to v0.70.3 ( #11603 )
2020-08-13 12:46:37 +08:00
Greg Fitzgerald
574c356863
Add CommitmentSlots::new_from_slot() ( #11600 )
2020-08-13 03:51:15 +00:00
Justin Starry
6c887c2b87
Explorer: update superstruct to coerce nullable types ( #11602 )
2020-08-13 11:49:18 +08:00
Justin Starry
7dbd2d3519
fix: fix BpfLoader.programId ts type def
2020-08-13 11:49:12 +08:00
Hendrik Hofstadt
dfd829a2e2
fix: fix createProgramAddress for bundled applications
2020-08-13 11:16:03 +08:00
dependabot[bot]
e5210029b5
chore: bump rollup from 2.23.0 to 2.23.1 in /web3.js
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.23.0 to 2.23.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.23.0...v2.23.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-08-13 11:14:40 +08:00
Tyera Eulberg
b1e452f876
Return blockstore signatures-for-address despite bigtable error ( #11594 )
2020-08-12 17:57:05 -06:00
Jack May
9071da6da7
fix: support loading with deprecated bpf loader ( #11595 )
2020-08-12 15:54:57 -07:00
Jack May
d4309b6481
feat: add Message.from method for decoding compiled messages ( #11593 )
2020-08-12 15:01:39 -07:00
Jack May
be03731379
feat: use bpf_loader2 as the default loader ( #11457 )
2020-08-12 14:41:58 -07:00
sakridge
54137e3446
Add incoming pull response counter ( #11591 )
2020-08-12 14:07:05 -07:00
sakridge
bb8ccbb022
Add retransmit stats ( #11588 )
2020-08-12 12:26:14 -07:00
carllin
473b5249e3
Fix assertion failure ( #11572 )
...
Co-authored-by: Carl <carl@solana.com >
2020-08-12 12:10:24 -07:00
Justin Starry
cbccac90ce
Fix explorer mint account validator to accept null owner ( #11587 )
2020-08-13 02:06:49 +08:00
Justin Starry
5715f0b81a
Fix mint holders page when supply is zero ( #11586 )
2020-08-13 01:56:17 +08:00
Justin Starry
55b5957d49
Add token supply info to mint account page ( #11584 )
2020-08-13 01:31:21 +08:00
Jack May
0a94e7e7fa
Specify loader when bootstrapping bpf programs ( #11571 )
2020-08-12 09:46:49 -07:00
Justin Starry
f8221797c6
Remove not found disclaimer when full history is available ( #11583 )
2020-08-12 23:09:57 +08:00
Justin Starry
a992bb5f94
Use common provider for explorer cached data ( #11582 )
2020-08-12 22:41:04 +08:00
Justin Starry
8ddb116659
Fix owned token validation in explorer ( #11581 )
2020-08-12 20:11:38 +08:00
dependabot[bot]
c300748884
chore:(deps): bump @testing-library/jest-dom in /explorer ( #11575 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.11.2 to 5.11.3.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.2...v5.11.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-12 09:24:33 +00:00
dependabot[bot]
f2703e2f53
chore:(deps): bump react-scripts from 3.4.1 to 3.4.2 in /explorer ( #11576 )
...
Bumps [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts ) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/facebook/create-react-app/releases )
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/create-react-app/commits/HEAD/packages/react-scripts )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-12 09:03:20 +00:00
dependabot[bot]
4adbcae167
chore:(deps): bump @solana/web3.js from 0.66.3 to 0.68.0 in /explorer ( #11574 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.66.3 to 0.68.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.66.3...v0.68.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-12 08:21:55 +00:00
Ryo Onodera
51e818ad64
Fix typo: epoch => slot... ( #11573 )
2020-08-12 08:14:07 +00:00
Tyera Eulberg
5f05086ed6
fix: add space to ParsedAccountData ( #11521 )
2020-08-11 21:44:28 -06:00
Jack May
9290e561e1
Align host addresses ( #11384 )
...
* Align host addresses
* support new program abi
* update epoch rollout
* Enforce aligned pointers in cross-program invocations
2020-08-11 16:11:52 -07:00
Tyera Eulberg
697a0e2947
Add getTokenLargestAccounts to docs ( #11560 )
2020-08-11 21:05:16 +00:00
carllin
1b238dd63e
Gossip log ( #11555 )
...
Co-authored-by: Carl <carl@solana.com >
2020-08-11 21:03:54 +00:00
carllin
7ef50a9352
Move cluster slots update to separate thread ( #11523 )
...
* Add cluster_slots_service
Co-authored-by: Carl <carl@solana.com >
2020-08-11 12:48:13 -07:00
Michael Vines
17645ee20c
Adapt RpcClient to recent token method changes ( #11519 )
...
* Avoid skip_serializing_if since that breaks deserialization
* Adapt RpcClient to recent token method changes
2020-08-11 10:14:17 -06:00
Ryo Onodera
6c242f3fec
Fix bad rent in Bank::deposit as if since epoch 0 ( #10468 )
...
* 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
2020-08-12 00:04:32 +09:00
Ryo Onodera
2910fd467f
Fix rust fmt ( #11537 )
2020-08-11 22:53:55 +09:00
anatoly yakovenko
713851b68d
filter out old gossip pull requests ( #11448 )
...
* init
* builds
* stats
* revert
* tests
* clippy
* add some jitter
* shorter jitter timer
* update
* fixup! update
* use saturating_sub
* fix filters
2020-08-11 06:26:42 -07:00
Justin Starry
f12fc66a69
Fix simulateTransaction JSON-RPC docs ( #11533 )
2020-08-11 18:11:19 +08:00
Justin Starry
e1dc05fae0
feat: add getTokenLargestAccounts method
2020-08-11 18:10:56 +08:00
Justin Starry
177c9c3aec
feat: add simulateTransaction API
2020-08-11 17:08:27 +08:00
Justin Starry
0c97e39675
fix: ignore extra space field in parsed accounts
2020-08-11 16:52:09 +08:00
Tyera Eulberg
c0d6761f63
Fix solana CLI deploy ( #11520 )
...
* Refresh blockhash for program writes and finalize transactions
* Refactor to use current api, eliminating an rpc call
* Review comment
2020-08-11 02:42:29 -06:00
dependabot[bot]
15d7619bdc
chore:(deps): bump @types/react from 16.9.45 to 16.9.46 in /explorer ( #11525 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.45 to 16.9.46.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-11 08:06:33 +00:00
dependabot[bot]
191a2eb088
chore: bump indexmap from 1.4.0 to 1.5.1
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.4.0...1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-08-10 22:49:55 -07:00
Justin Starry
97e53f867f
fix: use base64 encoding by default for account data
2020-08-11 11:46:42 +08:00
Tyera Eulberg
88ca04dbdb
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
2020-08-10 22:35:29 +00:00
Tyera Eulberg
da210ddd51
Fix parsing of spl-token Mint ( #11512 )
...
* Add failing test
* Fix jsonParsed mint
2020-08-10 20:35:36 +00:00
Tyera Eulberg
1925b0bd0b
Return account data size with parsed accounts ( #11506 )
2020-08-10 19:02:11 +00:00
Jack May
140b2392f6
Unified signature for create_program_address ( #11460 )
2020-08-10 10:24:11 -07:00
Tyera Eulberg
de5fb3ba0e
Blockstore address signatures: handle slots that cross primary indexes, and refactor get_confirmed_signatures_for_address2 ( #11497 )
...
* 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
2020-08-10 10:27:38 -06:00
dependabot[bot]
685e456eff
chore:(deps): bump @solana/web3.js from 0.66.2 to 0.66.3 in /explorer ( #11503 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.66.2 to 0.66.3.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.66.2...v0.66.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-10 09:09:39 +00:00
dependabot[bot]
5a3f10adbc
chore: bump acorn from 7.3.1 to 7.4.0 in /web3.js ( #11501 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 7.3.1 to 7.4.0.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/7.3.1...7.4.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-10 08:46:43 +00:00
dependabot[bot]
19c053c839
chore:(deps): bump @testing-library/user-event in /explorer ( #11502 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.1.0 to 12.1.1.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.0...v12.1.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-10 08:42:37 +00:00
dependabot[bot]
40bdbc426e
chore:(deps): bump @types/react from 16.9.44 to 16.9.45 in /explorer ( #11500 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.44 to 16.9.45.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-10 08:32:10 +00:00
Michael Vines
a4f5f3e978
account subcommand now requests binary64
2020-08-09 21:10:49 +00:00
Justin Starry
fe3729c33e
fix: use recommended buffer api for decoding base64
2020-08-10 02:38:51 +08:00
Justin Starry
c40a427b3a
Update explorer web3 to v0.66.2 ( #11492 )
2020-08-10 02:35:47 +08:00
Justin Starry
91f843c56c
fix: base64 decode account data
2020-08-10 02:06:34 +08:00
Justin Starry
ebc45bd73f
Fallback to base64 account encoding if json parse fails ( #11483 )
...
* Fallback to base64 account encoding if json parse fails
* Remove default binary conversion
2020-08-09 18:28:25 +08:00
Tyera Eulberg
a9f76862fb
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
2020-08-09 07:50:45 +00:00
sakridge
068d23f298
Add Binary64 option for account data ( #11474 )
...
* Add Binary64 option for account data
* Decode into binary64
* Reword docs
2020-08-08 22:40:13 -07:00
Michael Vines
4d918f83ff
Display transaction even if getBlockTime returns an error
2020-08-09 03:31:21 +00:00
Tyera Eulberg
88d8d3d02a
Return delegated amount as UiTokenAmount ( #11475 )
...
* Return delegated amount as UiTokenAmount
* Omit delegate and delegatedAmount when none
2020-08-08 19:12:09 +00:00
Justin Starry
921529426d
Show token transaction history in explorer ( #11473 )
2020-08-09 00:29:42 +08:00
Justin Starry
fb822688b7
Display detailed token account info on explorer ( #11472 )
2020-08-08 23:02:01 +08:00
dependabot[bot]
4e815eaeb6
chore:(deps): bump bootstrap from 4.5.1 to 4.5.2 in /explorer ( #11441 )
...
Bumps [bootstrap](https://github.com/twbs/bootstrap ) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/twbs/bootstrap/releases )
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.1...v4.5.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-08 13:12:03 +00:00
Justin Starry
c544116cf2
Add support for parsed stake accounts ( #11469 )
2020-08-08 21:06:24 +08:00
Justin Starry
102d15f081
Fix data fetching races in explorer ( #11468 )
2020-08-08 20:47:07 +08:00
Justin Starry
3d97b04815
Add programs and sysvars to explorer search suggestions ( #11467 )
2020-08-08 20:01:26 +08:00
Justin Starry
40656911a6
Fix owned token accumulation UI bug in explorer ( #11466 )
2020-08-08 15:34:59 +08:00
Justin Starry
c7eba80836
Organize explorer file structure ( #11464 )
2020-08-08 14:45:57 +08:00
Jack May
5a7e99f283
Fix cbindgen compatibility ( #11455 )
2020-08-07 15:13:48 -07:00
Greg Fitzgerald
edadd5d6d5
Remove Budget from CLI ( #11451 )
...
* Remove support for Budget
Also:
* Make "pay" command a deprecated alias for the "transfer" command
* chore: remove budget from web3.js
* Drop Budget depedency from core
Validators no longer ship with builtin Budget
2020-08-07 16:01:51 -06:00
carllin
7e25130529
Send votes from banking stage to vote listener ( #11434 )
...
* Send votes from banking stage to vote listener
Co-authored-by: Carl <carl@solana.com >
2020-08-07 11:21:35 -07:00
Tyera Eulberg
b7c2681903
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
2020-08-07 11:37:39 -06:00
Justin Starry
67fdf593a2
Split explorer account details page into tabs ( #11450 )
2020-08-08 00:38:20 +08:00
Greg Fitzgerald
bad486823c
Add a client for BankForks ( #10728 )
...
Also:
* Use BanksClient in solana-tokens
2020-08-07 08:45:17 -06:00
Justin Starry
4f2f9bd26f
Use new history API in explorer ( #11449 )
2020-08-07 22:39:22 +08:00
dependabot[bot]
4b52306063
chore: bump rpc-websockets from 5.2.4 to 5.3.1 in /web3.js ( #11410 )
...
Bumps [rpc-websockets](https://github.com/elpheria/rpc-websockets ) from 5.2.4 to 5.3.1.
- [Release notes](https://github.com/elpheria/rpc-websockets/releases )
- [Commits](https://github.com/elpheria/rpc-websockets/compare/v5.2.4...v5.3.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-07 10:25:12 +00:00
Justin Starry
ac9787cd1c
Display both slot and block height in explorer ( #11447 )
2020-08-07 18:15:23 +08:00
Justin Starry
c0ac8aae08
fix: expose getConfirmedSignaturesForAddress2 method in type defs
2020-08-07 18:13:40 +08:00
Justin Starry
e6aa3a4e07
Parse token instructions in the explorer ( #11443 )
2020-08-07 18:09:17 +08:00
dependabot[bot]
bf01dca13f
chore:(deps): bump @types/jest from 26.0.8 to 26.0.9 in /explorer ( #11409 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.8 to 26.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-07 08:22:23 +00:00
Trent Nelson
a3165c6a61
Only run web3.js/explorer CI when targeting master branch
2020-08-07 05:31:43 +00:00
sakridge
770d3d383c
Accounts hash calculation metrics ( #11433 )
2020-08-06 21:39:10 -07:00
Tyera Eulberg
5530ee4c95
Add address-based lower bound to get_confirmed_signatures_for_address2 loop ( #11426 )
2020-08-06 22:29:25 +00:00
Tyera Eulberg
1061b50665
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 .
2020-08-06 22:21:46 +00:00
Greg Fitzgerald
3fdd8ffdf0
Remove circular dep between InstructionError and SystemError ( #11427 )
2020-08-06 22:04:43 +00:00
Raj Gokal
14dcaaee6c
Link fix ( #11368 )
...
* 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 >
2020-08-06 13:19:35 -06:00
Jack May
4ac75a8558
Realloc not supported ( #11424 )
2020-08-06 19:14:12 +00:00
Justin Starry
c7a2fbe7eb
feat: add parsed account data APIs
2020-08-07 00:44:20 +08:00
Justin Starry
b36e60738e
feat: add getParsedConfirmedTransaction API
2020-08-06 23:14:46 +08:00
Michael Vines
5a63c9d535
Update lib.rs
2020-08-06 14:43:36 +00:00
Michael Vines
c9b1d08218
Enable cross program support in mainnet-beta epoch 63
2020-08-06 14:43:36 +00:00
Jack May
5c4b8153c6
fix: land program addresses off-curve ( #11355 )
2020-08-06 07:10:54 -07:00
Michael Vines
9abb7db5f8
Upgrade help description
2020-08-05 23:04:16 -07:00
Michael Vines
4222932e08
Plug getConfirmedSignaturesForAddress2 into bigtable storage
2020-08-05 23:04:16 -07:00
Michael Vines
8d1400d3d6
fix: add support for getConfirmedSignaturesForAddress2 RPC method
2020-08-05 23:00:25 -07:00
Justin Starry
2261c066f3
fix: update token API handling
2020-08-06 12:35:45 +08:00
Tyera Eulberg
7430896c79
Mark token-specific rpcs as unstable
2020-08-05 20:46:11 -07:00
Jack May
03263c850a
Force program address off the curve ( #11323 )
2020-08-05 16:35:54 -07:00
Trent Nelson
964cfb05ea
Mergify backports: add v1.4, drop v1.1
2020-08-05 15:38:56 -06:00
Michael Vines
02c0981ecf
Rename startAfter to before
2020-08-05 14:33:14 -07:00
Michael Vines
a11f137810
Rework get_confirmed_signatures_for_address2
2020-08-05 14:33:14 -07:00
Michael Vines
087fd32ce3
Reimplement transaction-history command with getConfirmedSignaturesForAddress2
2020-08-05 14:33:14 -07:00
Michael Vines
1b2276520b
Add getConfirmedSignaturesForAddress2 RPC method
2020-08-05 14:33:14 -07:00
Michael Vines
175c0e611b
Cargo.lock
2020-08-05 14:27:12 -07:00
Michael Vines
227ea934ff
after -> before
2020-08-05 14:27:12 -07:00
Michael Vines
22c46ebf96
Report block status more frequently
2020-08-05 14:27:12 -07:00
Michael Vines
1f7af14386
Simplify access token refreshing
2020-08-05 14:27:12 -07:00
Michael Vines
e56ea138c7
Add RPC transaction history design
2020-08-05 14:27:12 -07:00
Michael Vines
dfae9a9864
Plumb Bigtable ledger storage into the RPC subsystem
2020-08-05 14:27:12 -07:00
Michael Vines
0e02740565
Setup a tokio 0.2 runtime for RPC usage
2020-08-05 14:27:12 -07:00
Michael Vines
b876fb84ba
Make room for tokio 0.2
2020-08-05 14:27:12 -07:00
Michael Vines
f9049d6ee4
Add ledger-tool bigtable subcommands
2020-08-05 14:27:12 -07:00
Michael Vines
98cca1e774
Add configuration info
2020-08-05 14:27:12 -07:00
Michael Vines
6e0353965a
Add bigtable
2020-08-05 14:27:12 -07:00
Michael Vines
243e05d59f
Add compression
2020-08-05 14:27:12 -07:00
Michael Vines
019c75797d
Supress doctest errors
2020-08-05 14:27:12 -07:00
Michael Vines
54dae6ba2c
Add build-proto/build.sh output
2020-08-05 14:27:12 -07:00
Michael Vines
57dfebc5ba
Increase timeout
2020-08-05 14:27:12 -07:00
Michael Vines
494968be66
UiTransactionEncoding is now copy
2020-08-05 14:27:12 -07:00
Michael Vines
c31e1f5bf0
Add build-proto
2020-08-05 14:27:12 -07:00
Michael Vines
faa016e4b7
Add root_ca_certificate
2020-08-05 14:27:12 -07:00
Michael Vines
59d266a111
Add access_token module
2020-08-05 14:27:12 -07:00
Michael Vines
1617a025ce
$ wget https://pki.goog/roots.pem -O pki-goog-roots.pem
2020-08-05 14:27:12 -07:00
Michael Vines
9d2293bb32
ledger-storage-bigtable boilerplate
2020-08-05 14:27:12 -07:00
Trent Nelson
e12ab9d0dd
Bump version to 1.4.0
2020-08-05 12:04:15 -06:00