Trent Nelson
b8306a99d8
Bump version to v1.8.8 ( #21609 )
2021-12-04 10:00:35 -07:00
Michael Vines
139d15cd84
Reformat imports to a consistent style for imports
...
rustfmt.toml configuration:
imports_granularity = "One"
group_imports = "One"
2021-12-03 09:41:09 -08:00
Michael Vines
008139f506
Bump version to v1.8.7
2021-12-01 11:44:18 -08:00
mergify[bot]
42a67d30fc
spl-token: New program feature flag (backport #21354 ) ( #21376 )
...
* spl-token: New program feature flag (#21354 )
* spl-token: Add feature flag for new release
* Remove all spl token version declarations
(cherry picked from commit 02bc4e3fc1
)
# Conflicts:
# account-decoder/Cargo.toml
# accounts-cluster-bench/Cargo.toml
# accounts-cluster-bench/src/main.rs
# rpc/Cargo.toml
# rpc/src/rpc.rs
# runtime/src/accounts_index.rs
# runtime/src/bank.rs
# runtime/src/lib.rs
# sdk/src/feature_set.rs
# tokens/Cargo.toml
# tokens/src/spl_token.rs
# transaction-status/Cargo.toml
* Fix merge issues
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-11-21 16:00:58 +00:00
Tyera Eulberg
336ee01aae
Bump version to v1.8.6 ( #21329 )
2021-11-17 17:16:20 -07:00
sakridge
80c3591391
Bump version to 1.8.5 ( #21295 )
2021-11-16 11:58:57 -07:00
Tyera Eulberg
09ef4d12f7
Bump version to 1.8.4 ( #21232 ) ( #21235 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2021-11-10 15:20:41 -07:00
Tyera Eulberg
74684a107c
Revert "Bump version to 1.8.4 ( #21232 )"
...
This reverts commit 19b3ba0442
.
2021-11-10 11:19:39 -07:00
sakridge
19b3ba0442
Bump version to 1.8.4 ( #21232 )
2021-11-10 16:38:44 +01:00
Tyera Eulberg
8dd3c1ece1
Bump version to v1.8.3 ( #21040 )
2021-10-28 11:17:11 -06:00
Trent Nelson
23b6ce7980
Bump version to 1.8.2
2021-10-21 00:43:40 -06:00
Tao Zhu
348ba57b12
Bump version to 1.8.1
2021-10-06 17:57:06 -07:00
Trent Nelson
a4df784e82
Bump version to 1.8.0
2021-10-06 15:48:23 -06:00
Tyera Eulberg
734b380cdb
Bump version to v1.7.15 ( #20338 )
2021-09-30 10:51:34 -06:00
sakridge
fec15f69f4
Increment 1.7 version ( #20316 )
2021-09-29 15:37:45 -04:00
sakridge
70d556782b
Bump 1.7 version ( #19943 )
2021-09-16 13:16:09 -06:00
Tyera Eulberg
f73a61d2ec
Bump version to 1.7.12
2021-08-27 16:24:24 +00:00
Trent Nelson
ab5d032634
Bump version to v1.7.11
2021-08-12 06:55:18 +00:00
mergify[bot]
c9f763ea6e
Use last_valid_block_height in services and client apps (backport #19163 ) ( #19171 )
...
* Use last_valid_block_height in services and client apps (#19163 )
* Add deprecated tag to Bank::get_blockhash_last_valid_slot
* Update SendTransactionService to use last_valid_block_height
* Update solana-tokens to use last_valid_block_height
* Remove dangling file
* Update solana program to use last_valid_block_height
* Update Banks crates to use last_valid_block_height
(cherry picked from commit 5970083b4d
)
# Conflicts:
# cli/src/program.rs
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-08-11 09:07:53 +00:00
Trent Nelson
b7f1f19d8e
Bump version to v1.7.10
2021-07-31 01:19:33 -06:00
mergify[bot]
eacc69efba
adds validator flag to allow private ip addresses (backport #18850 ) ( #18975 )
...
* adds validator flag to allow private ip addresses (#18850 )
(cherry picked from commit d2d5f36a3c
)
# Conflicts:
# accounts-cluster-bench/Cargo.toml
# bench-tps/Cargo.toml
# cli/Cargo.toml
# core/benches/cluster_info.rs
# core/src/banking_stage.rs
# core/src/broadcast_stage.rs
# core/src/broadcast_stage/broadcast_duplicates_run.rs
# core/src/broadcast_stage/fail_entry_verification_broadcast_run.rs
# core/src/broadcast_stage/standard_broadcast_run.rs
# core/src/cluster_slots_service.rs
# core/src/repair_service.rs
# core/src/tvu.rs
# core/src/validator.rs
# dos/Cargo.toml
# gossip/src/cluster_info.rs
# gossip/src/crds_gossip_pull.rs
# gossip/src/crds_gossip_push.rs
# gossip/src/gossip_service.rs
# local-cluster/Cargo.toml
# local-cluster/src/cluster_tests.rs
# local-cluster/tests/local_cluster.rs
# rpc/Cargo.toml
# rpc/src/rpc.rs
# tokens/Cargo.toml
# validator/Cargo.toml
# validator/src/main.rs
* removes backport merge conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-07-29 21:43:24 +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
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
Trent Nelson
4466aa39c4
Bump version to v1.7.5
2021-06-30 22:55:01 -06:00
Trent Nelson
597429ab3e
Bump version to v1.7.4
2021-06-22 19:57:34 +00:00
mergify[bot]
0e7512a225
Fix Nightly Clippy Warnings (backport #18065 ) ( #18070 )
...
* chore: cargo +nightly clippy --fix -Z unstable-options
(cherry picked from commit 6514096a67
)
# Conflicts:
# core/src/banking_stage.rs
# core/src/cost_model.rs
# core/src/cost_tracker.rs
# core/src/execute_cost_table.rs
# core/src/replay_stage.rs
# core/src/tvu.rs
# ledger-tool/src/main.rs
# programs/bpf_loader/build.rs
# rbpf-cli/src/main.rs
# sdk/cargo-build-bpf/src/main.rs
# sdk/cargo-test-bpf/src/main.rs
# sdk/src/secp256k1_instruction.rs
* chore: cargo fmt
(cherry picked from commit 789f33e8db
)
* Updates BPF program assert_instruction_count tests.
(cherry picked from commit c1e03f3410
)
# Conflicts:
# programs/bpf/tests/programs.rs
* Resolve conflicts
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-06-18 20:02:48 +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]
e5ea16fad8
system-program: Remove zero lamport check on transfers ( #17726 ) ( #17764 )
...
* 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
)
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-06-06 18:27:29 +00:00
Michael Vines
975c942ea7
Bump version to v1.7.1
2021-06-02 05:21:14 +00:00
mergify[bot]
dc258cebab
Add create-stake command to solana-tokens CLI ( #17550 ) ( #17649 )
...
* Add create-stake command to solana-tokens CLI
* Add --unlocked-sol arg
Thanks @CriesofCarrots!
(cherry picked from commit 1b7f8777d6
)
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2021-06-02 01:16:48 +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
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
Josh Hundley
7be3171f4a
fix: update devnet and testnet urls
2021-05-14 16:20:39 -06:00
Michael Vines
a911ae00ba
clippy
2021-04-18 20:55:02 -07:00
Tyera Eulberg
7dfb51c0b4
Cli: move airdrop to rpc requests ( #16557 )
...
* Add recent_blockhash to requestAirdrop
* Move tx confirmation to separate method
* Add RpcClient airdrop methods
* Request cli airdrop via RpcClient
* Pass optional faucet_addr into TestValidator and fix tests
* Update client/src/rpc_client.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-04-15 06:25:23 +00:00
François Garillot
b08cff9e77
Simplify some pattern-matches ( #16402 )
...
When those match an exact combinator on Option / Result.
Tool-aided by [comby-rust](https://github.com/huitseeker/comby-rust ).
2021-04-08 12:40:37 -06:00
Michael Vines
a2eb655322
=1.7.0
2021-03-16 07:51:07 +00:00
Michael Vines
0c9ca5522c
Bump version to v1.7.0
2021-03-13 09:01:21 +00:00
Trent Nelson
24d18b3cf2
docs: add docs links for crates published to crates.io
2021-03-11 08:38:18 +00:00
Tyera Eulberg
19ac79b5cc
Deprecate UiTokenAmount::ui_amount ( #15616 )
...
* Add TokenAmount::ui_amount_string
* Fixup solana-tokens
* Update docs
2021-03-02 22:51:41 -07:00
Tyera Eulberg
1ad2c9f741
Revert "Make UiTokenAmount::ui_amount a String ( #15447 )" ( #15542 )
...
This reverts commit d14374bc9f
.
2021-02-25 21:53:40 +00:00
Tyera Eulberg
d14374bc9f
Make UiTokenAmount::ui_amount a String ( #15447 )
...
* Make UiTokenAmount::ui_amount a String
* Fixup solana-tokens
* Ignore spl downstream-project
2021-02-22 13:05:45 -07:00
Justin Starry
15bbe6436d
Bump SPL token version to v3.1.0 ( #15429 )
...
* Bump SPL token version to v3.1.0
* Cargo.lock
2021-02-19 09:15:41 +00:00
Trent Nelson
7f7370c306
Re-allow clippy::integer_arithmetic at crate-level
2021-02-17 13:55:08 -07:00