dependabot[bot]
eda77f188d
chore:(deps): bump sass from 1.47.0 to 1.51.0 in /explorer ( #24779 )
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.47.0 to 1.51.0.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.47.0...1.51.0 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
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 08:32:03 +00:00
dependabot[bot]
9d913ae3f1
chore:(deps): bump @testing-library/react in /explorer ( #24772 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 12.1.2 to 12.1.5.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v12.1.2...v12.1.5 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
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 08:25:39 +00:00
Justin Starry
f71b51f9a7
explorer: Show address for unknown programs in logs ( #24770 )
2022-04-28 16:25:24 +08:00
dependabot[bot]
bd2ba41bfb
chore: bump @rollup/plugin-replace from 3.1.0 to 4.0.0 in /web3.js ( #24775 )
...
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace ) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/url-v4.0.0/packages/replace )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-replace"
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 08:25:10 +00:00
Jack May
224e0b27a1
Simplify register and bind ( #24724 )
...
* Revert "Bumps solana_rbpf to v0.2.27 (#24694 )"
This reverts commit f3d27cc400
.
* Simplify syscall register and bind (#24546 )
* declare syscalls with macro (#24564 )
2022-04-28 10:24:42 +02:00
dependabot[bot]
1168b9f9ab
chore:(deps): bump bignumber.js from 9.0.1 to 9.0.2 in /explorer ( #24771 )
...
Bumps [bignumber.js](https://github.com/MikeMcl/bignumber.js ) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/MikeMcl/bignumber.js/releases )
- [Changelog](https://github.com/MikeMcl/bignumber.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/MikeMcl/bignumber.js/compare/v9.0.1...v9.0.2 )
---
updated-dependencies:
- dependency-name: bignumber.js
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 08:24:25 +00:00
sakridge
5a430c15e2
Separate sigverify metrics for each verifier ( #24744 )
2022-04-28 01:16:17 -07:00
Tyera Eulberg
b6a18e0e87
Fix get_first_available_block for genesis; also make get_blocks(_with_limit) consistent ( #24760 )
...
* Handle genesis more appropriately in get_first_available_block
* Add unit test
* Make get_blocks starting-slots consistent with other methods
2022-04-28 00:36:19 -06:00
T.J. Kyner
8be726aa67
typo fix in javascript-api docs ( #24085 )
2022-04-28 11:06:41 +08:00
apfitzge
5e6b2e49dc
fix typo in cluster docs ( #24706 )
2022-04-27 19:24:04 -05:00
behzad nouri
1e86d3ab59
moves shredder out of the shred module ( #24755 )
...
Working towards embedding versioning into shreds binary; so Shredder can
no longer depend on internals of Shred.
2022-04-27 22:00:04 +00:00
steveluscher
8541704267
chore: add @types/sinon-chai
2022-04-27 14:38:42 -07:00
Pankaj Garg
0910d9a209
Increase worker thread limits in quic streamer runtime ( #24751 )
...
* Resurrect "Increase worker thread limits in quic streamer runtime (#24535 )""
* Fix test_quic_server_block_multiple_connections
* remove sleep
2022-04-27 20:50:08 +00:00
Pankaj Garg
ded6ac6696
Swap quic counters with 0 while reporting ( #24754 )
2022-04-27 20:17:40 +00:00
Tyera Eulberg
a1b066a438
Support token-2022 in RPC instruction parsing ( #24537 )
...
* Use token-2022 dependency in parse_token and add tests for new variants
* Remove test hack
* Bump spl-token-2022 and use new AuthorityType::CloseMint
* Add zk-token-sdk to patch-crates.sh
2022-04-27 19:42:00 +00:00
steveluscher
7b5aee7576
chore: update web3.js lockfiles
2022-04-27 11:43:57 -07:00
Steven Luscher
442e6c325f
fix: eliminate circular dependencies in web3.js ( #24729 )
...
* chore: enable circular dependency warnings on build
* fix: eliminate circular dependencies in web3.js
2022-04-27 11:41:14 -07:00
Steven Luscher
69725df6b0
chore: delete unused Rollup config in web3.js test dir ( #24733 )
2022-04-27 11:36:04 -07:00
behzad nouri
0f60665100
replaces Shred::new_empty_coding with Shred::new_from_parity_shard ( #24749 )
...
Removing implementation details of shreds and payload offsets from
shredder, so that shredder does not need to mutate payload:
https://github.com/solana-labs/solana/blob/71ad12128/ledger/src/shred.rs#L968-L977
Also, Shred::new_from_data can simply obtain a slice as opposed to
Option<&[u8]>:
https://github.com/solana-labs/solana/blob/71ad12128/ledger/src/shred.rs#L268-L278
2022-04-27 18:04:10 +00:00
sakridge
cdce19be29
Use batch send instead of individual send ( #24628 )
2022-04-27 19:28:16 +02:00
Steven Luscher
27a1757612
chore: compile tests with the same compiler as the build itself ( #24728 )
2022-04-27 09:53:24 -07:00
Justin Starry
2f62fb2031
Revert "Increase worker thread limits in quic streamer runtime ( #24535 )"
...
This reverts commit f244a2e141
.
2022-04-28 00:46:42 +08:00
Jacob Creech
b080352436
fix: Update custom metadata token disclaimer ( #24750 )
...
* fix: Update custom metadata token disclaimer
There have been quite a few reports of people creating tokens and then being confused by the disclaimer on their own token. Added some additional information + a CTA to verify based on feedback
* fix: update token metadata disclaimer to warning
2022-04-28 00:37:38 +08:00
Steven Luscher
0e3056f265
chore: leave no-undef checking up to TypeScript ( #24726 )
2022-04-27 09:31:57 -07:00
HaoranYi
71ad121282
metric optimization: simply data structure used for metric datapoints and counter storage ( #24447 )
...
* remove redudant if
* check loglevel enable before submit metrics
* optimize metric data structure
* add metrics benches
* clippy: add default impl
* remove clone
* add random benches
* use mem::swap to exchange points vec
2022-04-27 09:11:29 -05:00
Tyera Eulberg
db32549c00
Convert tuples to structs in Stake rewards-calculation functions ( #24681 )
...
* Replace opaque tuples with structs in Stake rewards calculation
* Fixup struct and field names, and remove one cumbersome destructuring
2022-04-27 07:44:10 +00:00
Steven Luscher
2be4ee3619
test: increase timeout for getEstimatedFee test ( #24732 )
2022-04-26 23:54:56 -07:00
Justin Starry
4e2d96fe88
explorer: display slot leaders on block details page ( #24727 )
2022-04-27 04:57:18 +00:00
Jeff Washington (jwash)
f22738fd7b
fix test_rent_eager_collect_rent_in_partition ( #24722 )
2022-04-26 23:06:57 -05:00
Yihau Chen
9f34968a7f
explorer: replace Block with Slot ( #24725 )
2022-04-27 11:47:37 +08:00
steviez
b48fd4eec2
Construct PacketBatches from PongMessages directly ( #24708 )
...
Serialize pongs directly into PacketBatch to save copying the data from
intermediate packets into PacketBatch.
2022-04-26 21:30:00 -05:00
behzad nouri
081c844d6e
removes Shred::new_empty_data_shred ( #24714 )
...
Shred::new_empty_data_shred returns an invalid shred (i.e.
shred.sanitize() returns error). The method is only used in tests and
can be easily replaced with Shred::new_from_data. To keep the shred api
surface small, this commit removes this method.
2022-04-26 23:13:12 +00:00
Ryo Onodera
412a5a0d33
Credits auto rewind on vote recreation ( #22546 )
...
* Credits auto rewind on vote recreation
* Update comment
* Improve comments and tests
* Recommended fn rename
* Restore old feature, and replace new feature key
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-04-26 15:49:35 -06:00
Pankaj Garg
f244a2e141
Increase worker thread limits in quic streamer runtime ( #24535 )
...
* Increase worker thread limits in quic streamer runtime
* fix Cargo.lock
* fix test, and use a constant for controlling thread count
2022-04-26 21:25:02 +00:00
behzad nouri
913ad79cd9
patches bug in data-shred index sanitize ( #24707 )
...
https://github.com/solana-labs/solana/pull/24653
introduced an off-by-one error in data-shred index sanitize.
2022-04-26 21:10:27 +00:00
Haoran Yi
7de339cb5c
remove vote instruction counter query from grafana dashboard configuration
2022-04-26 14:38:44 -05:00
Haoran Yi
1ea7e7c887
remove vote instruction counters
2022-04-26 14:38:44 -05:00
DimAn
e52157b98b
keygen: fix debug build after migration to clap-v3-utils ( #24686 )
2022-04-26 21:21:07 +02:00
Steven Luscher
3007f233f4
Log subscription for `All` no longer clobbers `Some` subscription for pubkey ( #24215 )
...
* fix: subscribing for all logs no longer clobbers pubkey-specific subscriptions
* test: write tests to cover logsSubscribe
2022-04-26 10:31:11 -07:00
Jeff Washington (jwash)
534a666153
hookup 'just_rewrites' ( #24662 )
2022-04-26 12:14:25 -05:00
Justin Starry
2df1c1cd52
explorer: parse compute budget instructions ( #24703 )
2022-04-26 17:09:00 +00:00
Richard Patel
506ee0014a
rbpf-cli: add coverage flag
...
- adds DWARF parser using gimli
- adds coverage module to derive an execution trace to line numbers
- adds a gcov module to export a coverage profile to gcov intermediate JSON format
- add basic CLI logger
2022-04-26 10:03:13 -07:00
Justin Starry
d63a4fa174
explorer: bump web3 to 1.41.0 ( #24701 )
2022-04-26 16:56:49 +00:00
Justin Starry
b046c9a776
explorer: fix pretty printed logs for native programs without logging ( #24700 )
...
* explorer: fix pretty printed logs for native programs without logging
* prettier
2022-04-26 16:56:07 +00:00
Alexander Meißner
f3d27cc400
Bumps solana_rbpf to v0.2.27 ( #24694 )
2022-04-26 17:58:55 +02:00
Phil Chen
6bbfef7069
feat: add support for compute budget instructions ( #24086 )
...
* Add ComputeBudgetInstruction to web3 sdk
* Prettier fix
* Rename to ComputeBudgetProgram and enable tests
Co-authored-by: Justin Starry <justin@solana.com>
2022-04-26 23:58:32 +08:00
yihau
356bda272b
fix(ci): missing web3 lib
2022-04-26 23:46:14 +08:00
Justin Starry
b6bc5d2fa1
Aggregate executor update timing metrics
2022-04-26 23:15:22 +08:00
Brooks Prumo
edf3f05ab5
Make test_next_leader_slot_next_epoch() aware of stake minimum delegation ( #24660 )
2022-04-26 08:31:06 -04:00
yihau
08bb98450f
chore(ci): remove unnecessary job
2022-04-26 17:49:05 +08:00