sakridge
91a2d03f28
Update version to 1.4.19 ( #14196 )
2020-12-18 00:36:20 +00:00
Trent Nelson
206accb59a
Override socket2 crate to v0.3.17
2020-12-17 03:00:18 +00:00
mergify[bot]
e91b124cd9
check for resize access violations (bp #14142 ) ( #14151 )
...
* check for resize access violations (#14142 )
(cherry picked from commit 025f886e101d49d42e7769df8a6eada902af6927)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com>
2020-12-16 12:20:52 +00:00
mergify[bot]
5c379db925
Remove lock files from programs/bpf/rust ( #14148 ) ( #14157 )
...
(cherry picked from commit 49c3f14016e5e1bb79dc867895ac4d554d8ebc9f)
Co-authored-by: Jack May <jack@solana.com>
2020-12-16 11:43:46 +00:00
sakridge
82add14782
Bump version to v1.4.18 ( #14144 )
2020-12-16 04:15:05 +00:00
Michael Vines
539f108ea6
Bump version to 1.4.17
2020-12-14 15:57:53 -08:00
Trent Nelson
82f00bf9f7
Override yanked miow crate to 0.2.2
2020-12-12 00:16:37 +00:00
Trent Nelson
8fdfb291a9
Override yanked net2 0.2.37
2020-12-12 00:16:37 +00:00
Trent Nelson
277d4c9ae4
Switch to memmap2 fork
2020-12-12 00:16:37 +00:00
mergify[bot]
83801f2b05
Clean invoke in prep for native invoke ( #14055 ) ( #14059 )
...
(cherry picked from commit 83fda2d9728a3ed030597821cd0c2a0eabc1743b)
Co-authored-by: Jack May <jack@solana.com>
2020-12-10 18:47:18 -08:00
Michael Vines
fb3e88bb7e
Bump version to v1.4.16 ( #14054 )
2020-12-10 17:04:34 -08:00
mergify[bot]
c01bff61f8
Fix priv escalation test ( #14046 ) ( #14049 )
...
(cherry picked from commit 5ea80e673fb92ca30acd7ba612c01e179bbc3ee1)
Co-authored-by: Jack May <jack@solana.com>
2020-12-11 00:08:21 +00:00
mergify[bot]
f52feddfcd
Cap CPI signers (bp #14021 ) ( #14023 )
...
* Cap CPI signers (#14021 )
(cherry picked from commit e1a4251b0790d0cf5de8b49ea76d5ddcfb3a22ef)
# Conflicts:
# programs/bpf/tests/programs.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com>
2020-12-09 11:46:46 +00:00
mergify[bot]
a46d14a2d7
Don't use stale executor cache (bp #13966 ) ( #13969 )
...
* Don't use stale executor cache (#13966 )
(cherry picked from commit 882d0332333384fca1c4ae9adb57f3610de659f7)
* fix conflicts
Co-authored-by: Jack May <jack@solana.com>
2020-12-09 09:11:31 +00:00
Jack May
be0f9d4837
Bump rust-sysroot to v0.13 ( #14001 )
2020-12-07 13:26:12 -08:00
Jack May
0f3705340b
Cap seeds not signers ( #13943 )
2020-12-03 11:46:34 -08:00
mergify[bot]
f705340971
Invoke with empty account slice (bp #13931 ) ( #13940 )
...
* Invoke with empty account slice (#13931 )
(cherry picked from commit 1c51711c7580e200ee7172947651dd6ae3e65b2f)
* nudge ci
Co-authored-by: Jack May <jack@solana.com>
2020-12-03 09:52:08 -08:00
Michael Vines
38d7d7df50
Bump version to v1.4.15
2020-12-03 01:55:39 +00:00
Jack May
e6f54ffd56
Cap number of program address seeds ( #13925 )
...
* Cap number of program address seeds
* fmt
Co-authored-by: Michael Vines <mvines@gmail.com>
2020-12-02 23:01:58 +00:00
mergify[bot]
501fea7a3c
Translate data length and owner as writable (bp #13914 ) ( #13918 )
...
* Translate data length and owner as writable (#13914 )
(cherry picked from commit 85bec37be4bf27a4e861dfc2d6e63d58b838b2c2)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
* Resolve conflicts
* nudge
* fmt funk
* ugh
* nudge
Co-authored-by: Jack May <jack@solana.com>
2020-12-02 19:28:15 +00:00
mergify[bot]
01d9062f7b
Check that the program was granted access to program_id (bp #13890 ) ( #13893 )
...
* Check that the program was granted access to program_id (#13890 )
(cherry picked from commit 733fcbaa6c
)
# Conflicts:
# programs/bpf/Cargo.toml
# programs/bpf/tests/programs.rs
* Resolve conflicts
Co-authored-by: Jack May <jack@solana.com>
2020-12-01 17:49:17 +00:00
mergify[bot]
3955778cb6
Add msg! macro for program logging, deprecate info! macro ( #13885 )
...
(cherry picked from commit 6705b5a98c
)
Co-authored-by: Michael Vines <mvines@gmail.com>
2020-12-01 06:05:31 +00:00
Jack May
7890957250
Bump to rbpf v0.1.34 ( #13874 )
2020-12-01 01:43:50 +00:00
mergify[bot]
5511d52c62
Don't reset credits_observed due to stale voters ( #13836 ) ( #13860 )
...
* Don't reset credits_observed due to stale voters
* Add tests
* Fix comment
(cherry picked from commit e81c2c826c
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2020-11-30 15:06:19 +00:00
sakridge
cea722ac09
Bump version to v1.4.14 ( #13852 )
2020-11-29 18:20:19 +00:00
mergify[bot]
8f75cfe247
Record instructions after account translation ( #13845 )
...
(cherry picked from commit cc78667118
)
Co-authored-by: Michael Vines <mvines@gmail.com>
2020-11-28 20:13:31 +00:00
mergify[bot]
a3be6bacc6
Enhance ledger-tool for multi-epoch rewards ( #13837 ) ( #13839 )
...
* Support ledger-tool for multi-epoch rewards
* nits
* Ensure not to skip some records in csv
(cherry picked from commit 6048342c57
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2020-11-27 05:36:08 +00:00
Michael Vines
f5eb5a3ba6
Bump version to v1.4.13
2020-11-26 06:59:28 +00:00
mergify[bot]
05f464798f
Add stake calculation tests with inflation/slashing ( #13605 ) ( #13798 )
...
* Add stake calculation tests with inflation/slashing
* Clean up the test
(cherry picked from commit 42421e77a9
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2020-11-25 05:16:09 +00:00
Tyera Eulberg
fd9e003ae1
Bump version to 1.4.12 ( #13792 )
2020-11-24 22:53:36 +00:00
Tyera Eulberg
7099d07fd3
Bump version to 1.4.11 ( #13780 )
2020-11-24 06:30:35 +00:00
mergify[bot]
f789da1e20
Prevent splitting when either source or split stake will equal zero ( #13775 ) ( #13777 )
...
(cherry picked from commit e3a92d6905
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-24 04:08:17 +00:00
mergify[bot]
ddf019c1a4
Stake: Support merging fully-activated stake accounts (bp #13712 ) ( #13770 )
...
* stake: De-replicode mergable info extraction
(cherry picked from commit dc7f89715a
)
* stake: Cosmetic - rename variable
(cherry picked from commit bb2772d068
)
* stake: Allow compatible, fully-active stake accounts to be merged
(cherry picked from commit 8e73187990
)
* stake: Remove disused test helper function
(cherry picked from commit 6b9a019c0a
)
* stake: Disallow stakes merging with themselves
(cherry picked from commit 488ce982f0
)
Co-authored-by: Trent Nelson <trent@solana.com>
2020-11-23 22:48:30 +00:00
mergify[bot]
74d57b1c2f
Fail stake init if account data is the wrong size ( #13767 ) ( #13769 )
...
(cherry picked from commit 38a3ed96bb
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-23 21:30:33 +00:00
mergify[bot]
086e653a0b
Cap split stake at source stake when splitting entire balance ( #13754 ) ( #13766 )
...
(cherry picked from commit f0f99ffc7e
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-23 18:42:22 +00:00
mergify[bot]
6d8d5d1379
fix arithmetic overflow in slice translation (bp #13624 ) ( #13625 )
...
* fix arithmetic overflow in slice translation (#13624 )
* fix arithmetic overflow in slice translation
* nudge
(cherry picked from commit 8c922a0198
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com>
2020-11-22 03:30:27 +00:00
mergify[bot]
5cf52c3c20
ledger-tool cap: output credits_observed ( #13746 ) ( #13748 )
...
(cherry picked from commit 3bc7d85986
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2020-11-21 17:30:10 +00:00
mergify[bot]
bc334427e3
stake: Don't pay out rewards for epochs where inflation was not enabled ( #13745 )
...
(cherry picked from commit 13aa38d307
)
Co-authored-by: Trent Nelson <trent@solana.com>
2020-11-21 05:41:53 +00:00
mergify[bot]
08b53c0963
Use info for failed to match slot vote error ( #13715 ) ( #13720 )
...
(cherry picked from commit 2cb006fa44
)
Co-authored-by: sakridge <sakridge@gmail.com>
2020-11-20 01:34:42 +00:00
mergify[bot]
640f4a1ec7
Rewrite stake accounts for clear migration ( #13461 ) ( #13705 )
...
* Reduce overage stake by rewritng stake accounts
* Write tests and finish implemention
* Create and use new feature gate
* Clean up logging
* Fix typo
* Simplify enable_rewrite_stake
* Fix typo...
* Even simplify gating
* Add metrics
(cherry picked from commit 43d5e47ea9
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2020-11-19 21:29:42 +00:00
Tyera Eulberg
855cf9a362
Bump version to 1.4.10 ( #13657 )
2020-11-18 01:29:58 +00:00
Jack May
96ba314281
Bump rbpf to v0.1.33 ( #13643 )
2020-11-17 16:00:20 -08:00
mergify[bot]
181ff3d13e
Update Initialized split rent-exempt value ( #13646 ) ( #13653 )
...
(cherry picked from commit 39932d7664
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-17 20:43:30 +00:00
mergify[bot]
195ce0ed79
Remove overflow opportunities ( #13649 ) ( #13651 )
...
(cherry picked from commit a7bed62af0
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-17 20:26:06 +00:00
mergify[bot]
c40216350c
Add back BPF error logging ( #13633 ) ( #13639 )
...
* Add back BPF error logging
* Update programs/bpf_loader/src/lib.rs
Co-authored-by: Michael Vines <mvines@gmail.com>
(cherry picked from commit 3a9dca0c67
)
Co-authored-by: Jack May <jack@solana.com>
2020-11-17 09:33:58 +00:00
mergify[bot]
719f162229
Reject faked stake/vote accounts in stake mgmt. ( #13615 ) ( #13621 )
...
* Reject faked stake/vote accounts in stake mgmt.
* Use clearer name
(cherry picked from commit 2b3faa1947
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2020-11-16 23:19:54 +00:00
mergify[bot]
88b19e10cb
ledger-tool cap: delegation owner and stake v2 flag ( #13602 ) ( #13607 )
...
* Output delegation owner as well
* Add --enable-stake-program-v2
* Small cleanup and add sanity assertion
* Fix typo...
(cherry picked from commit bcd303a447
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2020-11-15 20:55:14 +00:00
Michael Vines
b4deeb8e36
Add stable program logging for BPF and native programs
2020-11-14 08:26:54 -08:00
Trent Nelson
b838aba840
Bump version to 1.4.9
2020-11-13 17:50:10 -07:00
mergify[bot]
f5454e62a1
Fix potential undefined behavior ( #13555 ) ( #13575 )
...
* Switch to ouroboros 0.5.1
* Update other lock files
(cherry picked from commit a8a77614fe
)
Co-authored-by: joshua-maros <60271685+joshua-maros@users.noreply.github.com>
2020-11-13 10:40:10 +00:00