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
yihau
adcfdfa469
chore(ci): trigger github release after semantic-release
2022-04-26 17:30:53 +08:00
yihau
8ba003aa76
feat(ci): remove --dry-run
2022-04-26 14:52:58 +08:00
yihau
cddf3fc10f
fix(ci): install missing module
2022-04-26 14:01:34 +08:00
Michael Vines
533eadd024
Remove StakeState::get_rent_exempt_reserve()
2022-04-25 21:43:04 -07:00
steveluscher
7791319374
chore: re-re-repair web3.js typegen
2022-04-25 21:34:58 -07:00
hanako mumei
4aeb566c85
Add maybe clone flag to solana-test-validator
...
add --maybe-clone, which silently ignores accounts to be cloned, rather than dying
2022-04-25 19:56:57 -07:00
HaoranYi
3abd46010c
Report metric command queue size ( #24661 )
...
* report metric command queue size
* rename buffered_points
2022-04-25 19:18:38 -05:00
HaoranYi
9044cd7179
Check insert optimization for bank_forks ( #24641 )
...
* check insert optimization
* clippy suggested simplification
2022-04-25 19:17:21 -05:00
behzad nouri
12ae8d3be5
returns Error when Shred::sanitize fails ( #24653 )
...
Including the error in the output allows to debug when Shred::sanitize
fails.
2022-04-25 23:19:37 +00:00
Brooks Prumo
d6869773bb
Make rpc test_account_subscribe aware of stake minimum delegation ( #24659 )
2022-04-25 18:35:05 -04:00
dependabot[bot]
74b05eebd8
chore: bump num_enum from 0.5.4 to 0.5.7 ( #24634 )
...
Bumps [num_enum](https://github.com/illicitonion/num_enum ) from 0.5.4 to 0.5.7.
- [Release notes](https://github.com/illicitonion/num_enum/releases )
- [Commits](https://github.com/illicitonion/num_enum/commits )
---
updated-dependencies:
- dependency-name: num_enum
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-25 16:05:59 -06:00
Jeff Washington (jwash)
6ff16b1728
revert #24546 ( #24647 )
...
* Revert "declare syscalls with macro (#24564 )"
38bdb401a3
* Revert "Simplify syscall register and bind (#24546 )"
28ed2a9df4
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
2022-04-25 15:37:43 -05:00
dependabot[bot]
75a83e4b6d
chore: bump ctrlc from 3.2.1 to 3.2.2 ( #24648 )
...
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc ) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases )
- [Commits](https://github.com/Detegr/rust-ctrlc/compare/3.2.1...3.2.2 )
---
updated-dependencies:
- dependency-name: ctrlc
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-25 14:03:20 -06:00
steviez
e8def9c89c
Variable renames for readability ( #24522 )
2022-04-25 14:50:26 -05:00
Tyera Eulberg
d2dad51b8c
Support token-2022 in RPC account parsing ( #24619 )
...
* Use token-2022 in parsed_token_account
* Parse token-2022 accounts
2022-04-25 13:25:21 -06:00
steveluscher
674c0d7602
fix: downgrade multiple unsubscribes from fatal to warning
2022-04-25 11:50:47 -07:00
Jeff Washington (jwash)
099258e4eb
some cleanup ( #24568 )
2022-04-25 13:17:30 -05:00
Pankaj Garg
564bd4b34b
Add more datapoints in QUIC streamer ( #24611 )
2022-04-25 10:12:11 -07:00
dependabot[bot]
46da7714bb
chore: bump quinn-proto from 0.8.0 to 0.8.2 ( #24609 )
...
* chore: bump quinn-proto from 0.8.0 to 0.8.2
Bumps [quinn-proto](https://github.com/quinn-rs/quinn ) from 0.8.0 to 0.8.2.
- [Release notes](https://github.com/quinn-rs/quinn/releases )
- [Commits](https://github.com/quinn-rs/quinn/commits )
---
updated-dependencies:
- dependency-name: quinn-proto
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-25 09:57:04 -06:00
Jeff Washington (jwash)
5231855261
add state for squash ancient ( #24552 )
2022-04-25 09:05:37 -05:00
Brennan Gebotys
0b93de9bd5
feat: implement getTransactions ( #23633 )
...
implement getTransactions which retrieves multiple transaction responses in a single RPC call
Co-authored-by: obiwan <you@example.com>
2022-04-25 21:46:33 +08:00
behzad nouri
895f76a93c
hides implementation details of shred from its public interface ( #24563 )
...
Working towards embedding versioning into shreds binary, so that a new
variant of shred struct can include merkle tree hashes of the erasure
set.
2022-04-25 12:43:22 +00:00