Michael Vines
6242809a07
Bump version to 1.5.13
2021-03-03 21:51:34 +00:00
mergify[bot]
a00cbb55b9
Add error reporting to system program ( #15644 ) ( #15650 )
...
(cherry picked from commit a9c8dbfd0c
)
Co-authored-by: Jack May <jack@solana.com >
2021-03-02 22:41:07 -08:00
sakridge
fa7067950a
Update version to v1.5.11 ( #15574 )
2021-02-27 04:27:54 +00:00
mergify[bot]
96e587c83e
Fix finalize_dead_slot_removal() of cached slots decrementing refcount ( #15534 ) ( #15570 )
...
(cherry picked from commit 97eaf3c334
)
Co-authored-by: carllin <carl@solana.com >
2021-02-27 03:01:50 +00:00
mergify[bot]
7d67f5b18c
check program owners ( #15495 ) ( #15568 )
...
* check program owners
* BankSlotDelta should change because InstructionError variant added
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit 8399851d11
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-02-26 23:34:55 +00:00
Michael Vines
a80ac11b68
Bump version to v1.5.11
2021-02-25 09:12:39 -08:00
Ryo Onodera
a52a22f558
Bump version to 1.5.10 ( #15533 )
2021-02-25 21:00:17 +09:00
mergify[bot]
dfd09a5c13
Introduce ttl eviction for RecycleStore ( #15513 ) ( #15529 )
...
(cherry picked from commit 21b43009f6
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-02-25 09:42:38 +00:00
mergify[bot]
241fb938c1
Check vote account initialization ( #15503 ) ( #15517 )
...
* Check account data_len on Vote account init
* Check account data populated on update_cached_accounts
(cherry picked from commit eddb7f98f5
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-02-24 18:22:48 +00:00
mergify[bot]
11190259d5
change store account scan to not use dashmap ( #15104 ) ( #15162 )
...
* change store account scan to not use dashmap
* add test_accountsdb_de_dup_accounts_from_stores
* add tests
* add test_accountsdb_flatten_hash_intermediate
* add tests
* add sort test
* add test
* clippy
* first_slice -> is_first_slice
* comment
* use partial_cmp
(cherry picked from commit 600cea274d
)
Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com >
2021-02-24 17:33:38 +00:00
mergify[bot]
7f9d5ac383
pass expected capitalization to hash calculation to improve assert msg ( #15191 ) ( #15248 )
...
* cleanup if
* pass expected capitalization to hash calculation to improve assert message
* fix bank function
* one more level
* calculate_accounts_hash_helper
* add slot to error message
* success
(cherry picked from commit e59a24d9f9
)
Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com >
2021-02-24 17:13:16 +00:00
mergify[bot]
081f1cd118
gracefully handle vote account without authorized voter ( #15501 ) ( #15507 )
...
(cherry picked from commit 2f46da346d
)
Co-authored-by: Jack May <jack@solana.com >
2021-02-24 09:19:52 +00:00
Michael Vines
671fb3519d
Pacify clippy
2021-02-19 16:04:18 -08:00
mergify[bot]
767c89526a
add validator flag no-accounts-db-index-hashing (bp #15350 ) ( #15413 )
...
* 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
(cherry picked from commit ba02452d75
)
# Conflicts:
# runtime/src/accounts_background_service.rs
* fix merge error
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com >
2021-02-19 21:18:59 +00:00
mergify[bot]
804a284a52
Threadpool2 ( #15151 ) ( #15159 )
...
* rework thread pool for hash calculation
* rename
(cherry picked from commit fbf9dc47e9
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-19 12:57:52 -06:00
Michael Vines
51e5189ffb
Update ABI digest
2021-02-19 10:54:59 -08:00
mergify[bot]
7148aaa30c
chore: bump serde from 1.0.112 to 1.0.118 (bp #14828 ) ( #15394 )
...
* chore: bump serde from 1.0.112 to 1.0.118 (#14828 )
* chore: bump serde from 1.0.112 to 1.0.122
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.112 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.122 )
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
* Update frozen_abi digest following serde update
* Revert "chore: bump serde from 1.0.112 to 1.0.122"
This reverts commit a3ef4442a4
.
* Revert "[auto-commit] Update all Cargo lock files"
This reverts commit c41c3b005f
.
* chore: bump serde from 1.0.112 to 1.0.118
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.112 to 1.0.118.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.118 )
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
* Remove serum-dex pinning
* blind commit!
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
(cherry picked from commit 1df93fa2be
)
# Conflicts:
# banks-interface/Cargo.toml
# perf/Cargo.toml
# programs/config/Cargo.toml
* Fix conflicts
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-02-18 13:29:17 +00:00
mergify[bot]
7a3c4c184f
sdk: Add Borsh support for types and utilities (bp #15290 ) ( #15393 )
...
* 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
(cherry picked from commit 0f6f6080f3
)
# Conflicts:
# banks-client/Cargo.toml
* Update new dependencies
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-02-18 13:23:08 +00:00
mergify[bot]
1a8b57fcd0
First step towards denying clippy::integer_arithmetic (bp #15366 ) ( #15381 )
...
* CI: Globally deny clippy::integer_arithmetic lint
(cherry picked from commit 7035e8485c
)
* Re-allow clippy::integer_arithmetic at crate-level
(cherry picked from commit 7f7370c306
)
# Conflicts:
# bench-tps/tests/bench_tps.rs
Co-authored-by: Trent Nelson <trent@solana.com >
2021-02-17 22:30:03 +00:00
mergify[bot]
723c03dfbd
Adapt to fs_extra 1.2.0 ( #15380 )
...
(cherry picked from commit 9ba69a7381
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-02-17 22:07:12 +00:00
Michael Vines
8820933287
Bump version to 1.5.9
2021-02-16 22:17:10 -08:00
mergify[bot]
efe563201f
Track RecycleStore basic stats with needed refactor ( #15291 ) ( #15327 )
...
* Track RecycleStore basic stats with needed refactor
* Fix another wrong metrics def
(cherry picked from commit 30f18319f2
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-02-15 08:26:24 +00:00
Trent Nelson
20afb912cd
Bump version to 1.5.8
2021-02-13 04:34:36 +00:00
mergify[bot]
32ec9147bb
Rework spl_token_v2_self_transfer_fix to avoid any SPL Token downtime ( #15306 )
...
(cherry picked from commit 2e7aebf0bb
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-02-12 23:59:08 +00:00
mergify[bot]
067871cc39
Clean up mainnet-beta inflation candidate features ( #15257 )
...
(cherry picked from commit 47c60f8e98
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-02-11 03:02:16 +00:00
Michael Vines
cd994f0162
Bump version to 1.5.7
2021-02-10 05:18:39 +00:00
mergify[bot]
7f0f43cb28
Warp timestamp and extend max-allowable-drift for accommodate slow blocks ( #15204 ) ( #15222 )
...
* Remove timestamp_correction feature gating
* Remove timestamp_bounding feature gating
* Remove unused deprecated ledger code
* Remove unused deprecated unbounded-timestamp code
* Enable independent adjustment of fast/slow timestamp bounding
* Update timestamp bounds to 25% fast, 80% slow; warp timestamp
* Update bank hash test
* Add PR number to feature
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit da6753b8c0
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-02-10 00:03:26 +00:00
mergify[bot]
5e2b9e595d
use index version of calculating hash ( #15189 ) ( #15211 )
...
* use index version of calculating hash
* invert const
* formatting
(cherry picked from commit 8424fe2c12
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-09 18:02:23 +00:00
Jon Cinque
65e6df2b0d
program-test: Add ability to warp to the future ( #14998 )
...
* program-test: Add ability to warp to the future
* Make `start_local_server` take by value
* Remove clear_invoke_context
2021-02-05 23:39:12 -08:00
mergify[bot]
8016f61ce8
use thread pool for non-index hash calculations ( #15149 ) ( #15153 )
...
(cherry picked from commit fabecdc86c
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-05 21:59:59 +00:00
mergify[bot]
0b6366da9c
sentinel value for zero lamport accounts in hash scanning ( #15097 ) ( #15145 )
...
* sentinel value for zero lamport accounts in hash scanning
* fix test
(cherry picked from commit f85be6259b
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-05 15:16:11 -06:00
mergify[bot]
d567a62cc7
caches descendants in bank forks ( #15107 ) ( #15148 )
...
(cherry picked from commit 6fd5ec0e4c
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-02-05 19:38:36 +00:00
mergify[bot]
3838fb62d4
move timer end outside if ( #15087 ) ( #15114 )
...
(cherry picked from commit f0d58f5549
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-04 20:12:56 -08:00
mergify[bot]
9f267fc5e7
remove unused arg from function ( #15096 ) ( #15115 )
...
(cherry picked from commit 7d9f5ad525
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-04 20:12:31 -08:00
mergify[bot]
77d2ed95ff
Add ref count from storage ( #15078 ) ( #15092 )
...
(cherry picked from commit e5225b7e68
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-02-04 15:12:23 -08:00
mergify[bot]
fea0bd234c
Fix pubkey refcount for shrink + clean ( #14987 ) ( #15108 )
...
(cherry picked from commit e4d0d4bfae
)
Co-authored-by: carllin <wumu727@gmail.com >
2021-02-04 22:11:57 +00:00
mergify[bot]
9f74136632
borrow storages ( #15088 ) ( #15095 )
...
(cherry picked from commit f49a70e626
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-04 18:43:15 +00:00
mergify[bot]
36ad03af1f
calculate hash from store instead of index (bp #15034 ) ( #15084 )
...
* calculate hash from store instead of index (#15034 )
* calculate hash from store instead of index
* restore update hash in abs
(cherry picked from commit 600ff0d915
)
* fix merge conflict (#15085 )
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-04 16:58:11 +00:00
mergify[bot]
972540907b
Don't load all accounts into memory for capitalization check ( #14957 ) ( #15072 )
...
* Don't load all accounts into memory for capitalization check
Co-authored-by: carllin <carl@solana.com >
2021-02-04 11:49:48 +00:00
mergify[bot]
dadebb2bba
Don't reset accounts if the remove_account comes from a clean ( #15022 ) ( #15066 )
...
Store may be in-use with a snapshot creation, so don't disturb
it's state.
Co-authored-by: sakridge <sakridge@gmail.com >
2021-02-04 06:02:02 +00:00
mergify[bot]
e2a874370b
Cleanup v1 shrink path ( #15009 ) ( #15071 )
...
move legacy functions to another impl block
(cherry picked from commit 37aac5a12d
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-02-03 23:33:21 +00:00
mergify[bot]
0db5a74bb9
streamline calculate_accounts_hash ( #14980 ) ( #15015 )
...
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-03 05:31:25 +00:00
mergify[bot]
08fd4905db
remove legacy merkle root (bp #14772 ) ( #15021 )
...
* remove legacy merkle root (#14772 )
* remove legacy merkle root
f78197a
* clippy
* compile error
* borrow error
* derministic results
* clippy
* borrow
(cherry picked from commit 1b85114a9c
)
# Conflicts:
# merkle-root-bench/src/main.rs
# runtime/src/accounts_db.rs
* remove legacy merkle root (#14772 )
* remove legacy merkle root
f78197a
* clippy
* compile error
* borrow error
* derministic results
* clippy
* borrow
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-02-03 03:19:28 +00:00
mergify[bot]
30d2e15945
speed up merkle root calculation (bp #14710 ) ( #15020 )
...
* speed up merkle calculation (#14710 )
(cherry picked from commit 18bd0c9a5b
)
* back port crate versions for merkle-root-bench
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com >
2021-02-02 19:39:49 -06:00
mergify[bot]
066ff36175
Disable AppendVec warn! for now ( #14996 ) ( #15001 )
...
* Disable AppendVed warn! for now
* Fix version...
* Update append_vec.rs
(cherry picked from commit 31168fe343
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-02-02 16:09:49 +00:00
mergify[bot]
bdd19c09d1
More rich runtime logging ( #14938 ) ( #14967 )
2021-02-01 14:26:31 -08:00
mergify[bot]
512a193674
Use helper for count() in accountsDB ( #14953 ) ( #14956 )
...
(cherry picked from commit 63c44bd690
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-31 18:23:01 -08:00
mergify[bot]
91c57cd70d
Add generalized voting process to enable full inflation (bp #14702 ) ( #14732 )
...
* Add generalized voting process to enable full inflation
(cherry picked from commit 072e5e54d8
)
* Update feature_set.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-30 03:19:19 +00:00
Jack May
34504797b4
Richer runtime failure logging ( #14875 )
...
(cherry picked from commit 0b1015f7d3
)
2021-01-29 18:03:33 -08:00
sakridge
39515cae5e
Use already-generated key set to populate dirty keys for clean ( #14905 )
...
Don't need to scan the stores again when we already found the key
set of updates per slot. Just insert it earlier.
(cherry picked from commit 65315fa4c2
)
2021-01-29 18:02:42 -08:00