Jeff Washington (jwash)
c4506269a6
add ancient_append_vecs ( #25119 )
2022-05-10 16:41:04 -05:00
Pankaj Garg
c838e15234
Unset needs_unlock for rebatched transactions batches ( #25095 )
...
* Unset needs_unlock for rebatched transactions batches
* address review comments
2022-05-10 13:39:08 -07:00
DimAn
2fa9bc3e70
Add options to store full and/or incremental snapshots in separate locations ( #24247 )
2022-05-10 16:37:41 -04:00
Jeff Washington (jwash)
dc6e28099b
mark_dirty_dead_stores ( #25114 )
2022-05-10 15:08:29 -05:00
Jeff Washington (jwash)
e9e267947e
simplify storage_finder -> storage ( #25109 )
2022-05-10 14:18:51 -05:00
dependabot[bot]
6c853bc80b
chore: bump dialoguer from 0.10.0 to 0.10.1 ( #25113 )
...
* chore: bump dialoguer from 0.10.0 to 0.10.1
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases )
- [Changelog](https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/dialoguer/compare/v0.10.0...v0.10.1 )
---
updated-dependencies:
- dependency-name: dialoguer
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-05-10 19:10:59 +00:00
Jeff Washington (jwash)
e9a9604ca7
avoid zeroing out root stats with empty data ( #25111 )
2022-05-10 13:56:30 -05:00
Jeff Washington (jwash)
b91cc87680
assert when rewrites skipped ( #25110 )
2022-05-10 13:55:48 -05:00
Jeff Washington (jwash)
8e5bb0a1e2
check file size of accounts cache mmap before indexing ( #25077 )
2022-05-10 13:33:22 -05:00
Tyera Eulberg
7e07fc219b
Parse most token-2022 instructions ( #25099 )
...
* Add COption<Pubkey> helper
* Parse DefaultAccountState ixs
* Parse MemoTransfer ixs
* Parse Reallocate ixs
* Parse MintCloseAuthority ixs
* Parse TransferFee ixs
* Parse CreateNativeMint
2022-05-10 11:09:54 -06:00
Brennan Watt
301a655f06
Enable 0rtt ( #25055 )
...
* Enable 0rtt connections
2022-05-10 09:44:07 -07:00
Justin Starry
634b7c3b5a
chore: fix lagging stake program live test ( #25107 )
...
* chore: fix lagging stake program live test
* chore: use min stake delegation in stake tests
2022-05-11 00:37:15 +08:00
Justin Starry
e3bdc38f0a
Add sanitized types for use in banking stage ( #25067 )
2022-05-11 00:30:48 +08:00
dependabot[bot]
85f4a3e4c4
chore: bump reed-solomon-erasure from 5.0.1 to 5.0.2 ( #25081 )
...
* chore: bump reed-solomon-erasure from 5.0.1 to 5.0.2
Bumps [reed-solomon-erasure](https://github.com/darrenldl/reed-solomon-erasure ) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/darrenldl/reed-solomon-erasure/releases )
- [Changelog](https://github.com/rust-rse/reed-solomon-erasure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/darrenldl/reed-solomon-erasure/compare/v5.0.1...v5.0.2 )
---
updated-dependencies:
- dependency-name: reed-solomon-erasure
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 <you@example.com>
2022-05-10 10:28:44 -06:00
Jason
c80896b58f
speedup sysvar or builtin test ( #25047 )
...
* Add a quick lookup table to speed up sysvar/builtin key check
* Fix up the syntax
* Fix syntax
* Fix syntax 2
* Rename the static variable, improve commenting
* Fix merge error
* Fixed two clippy suggestions
* Improved commenting
2022-05-10 10:37:51 -05:00
sakridge
6cfa19e2e4
Skip generator if non-unique transactions ( #25039 )
2022-05-10 16:22:24 +02:00
yihau
e27e9fb538
chore: print tar version
2022-05-10 17:33:33 +08:00
dependabot[bot]
4520c25330
chore: bump tonic-build from 0.7.1 to 0.7.2 ( #25037 )
...
* chore: bump tonic-build from 0.7.1 to 0.7.2
Bumps [tonic-build](https://github.com/hyperium/tonic ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.7.1...v0.7.2 )
---
updated-dependencies:
- dependency-name: tonic-build
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
* Regenerate proto
* Bump tonic and remove deprecated method
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: Tyera Eulberg <tyera@solana.com>
2022-05-09 12:26:58 -06:00
apfitzge
b83fd8b958
ledger-tool: clear non-primary access accounts directory in load_bank_forks ( #24958 )
2022-05-09 13:17:13 -05:00
HaoranYi
de96663cc4
fix typo ( #25083 )
2022-05-09 12:42:58 -05:00
wangweiwei
8d0134e0fd
fix comment error ( #25087 )
...
fix comment error
2022-05-09 10:05:53 -06:00
Brian Anderson
8dd7aa9b40
Update sysvar module short docs ( #25070 )
2022-05-09 05:51:17 +00:00
Yihau Chen
671775a244
chore: add missing VERCEL_TOKEN ( #25079 )
...
* chore: add missing VERCEL_TOKEN
* chore: add a newline to trigger docs build
2022-05-09 11:29:36 +08:00
Pankaj Garg
362b0526cd
Greedy receive in banking stage ( #25060 )
...
* Greedy receive in banking stage
* add upperbound to batch size and batching time
* update test_banking_stage_entryfication test
2022-05-08 10:47:55 -07:00
Luke Ingalls
032a2b8215
remove double word ( #25074 )
2022-05-08 17:11:10 +00:00
samkim-crypto
aba6a89517
Curve25519 syscall group ops ( #25071 )
...
* zk-token-sdk: implement group ops trait for curve25519
* zk-token-sdk: extend syscall trait implementation for group ops for ristretto
* zk-token-sdk: register curve25519 group ops to bpf loader
* zk-token-sdk: update curve25519_syscall_enabled address
2022-05-08 11:28:07 +09:00
Brooks Prumo
e6c02f30dd
Raise minimum stake delegation to 1 SOL ( #24603 )
2022-05-07 19:01:05 -04:00
HaoranYi
8e37e364b1
fix typo in measure name ( #25058 )
2022-05-07 10:04:42 -05:00
sakridge
5be138826b
Add sender stake to quic packets ( #25054 )
2022-05-07 16:45:03 +02:00
samkim-crypto
d9deab4d2c
Curve25519 point validation syscall ( #23771 )
...
* zk-token-sdk: add curve25519 basic ops
* zk-token-sdk: add bpf operations for curve25519 ops
* zk-token-sdk: rebase
* zk-token-sdk: add tests for curve25519 opertions
* zk-token-sdk: rustfmt
* zk-token-sdk: organize syscalls by trait
* zk-token-sdk: organize syscalls by trait
* zk-token-sdk: cleaning up
* zk-token-sdk: rename mods
* zk-token-sdk: cargo fmt
* zk-token-sdk: fix tests for edwards and ristretto
* zk-token-sdk: add Syscall object for curve point validation
* zk-token-sdk: docs for curve syscall traits
* zk-token-sdk: fix errors from rebase
* zk-token-sdk: update Vec to slice
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* zk-token-sdk: use enum with num-derive for curve ids
* zk-token-sdk: update vec to slice
* zk-token-sdk: make curve25519 tests be deterministic
* zk-token-sdk: rebase
* token-2022: re-organizing curve point validation
* token-2022: cargo fmt
* zk-token-sdk: minor
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-05-07 16:20:53 +09:00
Brian Anderson
c785f1ffc5
Fix indentation of Message API examples ( #25051 )
2022-05-06 14:50:43 -06:00
Jeff Washington (jwash)
2d7ce2a6c2
Revert "uses designated thread-pools for account db parallel ops ( #24954 )" ( #25053 )
...
This reverts commit e8bdc27080
.
2022-05-06 15:20:50 -05:00
Justin Starry
c920d411f7
Clean up logging and make variables consistent ( #25049 )
2022-05-07 03:52:45 +08:00
Justin Starry
082502d4f3
Fail tx sanitization when ix program id uses lookup table ( #25035 )
...
* Fail tx sanitization when ix program id uses lookup table
* feedback
2022-05-07 03:19:50 +08:00
Christian Kamm
cb6cd5d60f
FindPacketSenderStake: Improve metrics ( #24971 )
...
- separate names for vote and non-vote thread
- time unit postfixes (one is in ns!)
2022-05-06 21:16:13 +02:00
Jeff Washington (jwash)
df9a4a0c9d
Bank::new_for_benches uses bench config ( #25017 )
2022-05-06 13:35:18 -05:00
Jeff Washington (jwash)
7401bc0fa5
remove_old_historical_roots uses correct epoch schedule ( #25020 )
...
* remove_old_historical_roots uses correct epoch schedule
* Update runtime/src/accounts_db.rs
Co-authored-by: apfitzge <apfitzge@users.noreply.github.com>
Co-authored-by: apfitzge <apfitzge@users.noreply.github.com>
2022-05-06 12:38:09 -05:00
yihau
f3e4bd373d
chore: use darwin19 to build osx x86_64 artifacts
2022-05-07 01:28:11 +08:00
dependabot[bot]
8a4f975416
chore: bump prost from 0.10.1 to 0.10.3 ( #25038 )
...
* chore: bump prost from 0.10.1 to 0.10.3
Bumps [prost](https://github.com/tokio-rs/prost ) from 0.10.1 to 0.10.3.
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.10.1...v0.10.3 )
---
updated-dependencies:
- dependency-name: prost
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-05-06 11:14:58 -06:00
Jason
47cd0d9061
Speed up get-data-cost function ( #25013 )
...
* Combine data_bytes_cost into the get_transaction_cost function, for speedup
* Remove a dead function, fix a value in a test
* Respond to comments by changing call signature to take a &mut struct rather than return a tuple
2022-05-06 11:39:00 -05:00
behzad nouri
492f89a170
checks account owner when initializing a vote-account ( #25018 )
...
A VoteAccount may only wrap an account if the account owner is
solana_vote_program:id or equivalently this check returns true:
solana_vote_program::check_id(account.owner())
2022-05-06 16:22:49 +00:00
Justin Starry
d34b440a3c
chore: update dev dep @solana/spl-token to 0.2.0 ( #25044 )
...
* chore: update dev dep @solana/spl-token to 0.2.0
* chore: fix token tests
2022-05-07 00:14:11 +08:00
behzad nouri
3fff34a65f
explicitly removes accounts with zero lamports from stakes cache ( #25015 )
...
Zero lamport accounts are not stored in accounts-db:
https://github.com/solana-labs/solana/blob/7b5835ddf/runtime/src/accounts_db.rs#L5007-L5014
https://github.com/solana-labs/solana/blob/7b5835ddf/runtime/src/accounts_db.rs#L4481-L4483
However, in order to purge the account from cache, stakes cache update
partially relies on accounts data to be also zeroed out :
https://github.com/solana-labs/solana/blob/7b5835ddf/runtime/src/bank.rs#L3471-L3478
This can be error-prone and introduce inconsistency between accounts-db
and vote/stake cache. This commit instead explicitly removes accounts
from cache if lamports == 0.
2022-05-06 14:04:49 +00:00
yihau
f3e916566f
chore: fix mergify docs status label
2022-05-06 14:42:05 +08:00
Tyera Eulberg
c4aa082efc
Rollback tokio to LTS release v1.14 ( #25028 )
2022-05-06 06:34:49 +00:00
steviez
c895ad6b41
Make workflow not fail if no doc files changed ( #25033 )
2022-05-06 01:32:38 -05:00
yihau
c491def895
chore: add push paths restriction in docs pipeline
2022-05-06 12:18:51 +08:00
Yihau Chen
0e3fc9d31c
chore: add docs actions ( #25029 )
...
* chore: mv .travis/* ci/
* chore: add docs action
* chore: update mergify
2022-05-06 12:14:50 +08:00
Brooks Prumo
195bb8bd36
Update local-cluster tests to work with higher minimum stake delegation ( #25023 )
2022-05-05 22:00:33 -05:00
Dmitri Makarov
66366615bb
Generate syscall headers
2022-05-05 19:50:54 -07:00