Jack May
333685dcfe
Remove lock files from programs/bpf/rust ( #14150 )
2020-12-16 02:14:16 -08:00
Trent Nelson
f20371d0a7
Override yanked miow crate to 0.2.2
2020-12-11 20:44:34 -07:00
Trent Nelson
2b7ef2cf18
Override yanked net2 0.2.37
2020-12-11 20:44:34 -07:00
Trent Nelson
ec9f9bd5d8
Switch to memmap2 fork
2020-12-11 20:44:34 -07:00
mergify[bot]
fe0297983f
Translate data length and owner as writable (bp #13914 ) ( #13917 )
...
* Translate data length and owner as writable (#13914 )
(cherry picked from commit 85bec37be4
)
# Conflicts:
# programs/bpf/Cargo.toml
# programs/bpf/build.rs
# programs/bpf_loader/src/syscalls.rs
* Resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-12-02 19:24:01 +00:00
mergify[bot]
f1265b544c
Check that the program was granted access to program_id (bp #13890 ) ( #13892 )
...
* Check that the program was granted access to program_id (#13890 )
(cherry picked from commit 733fcbaa6c
)
# Conflicts:
# programs/bpf/tests/programs.rs
* Resolve conflicts
* nudge
* nudge
Co-authored-by: Jack May <jack@solana.com >
2020-12-01 18:42:34 +00:00
mergify[bot]
3318772bfe
Bump to rbpf v0.1.34 (bp #13874 ) ( #13878 )
...
* Bump to rbpf v0.1.34 (#13874 )
(cherry picked from commit 7890957250
)
# Conflicts:
# Cargo.lock
# cli/Cargo.toml
# programs/bpf/Cargo.toml
# programs/bpf_loader/Cargo.toml
* Resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-12-01 08:14:21 +00:00
sakridge
0cd6838c23
Bump version to v1.3.24 ( #13851 )
2020-11-29 18:11:35 +00:00
Trent Nelson
5dbec42394
Bump version to 1.3.23
2020-11-25 03:02:13 -07:00
mergify[bot]
b0e5da40a9
Add stake calculation tests with inflation/slashing ( #13605 ) ( #13797 )
...
* 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 04:59:20 +00:00
mergify[bot]
0c2433d796
Cap split stake at source stake when splitting entire balance ( #13754 ) ( #13765 )
...
(cherry picked from commit f0f99ffc7e
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-23 18:23:58 +00:00
mergify[bot]
de03a5092d
ledger-tool cap: output credits_observed ( #13746 ) ( #13747 )
...
(cherry picked from commit 3bc7d85986
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-21 17:31:03 +00:00
mergify[bot]
fd39a09eae
stake: Don't pay out rewards for epochs where inflation was not enabled ( #13744 )
...
(cherry picked from commit 13aa38d307
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-11-21 05:28:08 +00:00
mergify[bot]
fc20597cbc
Update Initialized split rent-exempt value ( #13646 ) ( #13652 )
...
(cherry picked from commit 39932d7664
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-17 20:34:07 +00:00
mergify[bot]
0aab403cbc
Remove overflow opportunities ( #13649 ) ( #13650 )
...
(cherry picked from commit a7bed62af0
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-17 20:15:43 +00:00
mergify[bot]
e12cb457fb
Reject faked stake/vote accounts in stake mgmt. (bp #13615 ) ( #13620 )
...
* Reject faked stake/vote accounts in stake mgmt. (#13615 )
* Reject faked stake/vote accounts in stake mgmt.
* Use clearer name
(cherry picked from commit 2b3faa1947
)
# Conflicts:
# programs/stake/src/stake_instruction.rs
* Fix conflict
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-16 22:05:31 +00:00
mergify[bot]
29ac8f5164
ledger-tool cap: delegation owner and stake v2 flag (bp #13602 ) ( #13606 )
...
* ledger-tool cap: delegation owner and stake v2 flag (#13602 )
* Output delegation owner as well
* Add --enable-stake-program-v2
* Small cleanup and add sanity assertion
* Fix typo...
(cherry picked from commit bcd303a447
)
* Fix compilation error
* rustfmt
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-16 01:33:04 +00:00
Michael Vines
ea2daf0cfa
Bump version to 1.3.22
2020-11-13 18:03:30 +00:00
mergify[bot]
e341a0b0f2
fix bpf lddw check ( #13554 ) ( #13557 )
...
(cherry picked from commit 30ef53cb13
)
Co-authored-by: Jack May <jack@solana.com >
2020-11-12 22:25:33 +00:00
mergify[bot]
b34895db37
Fix slow/stuck unstaking due to toggling in epoch (bp #13501 ) ( #13534 )
...
* Fix slow/stuck unstaking due to toggling in epoch (#13501 )
* Fix slow/stuck unstaking due to toggling in epoch
* nits
* nits
* Add stake_program_v2 feature status check to cli
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit 89b474e192
)
* Fix conflict
* PartialEq<Vec<T>> is not impl for &[T] on rust v1.45.1
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-11-12 01:20:52 +00:00
sakridge
b9555116ec
Increment version to v1.3.21 ( #13528 )
2020-11-11 19:30:46 +00:00
mergify[bot]
d217ea2afc
Clean up Delegation::stake_activating_and_deactivating ( #13471 ) ( #13472 )
...
(cherry picked from commit 5306eb93cc
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-09 09:52:34 +00:00
mergify[bot]
553209f64c
Clean up Delegation::stake_and_activating ( #13460 ) ( #13468 )
...
(cherry picked from commit 737d3e376d
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-08 09:31:14 +00:00
mergify[bot]
4fcf19e414
Output more inflation calc details in ledger-tool (bp #13345 ) ( #13466 )
...
* Output more inflation calc details in ledger-tool (#13345 )
* Output more inflation calc details in ledger-tool
* Fix broken ci...
* Rename confusing variables
* Fix panic by wrapping PointValue with Opiton...
* Minor modifications
* Remove explict needless flush; Drop already does
* Yet another csv field adjustments
* Add data_size and rename epochs to earned_epochs
* Introduce null_tracer
* Unwrap Option in new_from_parent_with_tracer
* Don't shorten identifiers
* Allow irrefutable_let_patterns temporalily
* More null_tracer
* More field adjustments
(cherry picked from commit a81e7e7749
)
# Conflicts:
# runtime/src/bank.rs
* Fix conflict
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-08 09:03:09 +00:00
mergify[bot]
e57e632870
Add builtin mem tests (bp #13429 ) ( #13436 )
...
* Add builtin mem tests (#13429 )
(cherry picked from commit 84b139cc94
)
* resolve crate version
* port to v1.3 conventions
* nudge
Co-authored-by: Jack May <jack@solana.com >
2020-11-07 01:23:14 +00:00
mergify[bot]
20678cf5ef
Fix stake split rent-exempt adjustment ( #13357 ) ( #13452 )
...
* Add failing tests
* Fix stake split
* Calculate split rent-exempt-reserve and use
* Add comment in rent.rs
* Add tests for edge cases when splitting to larger accounts, and reject overflow splits
* Reframe InsufficientFunds checks in terms of lamports var
* Test hardening review comments
(cherry picked from commit 4c5f345798
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-06 21:55:08 +00:00
mergify[bot]
0a05bbca2f
Fix stake redelegate (bp #13358 ) ( #13449 )
...
* stake: Add redelegation failing test
(cherry picked from commit 491ad59d2e
)
* stake: Consider withdraws we redelegating
(cherry picked from commit fe1e08b9ad
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-11-06 20:27:06 +00:00
mergify[bot]
ab7dff16a2
Feature-gate stake program (bp #13394 ) ( #13438 )
...
* Feature-gate stake program (#13394 )
* Add legacy stake-program handling
* Strip out duplicative legacy code
* Add feature for stake-program-fix
* Feature-deploy new stake program
* Expand comment
(cherry picked from commit 1b1d9f6b0c
)
# Conflicts:
# runtime/src/builtins.rs
# runtime/src/feature_set.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-11-06 14:00:37 +00:00
mergify[bot]
ef776c0a0e
Allow feature builtins to overwrite existing builtins (bp #13403 ) ( #13419 )
...
* Allow feature builtins to overwrite existing builtins (#13403 )
* Allow feature builtins to overwrite existing builtins
* Add feature_builtin ActivationType
* Correctly retain idempotent for replacing case
* Fix test
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
(cherry picked from commit bc62313c66
)
# Conflicts:
# ledger/src/builtins.rs
# runtime/src/bank.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-11-05 17:53:03 +00:00
mergify[bot]
a899d75d2d
Fix duplicate records of inner instructions ( #13380 ) ( #13412 )
...
* Fix duplicate records of inner instructions
* fix tests
* fix clippy
* Remove bad_inner_instructions
(cherry picked from commit c24fbb6f8b
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-11-05 08:44:16 +00:00
mergify[bot]
958c43f337
Small code cleanup and typo fixes ( #13325 ) ( #13340 )
...
* Small code cleanup and typo fixes
* Clean up calculate_points_and_credits
(cherry picked from commit 0e4509c497
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-02 02:38:43 +00:00
Michael Vines
d01968ed21
cargo update -p futures-task
/ cargo update -p futures-util
2020-10-31 19:00:22 +00:00
Michael Vines
bff820d549
Remove unused pubkey::Pubkey imports
2020-10-21 20:27:57 -07:00
Michael Vines
5ad0ccdfe1
cargo fmt
2020-10-21 20:27:57 -07:00
Michael Vines
422bb3c526
Run codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand
2020-10-21 20:27:57 -07:00
Trent Nelson
6ebb933302
Bump version to 1.3.20
2020-10-22 00:08:28 +00:00
mergify[bot]
14aaae3485
Support Debug Bank ( #13017 ) ( #13042 )
...
(cherry picked from commit c0675968b1
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-21 02:50:12 +00:00
Tyera Eulberg
7674a5fea8
Bump version to v1.3.19 ( #12986 )
2020-10-19 19:13:28 +00:00
mergify[bot]
e6521ef44c
Report compute budget usage ( #12931 ) ( #12933 )
...
(cherry picked from commit b510474dcb
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-16 00:19:18 +00:00
mergify[bot]
782ed192b6
program log pubkey as base58 (bp #12901 ) ( #12910 )
...
* program log pubkey as base58 (#12901 )
(cherry picked from commit 3f9e6a600b
)
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
# programs/bpf/c/src/tuner/tuner.c
# programs/bpf_loader/src/syscalls.rs
# runtime/src/process_instruction.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-15 19:21:27 +00:00
mergify[bot]
2c0b4f3b4f
Respect RefCell when calling invoke ( #12858 ) ( #12890 )
...
* Respect RefCell when calling invoke
* nudge
(cherry picked from commit 969f7b015b
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-15 02:24:51 +00:00
mergify[bot]
9dab79274b
terminology update, nonce to bump seed (bp #12840 ) ( #12850 )
...
* terminology update, nonce to bump seed (#12840 )
(cherry picked from commit 56211378d3
)
# Conflicts:
# sdk/src/pubkey.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-13 19:24:30 +00:00
Trent Nelson
d1c51950f3
Bump version to v1.3.18
2020-10-13 03:57:13 +00:00
mergify[bot]
edf59cccd8
Fix fee mismatch on snapshot deserialize ( #12697 ) ( #12753 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit c879e7c1ad
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-10-12 11:34:13 +00:00
Michael Vines
d35d853e57
Cargo.lock
2020-10-12 04:21:26 +00:00
mergify[bot]
9f82208c29
Store program logs in blockstore / bigtable (TransactionWithStatusMeta) (bp #12678 ) ( #12734 )
...
* Store program logs in blockstore / bigtable (TransactionWithStatusMeta) (#12678 )
* introduce store program logs in blockstore / bigtable
* fix test, transaction logs created for successful transactions
* fix test for legacy bincode implementation around log_messages
* only api nodes should record logs
* truncate transaction logs to 100KB
* refactor log truncate for improved coverage
(cherry picked from commit 8f5431551e
)
# Conflicts:
# runtime/src/bank.rs
* Resolve merge conflicts in bank.rs
* rerun cargo fmt
Co-authored-by: Josh <josh.hundley@gmail.com >
2020-10-10 08:55:41 +00:00
Trent Nelson
a70aa28832
Bump version to 1.3.17
2020-10-10 03:22:14 +00:00
mergify[bot]
b31ec0579c
Local program allocator ( #12679 ) ( #12767 )
...
(cherry picked from commit 630eb3b907
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-10 01:44:18 +00:00
mergify[bot]
ad31768dd9
Add adjustable stack size and call depth (bp #12728 ) ( #12769 )
...
* Add adjustable stack size and call depth (#12728 )
(cherry picked from commit c3907be623
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/Cargo.toml
# programs/bpf/build.rs
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/lib.rs
# runtime/src/feature_set.rs
# runtime/src/process_instruction.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 23:27:59 +00:00
mergify[bot]
48d08f2010
Bump max invoke depth to 4 (bp #12742 ) ( #12763 )
...
* Bump max invoke depth to 4 (#12742 )
(cherry picked from commit 2cd7cd3149
)
# Conflicts:
# programs/bpf/rust/invoked/src/processor.rs
# runtime/src/feature_set.rs
# runtime/src/message_processor.rs
# runtime/src/process_instruction.rs
* fix conflicts
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 21:12:35 +00:00