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
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
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
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
Jack May
1bce8a99a2
Add more CPI call depth tests ( #17657 )
2021-06-02 00:22:29 -07:00
Tyera Eulberg
3a3454d788
Bump version to v1.6.12 ( #17651 )
2021-06-01 21:40:36 -06:00
Jack May
6a2377dd50
Disable read-only optimization features ( #17583 )
...
* Disable RO optimization features
* nudge
2021-05-28 21:55:37 +00:00
mergify[bot]
f364956d15
Plumb transaction-level rewards (aka "rent debits") into the getTransaction
RPC method (backport #17528 ) ( #17532 )
...
* Plumb transaction-level rewards (aka "rent debits") into the `getTransaction` RPC method
(cherry picked from commit 9541411c15
)
# Conflicts:
# docs/src/developing/clients/jsonrpc-api.md
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-05-26 21:33:30 -07:00
Tyera Eulberg
ae1687bc0a
Bump version to v1.6.11 ( #17484 )
2021-05-25 15:35:50 -06:00
mergify[bot]
0e9fe0847f
Optimize aligned memory used by the runtime (backport #17324 ) ( #17334 )
...
* Optimize aligned memory used by the runtime (#17324 )
(cherry picked from commit 477898f682
)
# Conflicts:
# cli/Cargo.toml
# programs/bpf/Cargo.toml
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/syscalls.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-05-19 23:21:47 +00:00
mergify[bot]
c4e770e2f8
Add C Serialization Tests for #17217 ( #17294 ) ( #17297 )
...
(cherry picked from commit f15dd1b4ef
)
Co-authored-by: Jack May <jack@solana.com >
2021-05-19 22:14:23 +00:00
mergify[bot]
18c4d13ab2
fix test ( #17310 ) ( #17314 )
...
(cherry picked from commit cfcae50022
)
# Conflicts:
# programs/bpf/c/src/ser/ser.c
Co-authored-by: Jack May <jack@solana.com >
2021-05-18 20:05:00 +00:00
Tyera Eulberg
409ac4dcfa
Bump version to v1.6.10 ( #17250 )
2021-05-15 01:47:56 +00:00
mergify[bot]
3303ead54d
Add Keccak256 syscall and sdk support (backport #16498 ) ( #17157 )
...
* Add Keccak256 syscall and sdk support (#16498 )
(cherry picked from commit 8eb05d6ed4
)
# Conflicts:
# Cargo.lock
# programs/bpf/Cargo.lock
# programs/bpf/rust/sha/Cargo.toml
# programs/bpf/tests/programs.rs
# programs/bpf_loader/Cargo.toml
# sdk/program/Cargo.toml
# sdk/program/src/lib.rs
# sdk/src/feature_set.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-05-11 09:31:16 +00:00
Michael Vines
65e1b881f9
Bump version to v1.6.9
2021-05-08 06:28:08 +00:00
Michael Vines
524b380a71
Bump version to 1.6.8
2021-05-04 12:46:57 -07:00
mergify[bot]
6157860c0a
Implement Bip32 for seed-phrase/passphrase signing (backport #16942 ) ( #17018 )
...
* Implement Bip32 for seed-phrase/passphrase signing (#16942 )
* Add Keypair helpers for bip32 derivation
* Plumb bip32 for SignerSourceKind::Ask
* Support full-path querystring
* Use as_ref
* Add public wrappers for from_uri cases
* Support master root derivations (and fix too-deep print
* Add ask:// HD documentation
* Update ASK elsewhere in docs
(cherry picked from commit 694c674aa6
)
# Conflicts:
# programs/bpf/Cargo.lock
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-05-04 03:58:23 +00:00
mergify[bot]
b0c0739db9
Allow SetUpgradeAuthority instruction in CPI calls (backport #16676 ) ( #16954 )
...
* Allow SetUpgradeAuthority instruction in CPI calls (#16676 )
* feat: allow SetAuthority in CLI calls
* chore: clippy match_like_matches_macro
* chore: clippy match_like_matches_macro
* chore: rename CLI to CPI
* chore: move check for cpi authorised instruction to syscalls
* chore: add set_upgrade_authority cpi test
* chore: assert upgrade authority was changed
* feat: gate set_upgrade_authority via cpi with a feature
* chore: move feature to the end of the list
* chore: remove white spaces
* chore: remove white spaces
* chore: update comment to rerun build
(cherry picked from commit 1a658c7f31
)
# Conflicts:
# programs/bpf/Cargo.toml
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
* chore: fixe merge conflicts
Co-authored-by: Sebastian Bor <Sebastian_Bor@hotmail.com >
2021-04-30 20:47:38 +00:00
mergify[bot]
a401b2b4cf
Refactor SignerSource to expose DerivationPath to other kinds of signers (backport #16933 ) ( #16941 )
...
* Refactor SignerSource to expose DerivationPath to other kinds of signers (#16933 )
* One use statement
* Add stdin uri scheme
* Convert parse_signer_source to return Result
* A-Z deps
* Convert Usb data to Locator
* Pull DerivationPath out of Locator
* Wrap SignerSource to share derivation_path
* Review comments
* Check Filepath existence, readability in parse_signer_source
(cherry picked from commit d6f30b7537
)
# Conflicts:
# sdk/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-04-29 09:11:56 +00:00
mergify[bot]
9797178ad1
Refactor remote-wallet path parsing (backport #16798 ) ( #16894 )
...
* SDK: More conversions for `Pubkey`
(cherry picked from commit 9b7120bf73
)
* SDK: More conversion for `DerivationPath`
(cherry picked from commit 722de942ca
)
* remote-wallet: Add helpers for locating remote wallets
(cherry picked from commit 64fcb792c2
)
* remote-wallet: Plumb `Locator` into `RemoteWalletInfo`
(cherry picked from commit 3d12be29ec
)
* remote-wallet: `derivation-path` crate doesn't like empty trailing child indexes
(cherry picked from commit 4ce4f04c58
)
* remote-wallet: Move `Locator` to its own module
(cherry picked from commit cac666d035
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-04-28 01:20:41 +00:00
mergify[bot]
dbc58455df
Retain alloc'd and updated data in cpi (backport #16850 ) ( #16890 )
...
* Retain alloc'd and updated data in cpi (#16850 )
(cherry picked from commit 9b3a59f030
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-04-27 23:01:43 +00:00
mergify[bot]
0269fffa5a
Remove unactivated ristretto syscall (backport #16727 ) ( #16745 )
...
* Remove unactivated ristretto syscall (#16727 )
(cherry picked from commit be4df39a4c
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/rust/ristretto/Cargo.toml
# programs/bpf/tests/programs.rs
# programs/bpf_loader/src/syscalls.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-04-22 18:33:27 +00:00
mergify[bot]
bbd8bd2e74
Enforce host aligned memory for program regions (backport #16590 ) ( #16683 )
...
* Enforce host aligned memory for program regions (#16590 )
(cherry picked from commit 08d5253651
)
# Conflicts:
# cli/Cargo.toml
# programs/bpf/Cargo.toml
# programs/bpf/benches/bpf_loader.rs
# programs/bpf/tests/programs.rs
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/lib.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-04-21 01:47:00 +00:00
mergify[bot]
6da06654ff
Wrap derivation_path::DerivationPath (backport #16609 ) ( #16651 )
...
* Wrap derivation_path::DerivationPath (#16609 )
* Replace custom DerivationPath impl
* Add method to parse full-path from str with hardening
* Convert Bip44 to trait
* Hoist more work on derivation-path
* Privatize Bip44 trait
(cherry picked from commit 185bbf2db5
)
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-04-20 00:50:16 +00:00
Trent Nelson
4e94446fc3
Bump version to v1.6.7
2021-04-16 23:31:30 +00:00
mergify[bot]
fe775a9716
CLI BIP32 prep: KeypairUrl
refactor (backport #16592 ) ( #16605 )
...
* clap-utils: Rename KeypairUrl to SignerSource
(cherry picked from commit 09dcc9ea04
)
* clap-utils: Reduce SignerSource's visibility
(cherry picked from commit c5ab3ba6f1
)
* clap-utils: Use `uriparse` crate to parse `SignerSource`
(cherry picked from commit 5d1ef5d01d
)
* clap-utils: Add explicit schemes for `ask` and `file` `SignerSource`s
(cherry picked from commit 6444f0e57b
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-04-16 21:14:31 +00:00
Michael Vines
4ef3a679a4
Bump version to v1.6.6
2021-04-14 10:27:02 -07:00
mergify[bot]
6da4bec41d
Return sysvars via syscalls (bp #16422 ) ( #16497 )
...
* Return sysvars via syscalls (#16422 )
(cherry picked from commit fa83f3bd73
)
* bad merge
* Fix branch diffs
* nudge
Co-authored-by: Jack May <jack@solana.com >
2021-04-14 05:33:27 +00:00