Steven Luscher
713e86e877
Update rollup script to exclude new secp256k1 and hmac/sha256 dependencies ( #27428 )
...
* fix: repair build script, not to bundle @noble libraries but to keep them as external deps
* chore: remove secp256k1 Typescript types
2022-08-26 12:33:29 -07:00
Jeff Washington (jwash)
cdb699d812
ancient append vecs and cleaning dead slots ( #27353 )
...
cleanup old code
2022-08-26 10:13:41 -07:00
Trent Nelson
14c60bae16
rpc-sts: respect app exit in tx receiver thread
2022-08-26 10:53:21 -06:00
Victor Pontis
900f8a3b2b
explorer: Add information about NFToken NFTs and Collection ( #26716 )
...
This adds NFToken support to the Solana Explorer so that users can see NFToken NFTs and Collections and do some basic /exploring/. NFToken Docs: https://nftoken.so
## Feature Overview
[Loom Video](https://www.loom.com/share/362e24aa66ac4db198b3e014a99235cb )
<img width="1175" alt="CleanShot 2022-07-21 at 12 55 08@2x" src="https://user-images.githubusercontent.com/1319079/180270677-f02c0646-107e-4566-85b7-cd6a9f4b9eac.png ">
<img width="1177" alt="CleanShot 2022-07-21 at 12 55 00@2x" src="https://user-images.githubusercontent.com/1319079/180270686-d376bcba-3477-47ef-8cb0-972ad3b8d22c.png ">
## Code Overview
[Loom Video](https://www.loom.com/share/bdab68e55d73462a9222b105dd2316cb )
2022-08-26 12:49:37 -04:00
Justin Starry
56cebf9da2
Relax keypair ordering restriction for `VersionedTransaction::try_new` ( #27397 )
...
* Relax keypair ordering restriction for VersionedTransaction::try_new
* feedback
2022-08-26 11:25:20 +02:00
Yihau Chen
a19b5c1536
chore: allow test_is_writable_account_cache ignore clippy::get_first ( #27414 )
2022-08-26 15:33:25 +08:00
Will Hickey
5eefc256d6
Fix startup panic if removing accounts directory fails ( #27386 )
...
* Remove contents of accounts directory if deleting the directory fails.
2022-08-25 20:35:12 -05:00
Trent Nelson
b1cff5d740
make fatal log message sound fatal
2022-08-25 21:49:12 +00:00
Tao Zhu
5e71f339c9
Add a SanitizedMessage type that caches writable accounts indexes ( #27317 )
...
* Add a SanitizedMessage type that caches writable accounts indexes
* Add is_writable_account_cache to both SanitizedMessage variants, cache is initialized in constructors
2022-08-25 16:33:41 -05:00
ryleung-solana
b7b03cbb05
Fix quic staked chunking ( #27402 )
2022-08-25 21:10:28 +00:00
Jeff Biseda
d1522fc790
coalesce entries in recv_slot_entries to target byte count ( #27321 )
2022-08-25 13:51:55 -07:00
Steven Luscher
1a836ab4af
[web3.js] Replace sha256 and secp256k1 impls ( #27390 )
...
* fix: replace `@ethersproject/sha2` with `@noble/hashes/sha256`
* fix: replace `secp256k1` with `@noble/secp256k1`
2022-08-25 13:34:11 -07:00
Yihau Chen
c3c1699734
fix test_rpc_subscriptions ( #27394 )
...
* add pubkey to account sender/receiver
* send tx when all subscription ready
* make variables shorter
* add 15 sec timeout for waiting signature/account subscription setup
2022-08-25 20:11:34 +00:00
Brennan Watt
5150877fb3
Attempt to skip redundant startup account verification ( #26999 )
2022-08-25 09:29:57 -07:00
sakridge
5a100ab58e
Add use-quic flag to allow for using quic in program deploy ( #27319 )
2022-08-25 18:26:12 +02:00
kirill lykov
8c81ed0203
add get_multiple_accounts to BenchTpsClient ( #27379 )
2022-08-25 15:44:37 +02:00
Justin Starry
1ccfc65a52
feat: add support for creating version 0 transactions ( #27142 )
...
* feat: add support for version 0 transactions
* chore: feedback
* chore: update VersionedMessage type
* chore: use literals for version getter
* chore: fix lint error
* chore: switch to VersionedMessage.deserialize
2022-08-25 15:42:54 +02:00
samkim-crypto
4c944931c5
zk-token-sdk:add length checks ( #27389 )
...
* zk-token-sdk: add length check for ristretto encodings
* zk-token-sdk: add type check for sigma proofs
2022-08-25 14:22:52 +09:00
Tyera Eulberg
1095cdf436
Fixup docs in sdk to use new clients ( #27362 )
...
Fixup client docs in sdk
2022-08-24 21:29:56 -06:00
carllin
ad6c2d8c5f
Handle VoteStateUpdates for outdated roots bigger than slots in existing VoteState ( #27323 )
...
* Set root to latest vote in tower <= prposed vote state
* fixup tests
* PR comments
* feature gate
2022-08-24 20:42:57 -05:00
Nick Frostbutter
f6de4c6ccf
[docs] added commitment page ( #27265 )
...
feat: added commitment doc
2022-08-24 18:49:17 -05:00
Jeff Washington (jwash)
2da93bd45a
add text to assert ( #27377 )
2022-08-24 14:11:53 -05:00
Jeff Washington (jwash)
9866510ef2
get rid of extra comment ( #27378 )
2022-08-24 14:10:33 -05:00
Tyera Eulberg
7a11571e7f
Update BigTable apis to respect a limit of zero ( #27380 )
...
Update apis to respect a limit of zero
2022-08-24 12:44:19 -06:00
Steven Luscher
5975176af7
[web3.js] Eliminate dependency on `URL` class ( #27349 )
...
* fix: `makeWebsocketUrl` no longer depends on the `URL` class
* fix: `Connection` no longer relies on the `URL` class
* fix: remove dependency on `react-native-url-polyfill`
2022-08-24 11:02:40 -07:00
Tyera Eulberg
b8b3d723da
Use new client crates ( #27360 )
...
* Update ancillary cli crates
* Update cli
* Update command-line tools
* Update rpc, etc
* Update client-test
* Update core, validator
* Update local-cluster
2022-08-24 10:47:02 -06:00
Tyera Eulberg
62eebe6e6d
Parse address-lookup-table instructions ( #27316 )
...
* Parse address-lookup-table instructions
* Finish extend instruction handling
* Rename payer, recipient
* Update docs parsing status
2022-08-24 10:17:53 -06:00
Lijun Wang
ed463dd48c
Support tpu disable quic in net scripts ( #27039 )
...
Support tpu disable quic in net scripts
2022-08-24 08:21:01 -07:00
Jeff Washington (jwash)
841ed68088
clean_accounts add _inclusive ( #27282 )
2022-08-24 08:56:53 -05:00
samkim-crypto
5e8b8abd84
zk-token-sdk: constant time equality check for elgamal and aes key derivation ( #27364 )
...
zk-token-sdk: use constant time equality check for elgamal and aes key derivation
2022-08-24 18:56:55 +09:00
samkim-crypto
0ea984ae20
zk-token-sdk: calculate transfer fee without conditional branch ( #27356 )
2022-08-24 17:29:23 +09:00
samkim-crypto
19fc4fcbf8
zk-token-sdk: use constant-time msm for inner product proof generation ( #27355 )
2022-08-24 14:56:21 +09:00
Tyera Eulberg
c24eaa36f8
Split up solana-client ( #27246 )
...
* Move thin-client to new crate
* Move tpu client and varieties to new crate
* Move pubsub-client to new crate
* Move rpc-client to new crate
* Add client-common crate to avoid circular dependencies
* Move rpc_cache and make less pub
* Remove unused unpub modules
* Add nonce-client
* Remove unused dependencies
* Fix rpc_client docs
* Move spinner to calling clients
* Rename client-common to rpc-client-api
* Remove unnecessary rpc_ prefix
* Remove unused ClientErrorKind variant
* Remove unnecessary Client prefix
* Move mod declarations into lib.rs and remove unnecessary files
* Rename nonce-client and remove redundant module name
* Restore mock_sender_for_cli in solana-client
2022-08-24 05:34:35 +00:00
Ashwin Sekar
efa6201eda
Check overflow on vote tx compaction boundary ( #27185 )
...
* Check overflow on vote tx compaction boundary
Check for overflow during the conversion between VoteStateUpdate and
CompactVoteStateUpdate.
* Try removing clippy supress
2022-08-23 22:29:03 -07:00
samkim-crypto
804dfe0f1a
zk-token-sdk: remove non-constant time assign for fee_proof transcript ( #27354 )
2022-08-24 14:25:09 +09:00
Yihau Chen
3b01517da6
chore: skip spl downstream project test when the used version too high ( #27326 )
...
* skip spl build when solana version too high
* lint
2022-08-24 03:30:30 +00:00
apfitzge
66e2df8ddc
failed_store_id should be searched per pubkey ( #27342 )
2022-08-23 19:12:50 -05:00
Jeff Washington (jwash)
2014525882
clean_rooted_entries adds _EXclusive ( #27309 )
2022-08-23 18:12:47 -05:00
Alexander Meißner
a8543ad992
Feature: `stop_sibling_instruction_search_at_parent` ( #27290 )
...
* Adds stop_sibling_instruction_search_at_parent.
* Adds test_syscall_sol_get_processed_sibling_instruction().
2022-08-23 23:55:56 +02:00
Jeff Washington (jwash)
1c4f7bcd37
clean optimization for store count ( #27277 )
2022-08-23 14:56:44 -05:00
apfitzge
caca525695
ignore clippy derive_partial_eq_without_eq in prost generated code ( #27337 )
...
ignore clippy derive_partial_eq_without_eq in prost generated code
2022-08-23 14:21:24 -05:00
Jeff Washington (jwash)
56d1a88924
add _inclusive ( #27334 )
2022-08-23 14:19:13 -05:00
Jeff Washington (jwash)
a5c5d70c1c
add _inclusive ( #27335 )
2022-08-23 14:19:04 -05:00
Jeff Washington (jwash)
7f4dc496ef
add _inclusive ( #27336 )
...
add _inclusive, rename slot
2022-08-23 14:18:55 -05:00
Tyera Eulberg
deb13abb1f
Update config parsing doc ( #27340 )
2022-08-23 15:45:27 +00:00
Brooks Prumo
62c5679557
Allow Ctrl-C when querying balances ( #27314 )
2022-08-23 14:23:30 +00:00
Jeff Washington (jwash)
326f43d644
don't mark ancient append vecs as dirty wrt clean ( #27312 )
2022-08-23 09:18:48 -05:00
Xiang Zhu
40ffb50cde
Another timeout tweak to reduce rpc test flakiness ( #27313 )
...
* Another timeout tweak to reduce rpc test flakiness
* Increase the same rpc timeout further
2022-08-23 06:28:12 -07:00
Alexander Meißner
b2ae7def06
Remove `total_data_size` and `data_size_changed` from `ExecuteDetailsTimings` ( #27051 )
...
* Removes total_data_size and data_size_changed from ExecuteDetailsTimings.
2022-08-23 14:58:32 +02:00
dependabot[bot]
9b157499ef
chore: bump eslint-plugin-mocha from 10.0.4 to 10.1.0 in /web3.js ( #27332 )
...
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha ) from 10.0.4 to 10.1.0.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases )
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/10.0.4...10.1.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-mocha
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 08:49:27 +00:00