sakridge
1584ec220c
Move clean accounts to background service ( #10904 )
2020-07-02 22:39:22 -07:00
mergify[bot]
d8fa19336c
Add heaviest subtree utility functions ( #10863 ) ( #10865 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 7a71580d53
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-01 11:21:22 +00:00
sakridge
191483cf9f
Update cargo.* version to 1.2.9 ( #10861 )
2020-06-30 23:21:10 +00:00
Stephen Akridge
89d78dcfcf
Update cargo.* version to 1.2.8
2020-06-30 09:03:28 -07:00
mergify[bot]
1cf142c193
Remove outdated todo comment ( #10850 ) ( #10851 )
...
(cherry picked from commit cabedc0f36
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-06-30 15:07:09 +00:00
mergify[bot]
d130adf582
Dont skip eager rent collect across gapped epochs ( #10206 ) ( #10808 )
...
* Dont skip eager rent collect across gapped epochs
* Adjust style and comment
* Adjust ascii chart and comment a bit
* Moar assert
* Relax the partition_count assert for completeness
* Tweak comment...
* tweak a bit
* Add gating logic
* Address reviews
* small formatting
* Clarify the code by replacing auto_generated...
* small formatting
* small formatting
* small formatting
* small formatting
* Narrow down conditional compilation scope
(cherry picked from commit 50f7ed80c8
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-06-25 15:34:04 +00:00
mergify[bot]
85750307aa
Rename Client methods to match proposed BanksClient (bp #10793 ) ( #10800 )
...
* Rename Client methods to match proposed BanksClient (#10793 )
(cherry picked from commit 7ade330b23
)
# Conflicts:
# programs/bpf/tests/programs.rs
# runtime/benches/bank.rs
* Fix merge
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-25 05:33:12 +00:00
mergify[bot]
55b92c16da
Remove fee-payer guesswork from Message and Transaction (bp #10776 ) ( #10785 )
...
* Remove fee-payer guesswork from Message and Transaction (#10776 )
* Make Message::new_with_payer the default constructor
* Remove Transaction::new_[un]signed_instructions
These guess the fee-payer instead of stating it explicitly
(cherry picked from commit 1c498369b5
)
# Conflicts:
# cli/src/nonce.rs
# core/src/rpc.rs
# ledger/src/blockstore.rs
# programs/bpf/tests/programs.rs
* Fix merge
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-25 01:10:23 +00:00
Stephen Akridge
ccb7b1a698
Bump cargo version to v1.2.7
2020-06-24 09:23:12 -07:00
Stephen Akridge
2d94c09aee
Bump Cargo.toml version to 1.2.6
2020-06-22 23:23:16 -07:00
mergify[bot]
bbe4990e80
Move SDK types to more appropriate files (bp #10638 ) ( #10665 )
...
* Move types to more appropriate files (#10638 )
(cherry picked from commit dac7dc2f10
)
# Conflicts:
# programs/stake/src/stake_instruction.rs
# programs/vote/src/vote_instruction.rs
# sdk/src/system_instruction.rs
* Fix conflicts
* bump lock
Co-authored-by: Jack May <jack@solana.com >
2020-06-18 18:17:43 +00:00
Stephen Akridge
4b33a2a1b8
Update Cargo.toml version from 1.2.4 to 1.2.5
2020-06-17 18:55:20 -07:00
Stephen Akridge
dbda50941a
Bump version to 1.2.4
2020-06-16 17:03:09 -07:00
mergify[bot]
d2e7ffa8b9
Fix race in remove_unrooted_slot ( #10607 ) ( #10617 )
...
* Fix race
* clippy fixes
* Rename and add comment
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 8bd62d78eb
)
Co-authored-by: carllin <wumu727@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-16 06:20:48 +00:00
Stephen Akridge
2500881e0b
Bump version to v1.2.3
2020-06-14 09:58:10 -07:00
mergify[bot]
7937c45ba4
Adopt heaviest subtree fork choice rule ( #10441 ) ( #10515 )
...
automerge
2020-06-12 01:25:47 -07:00
mergify[bot]
813b11ac56
Optimize stale slot shrinking for previously cleaned roots ( #10099 ) ( #10534 )
...
automerge
2020-06-12 00:18:40 -07:00
Michael Vines
a8f4c4e297
Bump version to 1.2.2
2020-06-11 20:45:13 -07:00
mergify[bot]
953eadd983
Expose last-valid-slot to BankClient and ThinClient users ( #10478 ) ( #10483 )
...
automerge
2020-06-10 08:43:37 -07:00
mergify[bot]
053907f8a4
Add --warp-slot argument to |solana-ledger-tool create-snapshot| ( #10474 )
...
automerge
2020-06-09 10:49:27 -07:00
Michael Vines
823bc138cd
Bump new_system_program_activation_epoch by 2
2020-06-08 09:40:12 -07:00
mergify[bot]
f7aee67023
RPC simulateTransaction endpoint now returns program log output ( #10432 ) ( #10444 )
...
automerge
2020-06-06 11:57:24 -07:00
mergify[bot]
bd19f7c4cb
Avoid AccountInUse errors when simulating transactions ( #10391 ) ( #10420 )
...
automerge
2020-06-04 20:54:08 -07:00
mergify[bot]
988bf65ba4
Deactivate legacy_system_instruction_processor at epoch 58/38 (preview/stable) ( #10406 ) ( #10408 )
...
automerge
2020-06-04 01:33:09 -07:00
mergify[bot]
d5b03bd824
Don't reuse executable accounts between instructions ( #10403 ) ( #10405 )
...
automerge
2020-06-03 23:36:14 -07:00
mergify[bot]
6a72dab111
Enable rolling update of "Permit paying oneself" / "No longer allow create-account to add funds to an existing account" (bp #10375 ) ( #10404 )
...
automerge
2020-06-03 18:22:03 -07:00
mergify[bot]
56e8319a6d
Add built-in programs to InvokeContext ( #10383 ) ( #10402 )
...
automerge
2020-06-03 14:25:16 -07:00
mergify[bot]
94ba700e58
Permit paying oneself ( #10337 ) ( #10342 )
...
automerge
2020-05-31 08:50:42 -07:00
mergify[bot]
163217815b
Improve Rpc inflation tooling (bp #10309 ) ( #10322 )
...
automerge
2020-05-29 14:09:41 -07:00
mergify[bot]
e71206c578
Add more logging while unpacking snapshots ( #10266 ) ( #10270 )
...
automerge
2020-05-28 13:47:58 -07:00
Michael Vines
ace711e7f1
Bump version to 1.2.1
2020-05-26 19:07:35 -07:00
mergify[bot]
c67596ceb4
Add mechanism to get blockhash's last valid slot ( #10239 ) ( #10253 )
...
automerge
2020-05-26 14:33:11 -07:00
Ryo Onodera
9a42cc7555
Lower owner hashing activation slot for devnet ( #10244 )
...
automerge
2020-05-26 12:08:22 -07:00
mergify[bot]
8c8e2c4b2b
Prevent privilege escalation ( #10232 ) ( #10247 )
...
automerge
2020-05-26 02:39:28 -07:00
Michael Vines
d2a2eba69e
v1.2: Include account.owner into account hash ( #9918 ) ( #10222 )
...
automerge
2020-05-25 00:34:54 -07:00
Greg Fitzgerald
36a36d1c83
No longer allow create-account to add funds to an existing account ( #10192 )
...
automerge
2020-05-22 16:39:01 -07:00
Kristofer Peterson
b7a32f01c0
Multi-version snapshot support ( #9980 )
...
* Multi-version snapshot support
* rustfmt
* Remove CLI options and runtime support for selection output snapshot version.
Address some clippy complaints.
* Muzzle clippy type complexity warning.
Despite clippy's suggestion, it is not currently possible to create type aliases
for traits and so everything within the 'Box<...>' cannot be type aliased.
This then leaves creating full blown traits, and either implementing
said traits by closure (somehow) or moving the closures into new structs
implementing said traits which seems a bit of a palaver.
Alternatively it is possible to define and use the type alias 'type ResultBox<T> = Result<Box<T>>'
which does seems rather pointless and not a great reduction in complexity but is enough to keep clippy happy.
In the end I simply went with squelching the clippy warning.
* Remove now unused Serialize/Deserialize trait implementations for AccountStorageEntry and AppendVec
* refactor versioned de/serialisers
* rename serde_utils to serde_snapshot
* move call to accounts_db.generate_index() back down to context_accountsdb_from_stream()
* update version 1.1.1 to 1.2.0
remove nested use of serialize_bytes
* cleanups
* Add back measurement of account storage entry serialization.
Remove construction of Vec and HashMap temporaries during serialization.
* consolidate serialisation test cases into serde_snapshot.
clean up leakage of implementation details in serde_snapshot.
* move short term / legacy snapshot code into child module
* add serialize_iter_as_tuple
* preliminary integration of following commit
commit 6d58b73c47294bfb93465d5a83cd2175660b6e6d
Author: Ryo Onodera <ryoqun@gmail.com >
Date: Wed May 20 14:02:02 2020 +0900
Confine snapshot 1.1 relic to versioned codepath
* refactored serde_snapshot, rustfmt
legacy accounts_db format now "owns" both leading u64s, legacy bank_rc format has none
* reduce type complexity (clippy)
2020-05-23 02:54:24 +09:00
sakridge
ce17de7d25
Add option to wait for a specific epoch length to bench-tps ( #10083 )
2020-05-20 16:42:46 -07:00
Jack May
4a72c2b054
Support cross-program invocation to native programs ( #10136 )
2020-05-20 09:24:57 -07:00
Tyera Eulberg
9d89fb5c35
Fix another unstable test after eager rent ( #10120 )
2020-05-20 09:57:33 -06:00
Jack May
36627fb8b3
move builtin programs out of bank ( #10132 )
...
automerge
2020-05-19 19:45:30 -07:00
Jack May
431a228402
fix clock bankhash mismatch ( #10078 )
...
automerge
2020-05-18 19:48:06 -07:00
Michael Vines
bbc549f592
Rename program_id to owner in system instructions ( #10069 )
2020-05-18 12:55:41 -07:00
Kristofer Peterson
4ca352a344
Use serde provided serialization for atomics ( #10096 )
...
automerge
2020-05-18 08:30:27 -07:00
Greg Fitzgerald
5e89bd8868
Panic if no fee-payer found via Message::new() ( #10050 )
...
automerge
2020-05-15 12:23:09 -07:00
Kristofer Peterson
58ef02f02b
9951 clippy errors in the test suite ( #10030 )
...
automerge
2020-05-15 09:35:43 -07:00
dependabot-preview[bot]
6a6c5f196a
Bump libc from 0.2.69 to 0.2.70 ( #10006 )
...
* Bump libc from 0.2.69 to 0.2.70
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.69 to 0.2.70.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.69...0.2.70 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-05-15 06:18:43 -06:00
Jack May
eb1acaf927
Remove archiver and storage program ( #9992 )
...
automerge
2020-05-14 18:22:47 -07:00
dependabot-preview[bot]
816bf6ebdd
Bump fnv from 1.0.6 to 1.0.7 ( #10046 )
...
* Bump fnv from 1.0.6 to 1.0.7
Bumps [fnv](https://github.com/servo/rust-fnv ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/servo/rust-fnv/releases )
- [Commits](https://github.com/servo/rust-fnv/compare/v1.0.6...v1.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2020-05-14 12:29:11 -07:00
Ryo Onodera
13bc3f8094
Fix unstable test after eager rent collection ( #10031 )
...
automerge
2020-05-13 10:35:58 -07:00