Trent Nelson
1fe0b1e516
Push back activation epochs redux
...
Effects:
- Re-enabling inflation
- Nonce FeeCalculator overwrite / RecentBlockhashes sysvar inconsistency fix
2020-07-24 18:09:40 +00:00
Tyera Eulberg
0d9802a2cd
Use OrderedIterator in collect_balances ( #11173 )
2020-07-22 16:59:54 -06:00
Trent Nelson
f6beede01b
Push back activation epochs
...
Effects:
- Re-enabling inflation
- Nonce FeeCalculator overwrite / RecentBlockhashes sysvar inconsistency fix
2020-07-22 16:17:02 -06:00
Trent Nelson
ff48ea20de
Bump version to 1.2.13
2020-07-22 06:08:41 +00:00
Trent Nelson
dd9cb18d65
Enable RecentBlockhashes one tick delay fix on testnet
...
Slot 25_580_256 / Epoch 72
2020-07-22 05:51:47 +00:00
mergify[bot]
24dc6680e1
getEpochInfo RPC endpoint now includes the current block height ( #11155 )
...
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-22 01:53:53 +00:00
mergify[bot]
e9b40db319
Use OrderedIterator in TransactionStatusService ( #11149 ) ( #11151 )
...
* Split out get-first-err for unit testing
* Add failing test
* Add missing ordering
(cherry picked from commit 6c38369042
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-07-21 21:36:02 +00:00
mergify[bot]
e07c00710a
fix rewards points (bp #10914 ) ( #11142 )
...
* fix rewards points (#10914 )
* fix rewards points
* fixups
* * verify that we don't spend more in rewards than we've allocated for rewards
* purge f64s from calculations that could be done with integers
* test typical values
* simplify iteration over delegations some
* fixups
* Use try_from
* Add a comment for commission_split()
* Add assertion to detect inconsistent reward dist.
* Fix vote_balance_and_staked
* Don't overwrite accounts with stale copies
* Fix CI...
* Add tests for vote_balance_and_staked
* Add test for the determinism of update_rewards
* Revert "Don't overwrite accounts with stale copies"
This reverts commit 9886d085a6
.
* Make stake_delegation_accounts to return hashmap
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
(cherry picked from commit 7cc2a6801b
)
# Conflicts:
# runtime/src/serde_snapshot/tests.rs
* Fix conflict
Co-authored-by: Rob Walker <rwalker@rwalker.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-07-21 06:35:20 +00:00
mergify[bot]
14baa511f0
Add --warp-epoch and --enable-inflation to ledger-tool cap. (bp #11107 ) ( #11132 )
...
* Add --warp-epoch and --force-inflation to ledger-tool cap. (#11107 )
* Add --warp-epoch and --force-inflation to ledger-tool cap.
* Add more arguments
* Address review comments
* Fix message
* Fix various typos...
(cherry picked from commit 3db246f596
)
# Conflicts:
# ledger-tool/src/main.rs
* Fix conflicts..
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-07-20 12:00:56 +00:00
mergify[bot]
dca00d1bde
Add Bank support for "upgrade epochs" where all non-vote transactions will be rejected (bp #11082 ) ( #11110 )
...
* Add Bank support for "upgrade epochs" where all non-vote transactions will be rejected
(cherry picked from commit e5d8c4383f
)
# Conflicts:
# runtime/src/bank.rs
* Fix merge conflict
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-17 17:29:34 +00:00
carllin
3da254c745
Bump version to 1.2.12 ( #11088 )
...
Co-authored-by: Me <carl_solana_com@carl-dev.c.principal-lane-200702.internal>
2020-07-15 23:55:05 +00:00
Tyera Eulberg
b0addba2a9
Gate nonce-overwrite change ( #11079 )
2020-07-15 21:14:28 +00:00
mergify[bot]
d718ab2491
accounts_clean: Convert stack dependency calculation with iterative ( #11067 ) ( #11076 )
...
* accounts_clean: Convert stack dependency calculation with iterative
* optimize clean with by creating a reverse-lookup hashset of the affected
keys
* Add dependency bench
reduce bench
* Huge clean
(cherry picked from commit 8bf3a0aa05
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-15 15:13:33 +00:00
mergify[bot]
1a28c7fc12
Fix recent blockhashes delay (bp #11036 ) ( #11040 )
...
* Add failing test
(cherry picked from commit 942c019d50
)
* Factor locked portion of Bank::update_recent_blockhashes() out to helper
(cherry picked from commit 9cc379af6c
)
* Synchronize BlockhashQueue and RecentBlockhashes sysvar update
(cherry picked from commit 5357ff6d60
)
* Bump goldens
(cherry picked from commit 837ac77c02
)
* Fix test advancing banks from incomplete slots
(cherry picked from commit 51283c931c
)
* Mode gate RecentBlockhashes/BlockhashQueue sync
(cherry picked from commit 5741002a32
)
Co-authored-by: Tyera Eulberg <tyera@solana.com >
Co-authored-by: Trent Nelson <trent@solana.com >
2020-07-14 04:12:37 +00:00
mergify[bot]
4bb66a81fb
Check for deleting key, make sure list is empty again ( #11007 ) ( #11011 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-13 09:00:48 -07:00
mergify[bot]
1bfce24c9f
Fix skipped slot detection for eager rent collect ( #10890 ) ( #10978 )
...
(cherry picked from commit f1c1152948
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-07-10 11:59:44 +09:00
mergify[bot]
94b2565969
Fix nonce fee_calculator overwrite ( #10973 ) ( #10976 )
...
* Add failing test
* Pass fee_calculator to prepare_if_nonce_account; only overwrite in error case
(cherry picked from commit 25228ca957
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-07-09 16:57:34 -06:00
sakridge
2896fdb603
Update version to v1.2.11 ( #10966 )
2020-07-09 06:48:30 -07:00
sakridge
50970bc8f9
Update version to v1.2.10 ( #10962 )
2020-07-08 15:34:19 -07:00
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