Justin Starry
aa5e23799f
Optimize stakes cache and rewards at epoch boundaries (backport #20432 ) ( #20475 )
...
* Optimize stakes cache and rewards at epoch boundaries (backport #20432 )
* fix conflicts
2021-10-06 16:25:30 -04:00
mergify[bot]
b9b81def35
Make rewards tracer async friendly (backport #20452 ) ( #20455 )
...
* Make rewards tracer async friendly (#20452 )
(cherry picked from commit 250a8503fe
)
# Conflicts:
# Cargo.lock
# ledger-tool/Cargo.toml
# ledger-tool/src/main.rs
# programs/stake/src/stake_state.rs
# runtime/src/bank.rs
* fix conflicts
Co-authored-by: Justin Starry <justin@solana.com >
2021-10-06 07:09:40 +00:00
Tyera Eulberg
5df386ae0e
Bump version to v1.6.28 ( #20300 )
2021-09-28 20:23:27 +00:00
Tyera Eulberg
c5d174c170
Use single feature ( #20289 )
2021-09-28 04:30:11 -06:00
Tyera Eulberg
9b6ec0b6d5
v1.6: Restore ability for programs to upgrade themselves ( #20263 )
...
* Make helper associated fn
* Add feature definition
* Restore program-id write lock when upgradeable loader is present; restore bpf upgrade-self test
* Remove spurious comment
2021-09-27 22:29:59 +00:00
Justin Starry
1a88a9eb0e
resolve conflicts
2021-09-25 22:11:58 -04:00
dependabot[bot]
66a9e6bcb4
chore: bump tiny-bip39 from 0.8.0 to 0.8.1 ( #20136 )
...
* chore: bump tiny-bip39 from 0.8.0 to 0.8.1
Bumps [tiny-bip39](https://github.com/maciejhirsz/tiny-bip39 ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/maciejhirsz/tiny-bip39/releases )
- [Changelog](https://github.com/maciejhirsz/tiny-bip39/blob/master/CHANGELOG.md )
- [Commits](https://github.com/maciejhirsz/tiny-bip39/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: tiny-bip39
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 <anatoly+githubjenkins@solana.io >
(cherry picked from commit 038d77347a
)
# Conflicts:
# Cargo.lock
# clap-utils/Cargo.toml
# cli/Cargo.toml
# keygen/Cargo.toml
# sdk/Cargo.toml
2021-09-25 22:11:58 -04:00
Dmitri Makarov
2d0c0bc8ba
Bump bpf-tools version to 1.12
2021-09-25 22:11:58 -04:00
Dmitri Makarov
8f1a08e15c
Remove O2 option for compiling BPF programs ( #17865 )
...
rustc default compiler optimization level is O3. This change removes
the option that overrides the default optimization level, because it
is safe to do so. The code generation is incorrect in some cases
because of link-time optimizations, which remain disabled for
compiling BPF programs. In addition, this commit updates the expected
instruction counts for assert_instruction_count test.
2021-09-25 22:11:58 -04:00
Dmitri Makarov
77e6cd35ee
Add BPF rustc option to reduce the optimizations to safer level ( #17590 )
2021-09-25 22:11:58 -04:00
Dmitri Makarov
6c390aeb67
Fix missing builtins in C programs linking with compiler_builtins ( #17475 )
2021-09-25 22:11:58 -04:00
Dmitri Makarov
cde248ae73
Bump bpf-tools version to 1.9
...
- upgrade rustc to 1.52.1 and clang to 12.0
2021-09-25 22:11:58 -04:00
Dmitri Makarov
9bc20a8cbb
Bump bpf-tools version to 1.8
2021-09-25 22:11:58 -04:00
mergify[bot]
4113acbf24
Resolve zeroize_derive audit warning by bumping version (backport #20182 ) ( #20189 )
...
* Resolve zeroize_derive audit warning by bumping version (#20182 )
* Revert "temporarily disable new audit"
This reverts commit 3dfbd95ddc
.
* Bump version of zeroize_derive from v1.0.0 to v1.2.0
(cherry picked from commit 0c62a6fe3f
)
# Conflicts:
# ci/do-audit.sh
* resolve conflict
Co-authored-by: Justin Starry <justin@solana.com >
2021-09-25 09:45:32 -04:00
sakridge
8bf5cdb349
bump 1.6 version ( #19988 )
2021-09-18 00:09:39 +00:00
Michael Vines
ca55bce522
Bump version to 1.6.26 ( #19894 )
2021-09-14 23:29:33 -06:00
Tyera Eulberg
7232b01a02
Bump version to v1.6.25 ( #19880 )
2021-09-14 20:33:13 +00:00
Tyera Eulberg
a4ebbc9f55
Remove demote_program_write_locks feature ( #19877 )
...
* Remove demote_program_write_locks feature
* Update test
2021-09-14 12:25:42 -06:00
Stephen Akridge
d401c3f5ab
Bump version
2021-09-14 08:12:02 -07:00
mergify[bot]
3eee222667
Return error if Transaction contains writable executable or ProgramData accounts (backport #19629 ) ( #19729 )
...
* Return error if Transaction contains writable executable or ProgramData accounts (#19629 )
* Return error if Transaction locks an executable as writable
* Return error if a ProgramData account is writable but the upgradable loader isn't present
* Remove unreachable clause
* Fixup bpf tests
* Review comments
* Add new TransactionError
* Disallow writes to any upgradeable-loader account when loader not present; remove is_upgradeable_loader_present exception for all other executables
(cherry picked from commit 38bbb77989
)
# Conflicts:
# programs/bpf/tests/programs.rs
# runtime/src/accounts.rs
# runtime/src/bank.rs
# sdk/src/transaction.rs
# storage-proto/proto/transaction_by_addr.proto
# storage-proto/src/convert.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-09-09 03:06:02 +00:00
mergify[bot]
53f8e58300
Demote write locks on transaction program ids (backport #19593 ) (backport #19633 ) ( #19637 )
...
* Demote write locks on transaction program ids (backport #19593 ) (#19633 )
* Demote write locks on transaction program ids (#19593 )
* Add feature
* Demote write lock on program ids
* Fixup bpf tests
* Update MappedMessage::is_writable
* Comma nit
* Review comments
(cherry picked from commit decec3cd8b
)
# Conflicts:
# core/src/banking_stage.rs
# core/src/cost_model.rs
# core/src/cost_tracker.rs
# ledger-tool/src/main.rs
# program-runtime/src/instruction_processor.rs
# programs/bpf/tests/programs.rs
# programs/bpf_loader/src/syscalls.rs
# rpc/src/transaction_status_service.rs
# runtime/src/accounts.rs
# runtime/src/bank.rs
# runtime/src/message_processor.rs
# sdk/benches/serialize_instructions.rs
# sdk/program/src/message/mapped.rs
# sdk/program/src/message/sanitized.rs
# sdk/src/transaction/sanitized.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit fcda5d4a7d
)
# Conflicts:
# cli-output/src/display.rs
# core/src/transaction_status_service.rs
# program-test/src/lib.rs
# programs/bpf_loader/src/syscalls.rs
# runtime/src/accounts.rs
# runtime/src/bank.rs
# runtime/src/message_processor.rs
# sdk/benches/serialize_instructions.rs
# sdk/program/src/message.rs
# sdk/src/feature_set.rs
# transaction-status/src/parse_accounts.rs
* Replace feature and fix conflicts
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-09-04 09:10:57 +00:00
Tyera Eulberg
39a5431790
Bump jsonrpc crates and remove old tokio ( #19454 )
2021-08-26 23:53:44 +00:00
sakridge
715c5e64c4
Bump version to 1.6.23 ( #19447 )
2021-08-26 18:09:15 +00:00
mergify[bot]
45e3cd373b
Bump crossbeam-epoch (backport #19378 ) ( #19388 )
...
* Bump to get off yanked crate (#19378 )
(cherry picked from commit 82ea4891fd
)
# Conflicts:
# Cargo.lock
# programs/bpf/Cargo.lock
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-08-24 08:16:08 +00:00
Brooks Prumo
2b4b260c71
Update crossbeam-deque to 0.8.1 ( #19361 ) ( #19381 )
...
(cherry picked from commit 2ccbe471ae
)
2021-08-23 23:10:35 +00:00
Tyera Eulberg
d23df85410
Remove pin-project-lite warning
2021-08-18 22:08:12 -06:00
Tyera Eulberg
0c2a85a903
Update hyper 0.14
2021-08-18 22:08:12 -06:00
Trent Nelson
011fe72aa2
Bump version to v1.6.22
2021-08-18 22:08:12 -06:00
Tyera Eulberg
4d77ac1688
Bump version to v1.6.21 ( #18953 )
2021-07-28 23:47:03 +00:00
Jon Cinque
ba8426e0fd
1.6: Bump crates to 1.6.20 ( #18805 )
2021-07-21 17:44:41 +02:00
Trent Nelson
d7b381c90c
Bump version to v1.6.19
2021-07-17 08:57:44 +00:00
Trent Nelson
3dbdaa5341
Bump version to v1.6.18
2021-07-16 09:57:58 +00:00
mergify[bot]
63d7fdb4bd
Gate libsecp256k1 update (backport #18656 ) ( #18700 )
...
* hijack secp256k1 enablement feature plumbing for libsecp256k1 upgrade
* Bump libsecp256k1 to v0.5.0
* gate libsecp256k1 upgrade to v0.5.0
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-16 03:34:13 +00:00
Michael Vines
b629291848
Record vote account commission with voting/staking rewards and surface in RPC
...
(cherry picked from commit 4098af3b5b
)
# Conflicts:
# docs/src/developing/clients/jsonrpc-api.md
# runtime/src/bank.rs
2021-07-12 18:16:25 -07:00
mergify[bot]
50d510e4c7
Update ouroboros [fix potential UB] (backport #18567 ) ( #18572 )
...
* chore: bump ouroboros from 0.5.1 to 0.9.3 (#18189 )
* chore: bump ouroboros from 0.5.1 to 0.9.3
Bumps [ouroboros](https://github.com/joshua-maros/ouroboros ) from 0.5.1 to 0.9.3.
- [Release notes](https://github.com/joshua-maros/ouroboros/releases )
- [Commits](https://github.com/joshua-maros/ouroboros/commits )
---
updated-dependencies:
- dependency-name: ouroboros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
* Api changes
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 >
* CI: Ignore inconsistent_struct_constructor lint
This lint was introduced at `warning`, which is an excessively high
level for cosmetics, and later demoted to `pedantic`
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 >
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-10 21:06:42 +00:00
mergify[bot]
d18a08471e
Temporarily ignore prost-types advisory (backport #18525 ) ( #18526 )
...
* Temporarily ignore prost-types audit (#18525 )
(cherry picked from commit 6188283ba6
)
* Bump tokio
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-07-08 14:04:06 -06:00
mergify[bot]
9a7ea1229b
Add vote/stake checked instructions (backport #18345 ) ( #18456 )
...
* Add vote/stake checked instructions
(cherry picked from commit ee219ffa47
)
# Conflicts:
# programs/stake/src/stake_instruction.rs
# sdk/program/src/stake/instruction.rs
# sdk/src/feature_set.rs
* Fix set-lockup custodian index
(cherry picked from commit 544f62c92f
)
* Add parsing for new stake instructions; clean up confusing test args
(cherry picked from commit 9b302ac0b5
)
# Conflicts:
# transaction-status/src/parse_stake.rs
* Add parsing for new vote instructions
(cherry picked from commit 39bac256ab
)
* Add VoteInstruction::AuthorizeChecked test
(cherry picked from commit b8ca2250fd
)
* Add Stake checked tests
(cherry picked from commit 74e89a3e3e
)
# Conflicts:
# programs/stake/src/stake_instruction.rs
* Fix conflicts and accommodate old apis in backport
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-07-07 03:14:54 +00:00
sakridge
06b1c980d4
Bump version to v1.6.17 ( #18393 )
2021-07-02 19:40:37 +00:00
Trent Nelson
31dc79a4f9
Bump version to v1.6.16
2021-06-30 22:53:51 -06:00
mergify[bot]
7d68c44307
Don't update if already an executable ( #18252 )
...
(cherry picked from commit 2fbedd834f
)
# Conflicts:
# runtime/src/message_processor.rs
Co-authored-by: Jack May <jack@solana.com >
2021-06-27 19:21:02 +00:00
mergify[bot]
6b9a529cda
Bump borsh from 0.8.1 to 0.9.0 (backport #18230 ) ( #18237 )
...
* Bump borsh from 0.8.1 to 0.9.0 (#18230 )
(cherry picked from commit 7ed2cf30a5
)
# Conflicts:
# programs/bpf/Cargo.lock
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-06-25 23:10:01 +00:00
Trent Nelson
232ba8473d
fix build broken by 37f618f
2021-06-23 01:43:11 -06:00
Trent Nelson
37f618fc62
programs/config: Disallow duplicate signers
2021-06-22 23:04:24 -06:00
mergify[bot]
57baf7f79b
Add memory operation syscalls (backport #16447 ) ( #18149 )
...
* Add memory operation syscalls (#16447 )
(cherry picked from commit 2b50529265
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/rust/sysvar/tests/lib.rs
# programs/bpf/tests/programs.rs
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-06-22 19:57:51 +00:00
Trent Nelson
06d6e357ae
Bump version to v1.6.15 ( #18108 )
2021-06-21 14:23:43 -06:00
Trent Nelson
0ed9f7144c
sdk: refactor pda generation
2021-06-21 10:16:49 -06:00
Tyera Eulberg
1201ef172e
Bump version to v1.6.14 ( #18050 )
2021-06-17 20:42:10 +00:00
Ryo Onodera
337de51088
Bump version to v1.6.13 ( #17972 )
2021-06-15 23:47:22 +09:00
mergify[bot]
ff8f78199d
Bump spl-token to v3.1.1 (backport #17951 ) ( #17957 )
...
* Bump spl-token to v3.1.1 (#17951 )
(cherry picked from commit b7de369992
)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# accounts-cluster-bench/Cargo.toml
# programs/bpf/Cargo.lock
# rpc/Cargo.toml
# tokens/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-06-15 07:54:09 +00:00
mergify[bot]
b777bbf7db
system-program: Remove zero lamport check on transfers (backport #17726 ) ( #17763 )
...
* system-program: Remove zero lamport check on transfers (#17726 )
* system-program: Move lamports == 0 check on transfers
* Address feedback
* Update stake split to explicitly allocate + assign
* Update stake tests referring to split instruction
* Revert whitespace
* Update split instruction index in test
* Remove unnecessary `assign_with_seed` from `split_with_seed`
* Fix stake instruction parser
* Update test to allow splitting into account with lamports
(cherry picked from commit 8f5e773caf
)
# Conflicts:
# runtime/src/system_instruction_processor.rs
# sdk/src/feature_set.rs
* Resolve merge conflicts
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-06-07 12:55:57 +00:00