Alexander Meißner
7f987722bf
Bump solana_rbpf to v0.2.28 ( #24800 )
2022-04-30 10:58:12 +02:00
Justin Starry
f8354bdbcd
explorer: Synchronoize timescale for tps and ping stats ( #24865 )
2022-04-30 13:37:13 +08:00
Steven Luscher
0769ee4204
fix: repair React types in explorer ( #24858 )
...
* chore: upgrade Explorer React typedefs to match installed version of React
* fix: a stream player materializing no longer re-renders the VideoArtContent
* chore: upgrade Sentry React for compatibility with React 18 types
2022-04-29 21:58:34 -07:00
Justin Starry
d07604f770
explorer: Don't show successful count if meta missing ( #24864 )
2022-04-30 12:11:37 +08:00
Justin Starry
b8c13eb506
explorer: Fix empty state for filtered transactions ( #24863 )
2022-04-30 12:11:29 +08:00
HaoranYi
591bfc3e0c
optimize counter submission: avoid copy when converting counters to datapoints ( #24802 )
2022-04-29 21:21:57 -05:00
steviez
428cf54c91
Change BlockStore TryPrimaryThenSecondary to just Secondary ( #23391 )
2022-04-29 20:05:39 -05:00
Yueh-Hsuan Chiang
5245eb4229
(LedgerStore) Hidden validator argument for RocksDB perf samples ( #24684 )
...
#### Summary of Changes
This PR replaces the use of thread_rng in RocksDB perf metric samples by
AtomicU32 with Ordering::Relaxed to improve the performance of determining
whether to sample the current RocksDB's read/write perf metric.
2022-04-29 17:55:34 -07:00
behzad nouri
d7aec2a7e6
moves ErasureConfig to blockstore_meta next to ErasureMeta
2022-04-29 23:02:29 +00:00
behzad nouri
4b62c93f87
removes erasure::Session, using Reed-Solomon constructs directly
...
The extra wrapping and indirection by the Session struct is not used in
any form. The commit removes Session and instead uses Reed-Solomon
constructs directly.
2022-04-29 23:02:29 +00:00
Yueh-Hsuan Chiang
b56c091b37
(LedgerStore) Hidden validator argument for RocksDB perf samples ( #24682 )
...
#### Problem
Currently, the number of RocksDB perf samples is controlled by an env arg
which is later handled using a lazy_static variable. However, there is a known
performance overhead of using lazy_static as mentioned in
https://github.com/solana-labs/solana/pull/6472 .
#### Summary of Changes
Instead, this PR uses a hidden validator argument, --rocksdb-perf-sample-interval,
for controlling how often RocksDB read/write performance sample is collected.
2022-04-29 15:28:50 -07:00
Brooks Prumo
cb501807ca
cli stake tests: Increase stake amounts to handle raising minimum delegation ( #24835 )
2022-04-29 16:37:18 -05:00
Justin Starry
45314a89b0
explorer: Hide compute units if log parsing fails ( #24848 )
2022-04-30 04:11:59 +08:00
Justin Starry
2d7e29477a
cli: Feature status improvements ( #24745 )
...
* cli: Display feature activation epoch instead of slot
* cli: Always display feature statuses for specific queries
* cli: Add epoch column and show epoch for pending features
* cli: Remove epoch column and clarify statuses
* skip serializing bookkeeping fields
* Add activation slot to feature status table
2022-04-30 04:08:57 +08:00
Code Monkey
aee17f3b50
fix typo on validator help ( #24844 )
...
Co-authored-by: Austin <support@thetaproxies.com>
2022-04-29 13:47:04 -06:00
behzad nouri
08e1727926
minor edits in shred and shredder ( #24841 )
...
Removed Default implementation for ShredType. ShredType should always be
explicitly specified, and not rely on default values.
Simplified single-arg Shred Error variants to use shorter syntax.
Renamed erasure blocks to shards, to be consistent with reed_solomon
crate and not to confuse with FEC blocks.
2022-04-29 19:42:15 +00:00
Justin Starry
c0981a9f8c
docs: Update outdated compute budget docs ( #24737 )
...
* docs: Update outdated compute budget docs
* docs: Add section about reducing tx fees
2022-04-30 03:38:59 +08:00
Pankaj Garg
21ee012c18
Add some timing measure for get_connection() ( #24814 )
...
* Add some timing measure for get_connection()
* fix build issue
2022-04-29 09:58:01 -07:00
Brooks Prumo
a73f99823d
Do not hold lock unnecessarily when hashing ( #24815 )
2022-04-29 08:40:28 +00:00
Justin Starry
a61652104b
Avoid holding lock guards in match expressions ( #24805 )
...
* Avoid holding bank forks read lock for RPC requests
* Avoid using lock guards in temporaries
* revert fetch stage change
2022-04-29 16:32:46 +08:00
dependabot[bot]
9a136aa684
chore: bump cross-fetch from 3.1.4 to 3.1.5 in /docs ( #24812 )
...
Bumps [cross-fetch](https://github.com/lquixada/cross-fetch ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/lquixada/cross-fetch/releases )
- [Commits](https://github.com/lquixada/cross-fetch/compare/v3.1.4...v3.1.5 )
---
updated-dependencies:
- dependency-name: cross-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 15:18:06 +08:00
axleiro
ebcdd3b18d
adding solana-private.sh
...
for a new pipeline
2022-04-29 11:36:21 +05:30
Yueh-Hsuan Chiang
27efcae16c
(LedgerStore) Convert Rocks from tuple to struct with named fields ( #24761 )
...
#### Problem
The RocksDB wrapper,`Rocks`, under blockstore_db is currently implemented
as a tuple with unnamed fields. Accessing its fields requires syntax like `self.0`
which limits readability.
#### Summary of Changes
This PR converts Rocks from tuple to struct so that it has more human-readable
fields.
2022-04-28 21:32:48 -07:00
steveluscher
0e0065a3f2
fix: restore export of PACKET_DATA_SIZE to web3.js
2022-04-28 20:03:57 -07:00
Dan Albert
ad7c95b8a5
Update non-circulating supply list ( #24817 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2022-04-29 02:57:54 +00:00
behzad nouri
008860bb36
removes SHRED_PAYLOAD_SIZE from shred public interface ( #24806 )
2022-04-28 23:42:37 +00:00
Steven Luscher
2e617ba4fd
fix: the one where we fix client subscriptions ( #24473 )
...
* chore: create a first-class type to distinguish client subscription ids from server subscription ids
* chore: add fast-stable-stringify as a dependency to web3.js
* fix: reimplement the subscription tracker as a state machine
* test: updated tests to recognize that signatureUnsubscribe happens synchronously
* chore: add sinon-chai so that we can make assertions on calling spies
* test: coverage for the full range of subscription state transitions
* fix: special case auto-disposing subscriptions like signatureSubscribe
* fix: document Subscription type (SQUASH THIS)
* fix: strict undefined checks (SQUASH THIS)
* fix: naming (SQUASH THIS)
* fix: move defaulting to source (SQUASH THIS)
* fix: build RPC args first, then produce the subscription topic hash (SQUASH THIS)
* fix: dispose handles no longer track whether they've been called (SQUASH THIS)
* fix: shore up the auto-disposing sub tests now that double-free doesn't fatal (SQUASH THIS)
* fix: write documentation explaining how and why to apply a default commitment (SQUASH THIS)
* fix: skip subscriptions that have been deleted when recursing (SQUASH THIS)
* fix: bail on async responses when the connection has been recycled (SQUASH THIS)
* fix: typo in comment (SQUASH THIS)
* chore: comment on why notification callbacks are ts-ignored
* chore: start all the new stuff out as private members of the Connection class
2022-04-28 16:21:39 -07:00
Brooks Prumo
b4ade0d48a
Make stake integration tests aware of stake minimum delegation ( #24809 )
2022-04-28 18:11:39 -05:00
Steven Luscher
8f6e469d92
test: repair web3.js getBlocks tests ( #24813 )
2022-04-28 16:09:08 -07:00
Jon Cinque
b4503d4110
token: Add features for new program releases ( #24742 )
...
* token: Add features for new program releases
* Add PR number
2022-04-28 23:43:57 +02:00
Justin Starry
4e58b3870c
Update all BankForks methods to return owned values ( #24801 )
2022-04-28 18:51:00 +00:00
dependabot[bot]
b22a14ca68
chore: bump etcd-client from 0.9.0 to 0.9.1 ( #24774 )
...
* chore: bump etcd-client from 0.9.0 to 0.9.1
Bumps [etcd-client](https://github.com/etcdv3/etcd-client ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/etcdv3/etcd-client/releases )
- [Commits](https://github.com/etcdv3/etcd-client/compare/v0.9.0...v0.9.1 )
---
updated-dependencies:
- dependency-name: etcd-client
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-04-28 12:30:37 -06:00
dependabot[bot]
9f941bd191
chore: bump tokio from 1.17.0 to 1.18.0 ( #24773 )
...
* chore: bump tokio from 1.17.0 to 1.18.0
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.18.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-04-28 12:30:19 -06:00
Tyera Eulberg
e189603d17
Make test less brittle ( #24803 )
2022-04-28 12:09:01 -06:00
Tyera Eulberg
e7074bc61b
Parse token-2022 account extensions (mostly) ( #24621 )
...
* Parse most account/mint extensions
* Add comments
2022-04-28 09:48:20 -06:00
Lijun Wang
431c8412ef
Leader info refresher ( #24597 )
...
In PR review https://github.com/solana-labs/solana/pull/24083/files#r852661162 . We are concerned the leader info might be out dated if the retry queue is long causing large number transactions sent to outdated leaders and increasing the load in the network.
A leader info refresher is used to ensure the leader info is up-to-date before being used in sending transactions. The refresher can update the new leader with updated endpoints.
2022-04-28 08:35:42 -07:00
Brooks Prumo
7b6880f652
Make test_bank_cloned_stake_delegations() aware of stake minimum delegation ( #24753 )
2022-04-28 09:35:07 -05:00
dependabot[bot]
c2a44cfcee
chore: bump rollup-plugin-dts from 4.2.0 to 4.2.1 in /web3.js ( #24794 )
...
Bumps [rollup-plugin-dts](https://github.com/Swatinem/rollup-plugin-dts ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/Swatinem/rollup-plugin-dts/releases )
- [Changelog](https://github.com/Swatinem/rollup-plugin-dts/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rollup-plugin-dts/compare/v4.2.0...v4.2.1 )
---
updated-dependencies:
- dependency-name: rollup-plugin-dts
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 12:20:38 +00:00
dependabot[bot]
e88afbede8
chore: bump rollup from 2.60.2 to 2.70.2 in /web3.js ( #24793 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.60.2 to 2.70.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.60.2...v2.70.2 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 12:07:45 +00:00
dependabot[bot]
779f768504
chore: bump sinon from 12.0.1 to 13.0.2 in /web3.js ( #24792 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 12.0.1 to 13.0.2.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v12.0.1...v13.0.2 )
---
updated-dependencies:
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:55:20 +00:00
dependabot[bot]
dec9715e82
chore: bump tslib from 2.3.1 to 2.4.0 in /web3.js ( #24791 )
...
Bumps [tslib](https://github.com/Microsoft/tslib ) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/Microsoft/tslib/releases )
- [Commits](https://github.com/Microsoft/tslib/compare/2.3.1...2.4.0 )
---
updated-dependencies:
- dependency-name: tslib
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:42:18 +00:00
dependabot[bot]
e9f100c88e
chore: bump eslint-plugin-import from 2.25.3 to 2.26.0 in /web3.js ( #24790 )
...
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) from 2.25.3 to 2.26.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.25.3...v2.26.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:29:50 +00:00
dependabot[bot]
3725d4391a
chore: bump @commitlint/travis-cli from 16.2.3 to 16.2.4 in /web3.js ( #24789 )
...
Bumps [@commitlint/travis-cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/travis-cli ) from 16.2.3 to 16.2.4.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/travis-cli/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v16.2.4/@commitlint/travis-cli )
---
updated-dependencies:
- dependency-name: "@commitlint/travis-cli"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:17:08 +00:00
dependabot[bot]
c080f6e40f
chore: bump rpc-websockets from 7.4.17 to 7.4.18 in /web3.js ( #24788 )
...
Bumps [rpc-websockets](https://github.com/elpheria/rpc-websockets ) from 7.4.17 to 7.4.18.
- [Release notes](https://github.com/elpheria/rpc-websockets/releases )
- [Commits](https://github.com/elpheria/rpc-websockets/compare/v7.4.17...v7.4.18 )
---
updated-dependencies:
- dependency-name: rpc-websockets
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:05:53 +00:00
Justin Starry
898b3529ff
explorer: Support filtering block transactions by account ( #24787 )
2022-04-28 19:01:12 +08:00
dependabot[bot]
8f2680687d
chore: bump @types/mocha from 9.1.0 to 9.1.1 in /web3.js ( #24781 )
...
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ) from 9.1.0 to 9.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
---
updated-dependencies:
- dependency-name: "@types/mocha"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 18:53:11 +08:00
Justin Starry
aa1d34b09e
explorer: Allow sorting block transactions by compute ( #24786 )
2022-04-28 10:23:33 +00:00
Justin Starry
1d6df736a3
explorer: Improvements to block transactions list ( #24785 )
...
* explorer: Show CPI programs in block transactions list
* explorer: Hide votes from block transactions and display compute col
* explorer: Add greater than sign to compute if tx logs truncated
2022-04-28 18:15:01 +08:00
dependabot[bot]
b730d1da00
chore:(deps): bump react and react-dom in /explorer ( #24783 )
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ). These dependencies needed to be updated together.
Updates `react` from 17.0.2 to 18.1.0
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v18.1.0/packages/react )
Updates `react-dom` from 17.0.2 to 18.1.0
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v18.1.0/packages/react-dom )
---
updated-dependencies:
- dependency-name: react
dependency-type: direct:production
update-type: version-update:semver-major
- dependency-name: react-dom
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 08:46:48 +00:00
Justin Starry
34c109d6e9
explorer: Improve displayed transaction instruction logs ( #24780 )
2022-04-28 08:46:15 +00:00