Jon Cinque
0f6f6080f3
sdk: Add Borsh support for types and utilities ( #15290 )
...
* sdk: Add Borsh to Pubkey
* Add serialization error for easier borsh integration
* Add Borsh usage to banks-client and sdk
* Rename SerializationError -> IOError
* Add new errors to proto
* Update Cargo lock
* Update Cargo.lock based on CI
* Clippy
* Update ABI on bank
* Address review feedback
* Update sanity program instruction count test
2021-02-18 11:14:56 +01:00
dependabot[bot]
fb1f2d54a5
chore:(deps): bump @solana/web3.js from 0.91.3 to 0.92.1 in /explorer ( #15392 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.91.3 to 0.92.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.91.3...v0.92.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 09:12:30 +00:00
Dmitri Makarov
89b0d803ff
Add Dmitri's key ( #15390 )
2021-02-18 09:23:18 +01:00
Justin Starry
b809ed0404
fix: update browser bundle link ( #15386 )
2021-02-18 11:34:57 +08:00
Michael Vines
733c9b48f9
"of of" -> "of"
2021-02-17 18:19:37 -08:00
Michael Vines
0c50311d85
First draft of security policy
2021-02-17 18:14:15 -08:00
Tyera Eulberg
fcee227021
Add lamports overflow test for nonce withdraw ( #15383 )
2021-02-18 01:37:13 +00:00
Tyera Eulberg
170cb792eb
Return blockstore error if previous_blockhash cannot be determined ( #15382 )
...
* Return blockstore error if previous_blockhash cannot be determined
* Add require_previous_blockshash flag
2021-02-18 01:04:52 +00:00
Josh
8c8f8f3130
feat: update commitment variants ( #15253 )
...
* feat: update commitment variants
* fix: make pretty
* fix: deprecate, but leave in commitment types
2021-02-17 16:15:09 -08:00
Trent Nelson
7f7370c306
Re-allow clippy::integer_arithmetic at crate-level
2021-02-17 13:55:08 -07:00
Trent Nelson
7035e8485c
CI: Globally deny clippy::integer_arithmetic lint
2021-02-17 13:55:08 -07:00
Michael Vines
9ba69a7381
Adapt to fs_extra 1.2.0
2021-02-17 12:44:58 -08:00
Josh
b9fb595db2
explorer: remove line breaks from wrapped data ( #15379 )
2021-02-17 12:12:49 -08:00
Michael Vines
480b4e08a9
Drop v1.3, add v1.7
2021-02-17 09:01:45 -08:00
sakridge
b24cb9840e
Speedup ledger cleanup test ( #15304 )
...
Just clone to produce shreds and use a separate insert thread.
2021-02-17 08:59:25 -08:00
Justin Starry
4d16b2fcc5
explorer: Add upgradeable loader to search results ( #15373 )
2021-02-17 23:00:12 +08:00
Jon Cinque
3ac7e09de6
docs: Remove references to "create_address_with_seed" ( #15339 )
2021-02-17 14:25:02 +01:00
Tyera Eulberg
51c27dcc1c
Clean & check stake ( #15363 )
...
* Add failing test
* Fix test
* Clean up redendant if case
* Demonstrate withdrawal boundaries
* Update test to fail on conditions that should be acceptable
* Fix test
* Add test for larger stake source
* Mirror changes for undelegated accounts
* Extra stake checks
* Split accounts must be the right size
Co-authored-by: Stephen Akridge <sakridge@gmail.com>
2021-02-17 03:42:46 +00:00
Tyera Eulberg
b821a5d8dd
Clean nonce
2021-02-16 19:25:00 -08:00
Tyera Eulberg
7e17a0d3bb
Move fn to sdk
2021-02-16 19:25:00 -08:00
Stephen Akridge
f929301c60
Vote program updates
2021-02-16 18:59:15 -08:00
Tyera Eulberg
98e3e570d2
Add --force arg for bigtable upload
2021-02-16 17:24:07 -08:00
Justin Starry
f5c564bc6c
cli: Speed up program deploys ( #15347 )
...
* Speed up deploys
* fix test
2021-02-17 09:00:47 +08:00
Jeff Washington (jwash)
7fee0bc69c
move hashing functionality to accounts_hash ( #15353 )
2021-02-17 00:29:50 +00:00
Jeff Washington (jwash)
8367740ff9
compute merkle root on chunks of fanout^3 ( #15344 )
...
* compute merkle root on chunks of fanout^3
* improve test_accountsdb_compute_merkle_root_large
2021-02-16 17:03:35 -06:00
Jeff Washington (jwash)
ba02452d75
add validator flag no-accounts-db-index-hashing ( #15350 )
...
* add validator flag no_accounts_db_index_hashing
* add validator flag no_accounts_db_index_hashing
2021-02-16 21:13:48 +00:00
behzad nouri
f79c9d4094
adds an upper bound on cluster-slots size ( #15300 )
...
https://github.com/solana-labs/solana/issues/14366#issuecomment-769096305
2021-02-16 21:12:13 +00:00
behzad nouri
076c20f1ca
checks that prune-messages have the same inner/outer pubkey ( #15352 )
2021-02-16 21:06:18 +00:00
Jeff Washington (jwash)
d83aeebcca
change 2d cumulative calculation ( #15346 )
2021-02-16 14:24:45 -06:00
Jeff Washington (jwash)
708b8380b7
assert 2 items in stores don't have same slot and version with different values ( #15250 )
...
* assert 2 items in stores don't have same slot and version with different values
* add message to assert
2021-02-16 18:12:59 +00:00
Austin Abell
17a328bc6f
Fix typo in account docs ( #15349 )
2021-02-16 09:58:33 -07:00
Justin Starry
aaa44355b1
explorer: Display upgradeable program details ( #15348 )
2021-02-16 18:30:02 +08:00
Jeff Washington (jwash)
53959b4bbc
divide account scan into bins for more efficient downstream processing ( #15303 )
2021-02-15 21:27:39 -06:00
Jeff Washington (jwash)
78a176fc00
rename CumulativeOffset in preparation of 2d support ( #15338 )
2021-02-15 20:57:05 -06:00
Trent Nelson
b3256aa722
Bump rand_core to 0.6.2
...
https://rustsec.org/advisories/RUSTSEC-2021-0023
2021-02-15 22:51:35 +00:00
Trent Nelson
ae82b5ebfd
stake: add lamports overflow test for withdraw
2021-02-15 11:09:51 -07:00
Alexander Meißner
b43d2bc882
rbpf-v0.2.5 ( #15334 )
2021-02-15 18:27:41 +01:00
dependabot[bot]
5d3caa57a0
chore:(deps): bump @types/node from 14.14.26 to 14.14.28 in /explorer ( #15333 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.26 to 14.14.28.
- [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>
2021-02-15 10:50:33 +00:00
dependabot[bot]
e657b8f12b
chore:(deps): bump @testing-library/user-event in /explorer ( #15332 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.7.0 to 12.7.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.7.0...v12.7.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 10:26:30 +00:00
dependabot[bot]
bf59c5a89c
chore:(deps): bump @types/react-dom from 17.0.0 to 17.0.1 in /explorer ( #15331 )
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 17.0.0 to 17.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 10:09:11 +00:00
dependabot[bot]
dc40eb04ff
chore:(deps): bump @solana/web3.js from 0.91.2 to 0.91.3 in /explorer ( #15330 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.91.2 to 0.91.3.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.91.2...v0.91.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 09:43:52 +00:00
dependabot[bot]
f41ea77c6f
chore:(deps): bump @types/react from 17.0.1 to 17.0.2 in /explorer ( #15329 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 17.0.1 to 17.0.2.
- [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>
2021-02-15 09:29:58 +00:00
dependabot[bot]
8cdff597b6
chore:(deps): bump @project-serum/serum in /explorer ( #15328 )
...
Bumps [@project-serum/serum](https://github.com/project-serum/serum-ts ) from 0.13.21 to 0.13.23.
- [Release notes](https://github.com/project-serum/serum-ts/releases )
- [Commits](https://github.com/project-serum/serum-ts/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 09:11:48 +00:00
Ryo Onodera
30f18319f2
Track RecycleStore basic stats with needed refactor ( #15291 )
...
* Track RecycleStore basic stats with needed refactor
* Fix another wrong metrics def
2021-02-15 16:09:17 +09:00
behzad nouri
e403aeaf05
adds an inverted index to leader schedule ( #15249 )
...
next_leader_slot is doing a linear search for slots in which a pubkey is
the leader:
https://github.com/solana-labs/solana/blob/e59a24d9f/ledger/src/leader_schedule_cache.rs#L123-L157
This can be done more efficiently by adding an inverted index to leader
schedule.
2021-02-15 00:52:52 +00:00
sakridge
5b8f046c67
More configurable rocksdb compaction ( #15213 )
...
rocksdb compaction can cause long stalls, so
make it more configurable to try and reduce those stalls
and also to coordinate between multiple nodes to not induce
stall at the same time.
2021-02-14 10:16:30 -08:00
Tyera Eulberg
0812931c38
Log if unsanitary transactions are read from blockstore ( #15319 )
2021-02-14 06:32:43 +00:00
HowJMay
9c7b3dc1b5
style: Fix the typos
2021-02-13 12:34:21 -07:00
publish-docs.sh
a8d4d746ce
Fix broken TdS links
2021-02-13 10:23:34 -07:00
Trent Nelson
1a20ab968f
sdk: sanitize `Hash` base58 input
2021-02-13 08:40:35 +00:00