mergify[bot]
02c509390a
Add cli-output helpers (backport #18933 ) ( #18935 )
...
* Add cli-output helpers (#18933 )
* Add OutputFormat helper to reduce copy-pasta
* Add CliSignOnlyData constructor
(cherry picked from commit 467c18e0d1
)
# 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-07-28 15:25:56 +00:00
Michael Vines
548ddff7ed
Bump version to v1.7.9
2021-07-24 11:23:44 -06:00
Ryo Onodera
1cc8de0fed
Bump version to v1.7.8 ( #18866 )
2021-07-24 01:14:03 +09:00
mergify[bot]
7427dafc36
feature: add new token program feature (backport #18780 ) ( #18803 )
...
* feature: add new token program feature (#18780 )
* feature: add new token program feature
* Fixup test
* Update to spl-token v3.2.0
* Update Cargo.lock + fmt
* Update token program version in fetch-spl.sh
* Bump associated token program to 1.0.3
* Add aToken so
(cherry picked from commit 51f3b9aa7c
)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# accounts-cluster-bench/Cargo.toml
# programs/bpf/Cargo.lock
# rpc/Cargo.toml
# sdk/src/feature_set.rs
# tokens/Cargo.toml
# transaction-status/Cargo.toml
* Fix merge issues
* Re-generate lock files
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-07-21 15:05:45 +00:00
mergify[bot]
1cdcabf7cf
Bump BPF tools to v1.9 ( #18766 )
...
(cherry picked from commit 47861fc373
)
Co-authored-by: Dmitri Makarov <dmakarov@alumni.stanford.edu >
2021-07-19 20:46:59 +00:00
Trent Nelson
19049ca91b
Bump version to v1.7.7
2021-07-17 08:42:22 +00:00
sakridge
551dc0a74c
Bump 1.7 version ( #18723 )
2021-07-16 09:43:18 -06:00
mergify[bot]
c7c650fccc
Gate libsecp256k1 update (backport #18656 ) ( #18701 )
...
* hijack secp256k1 enablement feature plumbing for libsecp256k1 upgrade
* bump libsecp256k1 to v0.5.0
* gate libsecp256k1 upgrade to v0.5.0
* ci: allow clippy::inconsistent_struct_constructor
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-16 07:38:45 +00:00
mergify[bot]
8a111229f7
Cleanup secp256k1 deps (backport #18618 ) ( #18625 )
...
* Cleanup secp256k1 deps (#18618 )
(cherry picked from commit 0d3e8ada94
)
# Conflicts:
# Cargo.lock
# programs/bpf/Cargo.lock
# programs/secp256k1/Cargo.toml
# runtime/Cargo.toml
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-07-13 08:35:50 +00:00
mergify[bot]
a6a302f41f
chore: bump ouroboros from 0.5.1 to 0.9.3 ( #18189 ) ( #18573 )
...
* 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 >
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 >
2021-07-10 20:44:54 +00:00
mergify[bot]
8c328316ae
Add ecrecover syscall (backport #17720 ) ( #18500 )
...
* Add ecrecover syscall (#17720 )
Co-authored-by: Anton Lisanin <lisanin.anton@gmail.com >
(cherry picked from commit 1f288ce527
)
# Conflicts:
# Cargo.lock
# programs/bpf/Cargo.lock
# programs/bpf/tests/programs.rs
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/syscalls.rs
# sdk/program/Cargo.toml
* resolve conflicts
Co-authored-by: s-medvedev <40623263+s-medvedev@users.noreply.github.com >
Co-authored-by: Jack May <jack@solana.com >
2021-07-08 21:56:19 +00:00
mergify[bot]
030a97d098
Temporarily ignore prost-types advisory (backport #18525 ) ( #18527 )
...
* 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 13:49:33 -06:00
mergify[bot]
6afeaac7a5
Fix transaction logs and inner ixs for leader nodes (backport #18395 ) ( #18448 )
...
* Fix transaction logs and inner ixs for leader nodes (#18395 )
* Fix transaction logs and inner ixs for leader nodes
* Fix cpi log storage flag
(cherry picked from commit 5dd399dafa
)
# Conflicts:
# runtime/src/bank.rs
* resolve conflict
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-06 23:04:19 +00:00
Trent Nelson
4466aa39c4
Bump version to v1.7.5
2021-06-30 22:55:01 -06:00
Jack May
6a0a03415c
Don't update if already an executable
...
(cherry picked from commit 2fbedd834f
)
2021-06-27 12:24:00 -06:00
Tyera Eulberg
7ed2cf30a5
Bump borsh from 0.8.1 to 0.9.0 ( #18230 )
2021-06-25 14:43:04 -06:00
Trent Nelson
597429ab3e
Bump version to v1.7.4
2021-06-22 19:57:34 +00:00
Trent Nelson
fcabaa7eff
sdk: refactor pda generation
2021-06-22 11:36:05 -06:00
mergify[bot]
363b75619f
adds shred-version to ip-echo-server response (backport #18066 ) ( #18113 )
...
* adds shred-version to ip-echo-server response
When starting a validator, the node initially joins gossip with
shred_verison = 0, until it adopts the entrypoint's shred-version:
https://github.com/solana-labs/solana/blob/9b182f408/validator/src/main.rs#L417
Depending on the load on the entrypoint, this adopting entrypoint
shred-version through gossip sometimes becomes very slow, and causes
several problems in gossip because we have to partially support
shred_version == 0 which is a source of leaking crds values from one
cluster to another. e.g. see
https://github.com/solana-labs/solana/pull/17899
and the other linked issues there.
In order to remove shred_version == 0 from gossip, this commit adds
shred-version to ip-echo-server response. Once the entrypoints are
updated, on validator start-up, if --expected_shred_version is not
specified we will obtain shred-version from the entrypoint using
ip-echo-server.
(cherry picked from commit 598093b5db
)
# Conflicts:
# Cargo.lock
# net-utils/Cargo.toml
# programs/bpf/Cargo.lock
* removes backport merge conflicts
* obtains shred-version from entrypoint's ip-echo-server in validator-main
(cherry picked from commit 58e115275a
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-06-21 23:04:08 +00:00
mergify[bot]
b711778d4a
More nightly clippy fixes ( #18081 )
...
(cherry picked from commit 1b7f6d2bc0
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-06-21 21:55:42 +00:00
Stephen Akridge
d159ae9342
Bump version to v1.7.3
2021-06-17 15:34:50 -06:00
Jon Cinque
0c90307677
v1.7: Stake refactor (Manual backport of #17906 ) ( #17978 )
...
* Refactor stake program into solana_program (#17906 )
* Move stake state / instructions into solana_program
* Update account-decoder
* Update cli and runtime
* Update all other parts
* Commit Cargo.lock changes in programs/bpf
* Update cli stake instruction import
* Allow integer arithmetic
* Update ABI digest
* Bump rust mem instruction count
* Remove useless structs
* Move stake::id() -> stake::program::id()
* Re-export from solana_sdk and mark deprecated
* Address feedback
* Run cargo fmt
* Run cargo fmt post cherry-pick
2021-06-15 23:43:22 +02:00
mergify[bot]
991f99b239
Bump spl-token to v3.1.1 (backport #17951 ) ( #17958 )
...
* 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 08:29:54 +00:00
Ryo Onodera
48e565038a
Bump version to v1.7.2 ( #17831 )
2021-06-08 10:29:39 +00:00
mergify[bot]
e864bf4898
Fix CPI recursion depth ( #17659 ) ( #17670 )
...
* Fix CPI recursion depth
(cherry picked from commit 80e5b24b38
)
Co-authored-by: Jack May <jack@solana.com >
2021-06-02 11:06:50 +00:00
mergify[bot]
309fcd6270
Fix test instruction count ( #17655 ) ( #17660 )
...
(cherry picked from commit 4e0db50e4e
)
Co-authored-by: Jack May <jack@solana.com >
2021-06-02 08:51:45 +00:00
Michael Vines
975c942ea7
Bump version to v1.7.1
2021-06-02 05:21:14 +00:00
mergify[bot]
2798271da0
Add memory operation syscalls (backport #16447 ) ( #17648 )
...
* Add memory operation syscalls (#16447 )
(cherry picked from commit 2b50529265
)
# Conflicts:
# programs/bpf/Cargo.lock
* Resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-06-01 18:43:50 -07:00
mergify[bot]
3c7c6dacfb
Add BPF rustc option to reduce the optimizations to safer level ( #17590 ) ( #17594 )
...
(cherry picked from commit 831e87c65d
)
Co-authored-by: Dmitri Makarov <dmakarov@users.noreply.github.com >
2021-05-31 19:15:56 +00:00
mergify[bot]
2f7f243022
Always bail if program modifies a ro account (backport #17569 ) ( #17584 )
...
* Always bail if program modifies a ro account (#17569 )
(cherry picked from commit a3240aebde
)
* resolve conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2021-05-28 20:34:10 +00:00
mergify[bot]
8ec09884b8
Revert bpf-tools to version 1.8 because of a codegen bug suspicion ( #17568 ) ( #17577 )
...
(cherry picked from commit 2316ddb90a
)
Co-authored-by: Dmitri Makarov <dmakarov@users.noreply.github.com >
2021-05-28 11:10:14 +00:00
mergify[bot]
88c7e636d6
Bump console from 0.11.3 to 0.14.1 ( #16301 ) ( #17552 )
...
* Bump console from 0.11.3 to 0.14.1
Bumps [console](https://github.com/mitsuhiko/console ) from 0.11.3 to 0.14.1.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Changelog](https://github.com/mitsuhiko/console/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/console/compare/0.11.3...0.14.1 )
Signed-off-by: dependabot[bot] <support@github.com >
* Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit ec1a307a7c
)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 21:30:17 +00:00
mergify[bot]
add3fd479d
chore: bump chrono-humanize from 0.1.1 to 0.2.1 ( #16895 ) ( #17549 )
...
* chore: bump chrono-humanize from 0.1.1 to 0.2.1
Bumps [chrono-humanize](https://gitlab.com/imp/chrono-humanize-rs ) from 0.1.1 to 0.2.1.
- [Release notes](https://gitlab.com/imp/chrono-humanize-rs/tags )
- [Commits](https://gitlab.com/imp/chrono-humanize-rs/compare/0.1.1...0.2.1 )
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 4f74c77146
)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 20:37:42 +00:00
mergify[bot]
70410536b9
Bump serde_bytes from 0.11.4 to 0.11.5 ( #16299 ) ( #17546 )
...
* Bump serde_bytes from 0.11.4 to 0.11.5
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.4...0.11.5 )
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 <dependabot-buildkite@noreply.solana.com >
(cherry picked from commit 6e2ae68643
)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 20:04:59 +00:00
Michael Vines
9541411c15
Plumb transaction-level rewards (aka "rent debits") into the getTransaction
RPC method
2021-05-27 03:05:05 +00:00
Dmitri Makarov
3ae4806dae
Fix missing builtins in C programs linking with compiler_builtins ( #17475 )
2021-05-25 17:11:02 +00:00
Dmitri Makarov
85b647d80f
Bump solana_rbpf to version 0.2.11 ( #17404 )
2021-05-25 08:05:35 +00:00
Alexander Meißner
855ae79598
Fix InvokeContext::push() account_deps ( #17350 )
...
* Reverts aliasing of account_deps with the previous invocation stack frame in InvokeContext::push().
* Adds explicit assert of programdata account content in test_program_bpf_upgrade_via_cpi.
2021-05-21 22:34:07 +02:00
Dmitri Makarov
2ae57c172a
Bump bpf-tools version to 1.9
...
- upgrade rustc to 1.52.1 and clang to 12.0
2021-05-20 11:35:37 +02:00
Jack May
477898f682
Optimize aligned memory used by the runtime ( #17324 )
2021-05-19 13:43:59 -07:00
Tao Zhu
0781fe1b4f
Upgrade Rust to 1.52.0 ( #17096 )
...
* Upgrade Rust to 1.52.0
update nightly_version to newly pushed docker image
fix clippy lint errors
1.52 comes with grcov 0.8.0, include this version to script
* upgrade to Rust 1.52.1
* disabling Serum from downstream projects until it is upgraded to Rust 1.52.1
2021-05-19 09:31:47 -05:00
Jack May
cfcae50022
fix test ( #17310 )
2021-05-18 11:46:42 -07:00
Dmitri Makarov
ab871ed4b7
Bump bpf-tools version to 1.8
2021-05-18 08:10:57 +02:00
Jack May
f15dd1b4ef
Add C Serialization Tests for #17217 ( #17294 )
2021-05-17 16:33:58 -07:00
Dmitri Makarov
3f0480d060
Fix deprecated trait object without an explicit dyn warning ( #17231 )
2021-05-14 17:33:07 +00:00
Dmitri Makarov
4ed828e4ee
Enable RBPF trace output for BPF tests that are not using bpf_loader
2021-05-11 23:50:42 +02:00
Jack May
8eb05d6ed4
Add Keccak256 syscall and sdk support ( #16498 )
2021-05-10 16:16:58 -07:00
Tyera Eulberg
694c674aa6
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
2021-05-03 19:58:56 -06:00
Tyera Eulberg
d6f30b7537
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
2021-04-29 01:42:21 -06:00
Trent Nelson
64fcb792c2
remote-wallet: Add helpers for locating remote wallets
2021-04-27 17:54:02 -06:00