mergify[bot]
0ac63e28ea
Cli: some moniker follow-up ( #14981 ) ( #15037 )
...
* Enable monikers in config set
* Fixup websocket compute
(cherry picked from commit 38e2fe8997
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-02-03 09:17:46 +00:00
mergify[bot]
c6c6073e1a
CLI: Surface account query errors ( #15023 )
...
(cherry picked from commit 3abb39c04f
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-02-03 01:51:22 +00:00
mergify[bot]
b06d009885
CLI: Add sigverify results to solana decode-transaction
output (bp #14964 ) ( #15007 )
...
* cli-output: Add option sigverify status to `println_transaction()` output
(cherry picked from commit a2aea0ca33
)
* cli: Add sigverify status to `decode-transaction` output
(cherry picked from commit d547585041
)
* CLI: Modernize `decode-transaction` about message
(cherry picked from commit fddbfe1052
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-02-02 20:26:11 +00:00
Jack May
893cc76472
Buffer authority must match upgrade authority for deploys and upgrades ( #14932 )
2021-01-29 12:43:53 -08:00
mergify[bot]
7c05216e34
cli: Improve reliability of program deploys ( #14902 ) ( #14924 )
...
* cli: Improve reliability of program deploys
* chore: fix clippy
(cherry picked from commit 996a27d475
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-01-29 13:06:15 -07:00
mergify[bot]
79d9c92f9b
Manually camelCase solana program json (bp #14907 ) ( #14909 )
...
* Manually camelCase solana program json (#14907 )
(cherry picked from commit 7e2e0d4a86
)
# Conflicts:
# cli/src/program.rs
# cli/tests/program.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-01-28 22:16:05 +00:00
Michael Vines
ec46f6b91f
cli now supports a custodian for stake authorize operations
...
(cherry picked from commit 119e2c75dd
)
2021-01-26 16:52:09 -08:00
mergify[bot]
ea97d82df2
CLI: Reinstate logging, disabled by default ( #14790 )
...
(cherry picked from commit a44392048d
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-23 04:04:30 +00:00
mergify[bot]
feb27f0add
CLI: Strive for at least one signer (bp #14767 ) ( #14778 )
...
* CLI: Strive for at least one signer
(cherry picked from commit 8f8d593457
)
* CLI: Allow missing pubkey in `--verbose` config output
(cherry picked from commit 90e1778cd2
)
* CLI: Don't scare the users
(cherry picked from commit e9c98f2416
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-22 19:46:17 +00:00
mergify[bot]
6c0d867d87
CLI: Add calculate-rent
subcommand (bp #14725 ) ( #14758 )
...
* cli-output: Genericize `writeln_name_value()`
(cherry picked from commit 2820d0a23d
)
# Conflicts:
# cli-output/src/display.rs
* CLI: Add `calculate-rent` subcommand
(cherry picked from commit 12410541a4
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-22 01:31:07 +00:00
mergify[bot]
2b5ae54d84
Return confirmation-status ( #14709 ) ( #14714 )
...
(cherry picked from commit 0e87572eb0
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-21 03:09:44 +00:00
mergify[bot]
6ae51ec5c3
Default to highest finalized block if no slot provided ( #14701 ) ( #14703 )
...
(cherry picked from commit c64d4f7693
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-20 22:16:20 +00:00
mergify[bot]
ad89be3c85
Cli: promote commitment to a global arg + config.yml (bp #14684 ) ( #14697 )
...
* Cli: promote commitment to a global arg + config.yml (#14684 )
* Make commitment a global arg
* Add commitment to solana/cli/config.yml
* Fixup a couple Display/Verbose bugs
(cherry picked from commit a7086a0f83
)
# Conflicts:
# cli/src/program.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-01-20 19:39:45 +00:00
mergify[bot]
702a353d71
Cli: default to single gossip (bp #14673 ) ( #14675 )
...
* Use singleGossip for program deployment
* Cli: default to single gossip (#14673 )
* Init cli RpcClient with chosen commitment; default to single_gossip
* Fill in missing client methods
* Cli tests: make RpcClient commitment specific
* Simply rpc_client calls, using configured commitment
* Check validator vote account with single-gossip commitment
(cherry picked from commit 4964b0fe61
)
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-20 00:36:20 +00:00
mergify[bot]
2e31f4d8f7
Use optimistic confirmation in getSignatureStatuses, and various downstream client methods (bp #14430 ) ( #14610 )
...
* Use optimistic confirmation in getSignatureStatuses, and various downstream client methods (#14430 )
* Add optimistically_confirmed field to TransactionStatus
* Update docs
* Convert new field to confirmation_status
* Update docs to confirmationStatus
* Update variants
* Update docs
* Just Confirmed
(cherry picked from commit 9a89689ad3
)
# Conflicts:
# tokens/src/commands.rs
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-01-16 04:46:08 +00:00
mergify[bot]
ac86d6ede4
Cli: Implement OutputFormat for some missing subcommands ( #14518 ) ( #14519 )
...
* Implement OutputFormat for solana leader-schedule
* Implement OutputFormat for solana inflation
(cherry picked from commit e4cf845974
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-10 01:27:44 +00:00
mergify[bot]
4470afceaa
Add buffer authority to upgradeable loader (bp #14482 ) ( #14503 )
...
* Add buffer authority to upgradeable loader (#14482 )
(cherry picked from commit 58487c6360
)
* resolve conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2021-01-09 05:13:55 +00:00
mergify[bot]
f05347f549
Introduce rpc url monikers for cli ( #14409 ) ( #14432 )
...
* Introduce rpc url monikers for cli
* Use https:// and support initials as well
(cherry picked from commit 54a5876c48
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-05 12:28:07 +00:00
mergify[bot]
56acbcdf5f
Improve solana catchup ( #14313 ) ( #14423 )
...
* Improve solana catchup
* Overidable port, retry, args error clean up
* print cleanup
* Reduce diff
* Tweak warns a bit
(cherry picked from commit aa4da339ff
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-05 02:53:38 +00:00
mergify[bot]
72c6faff99
Use max commitment when fetching epoch info for block production ( #14402 )
...
(cherry picked from commit 2724f37d0e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-04 05:53:53 +00:00
mergify[bot]
30d7f6fa0b
Rework upgradeable loader cli (bp #14209 ) ( #14337 )
...
* Rework upgradeable loader cli (#14209 )
(cherry picked from commit 3316e7166c
)
# Conflicts:
# cli/src/cli.rs
# cli/tests/program.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-12-30 01:01:19 +00:00
mergify[bot]
db55eead5c
Upgradeable loader (bp #13689 ) ( #14318 )
...
* Upgradeable loader (#13689 )
(cherry picked from commit 9e90394583
)
# Conflicts:
# cli/src/cli.rs
# ledger/src/builtins.rs
# programs/bpf_loader/src/lib.rs
# sdk/src/feature_set.rs
* fix conflits
* fix commitment
* fix local cluster test
Co-authored-by: Jack May <jack@solana.com >
2020-12-29 20:01:17 +00:00
mergify[bot]
97f6e87322
CLI: Support retrieving past leader schedules (bp #14304 ) ( #14311 )
...
* clap-utils: Add epoch validator
(cherry picked from commit a709850ee4
)
* CLI: Support displaying past leader schedules
(cherry picked from commit bd761e2a52
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-12-28 21:33:20 +00:00
mergify[bot]
d4b2b787eb
Improved Transaction Forwarding (bp #13944 ) ( #14194 )
...
* Improved Transaction Forwarding (#13944 )
* Forwarding
* Dedupe leaders
* Use consistent commitment for last_valid_slot in rpc send_transaction
* Plumb rpc send_transaction options into solana-validator
* Extend num slots banking-stage holds forwarded txs
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit da7d1e2302
)
# Conflicts:
# cli/src/cli.rs
# core/src/validator.rs
# validator/src/main.rs
* Fix conflicts
Co-authored-by: sakridge <sakridge@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-12-17 18:13:41 -07:00
mergify[bot]
cb145b9dd5
Correctly show reward percent changes ( #14160 )
...
(cherry picked from commit bebfa6e93c
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-16 18:23:23 +00:00
mergify[bot]
fdb1c5ab06
Add wait for max stake command ( #13532 ) ( #14137 )
...
(cherry picked from commit 598e5f58d5
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-16 01:32:00 +00:00
mergify[bot]
5d07195b7e
stake-account command no longer errors when time goes backwards over an epoch ( #14090 )
...
(cherry picked from commit 52c2cbd630
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-13 05:03:36 +00:00
Ryo Onodera
d58e2f1c68
Don't abort for missing epoch rewards; intead display warn ( #13457 )
2020-12-07 08:30:20 -08:00
mergify[bot]
aeb6ef3969
solana ping: add --blockhash and --print-timestamp ( #13980 ) ( #13984 )
...
* solana ping: add --blockhash and --print-timestamp
* fix typo in hash...
(cherry picked from commit 26df122386
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-07 13:34:43 +00:00
Tyera Eulberg
eb0a448b99
Add credits_observed to verbose and json CliStakeStake prints ( #13926 )
2020-12-02 16:03:04 -07:00
mergify[bot]
fe4c59e38d
Add solana logs
command ( #13812 )
...
(cherry picked from commit 4ef2da0ff0
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-25 22:22:23 +00:00
mergify[bot]
a75898a415
Remove program cap from CLI checks (bp #13617 ) ( #13622 )
...
* Remove program cap from CLI checks (#13617 )
(cherry picked from commit 64a3cf03e2
)
# Conflicts:
# cli/src/cli.rs
* Fix conflict
Co-authored-by: Jack May <jack@solana.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-11-17 05:23:32 +00:00
mergify[bot]
2cb9ca5966
Fix slow/stuck unstaking due to toggling in epoch ( #13501 ) ( #13535 )
...
* 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
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-11 22:27:10 +00:00
mergify[bot]
62db7f6562
Surface transaction logs in rpc client ( #13376 )
...
(cherry picked from commit 6d9ca0ae15
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-04 02:12:46 +00:00
mergify[bot]
2e9b501355
more informative feature error message ( #13373 ) ( #13375 )
...
(cherry picked from commit 04c5e6cc48
)
Co-authored-by: Jack May <jack@solana.com >
2020-11-04 01:35:22 +00:00
mergify[bot]
f2d929c12d
Move Feature struct to solana-program ( #13321 )
...
(cherry picked from commit 4b65e32f22
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-31 20:33:35 +00:00
mergify[bot]
40a3885d3b
Native/builtin programs now receive an InvokeContext (bp #13286 ) ( #13298 )
...
* Native/builtin programs now receive an InvokeContext
(cherry picked from commit df8dab9d2b
)
* Remove MessageProcessor::loaders
(cherry picked from commit 2664a1f7ef
)
* Remove Entrypoint type
(cherry picked from commit 225bed11c7
)
* Remove programs clone()
(cherry picked from commit 33884d847a
)
* Add sol_log_compute_units syscall
(cherry picked from commit 66e51a7363
)
* Add Bank::set_bpf_compute_budget()
(cherry picked from commit 7d686b72a0
)
* Rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-30 07:47:17 +00:00
mergify[bot]
69b3f10207
move Account to solana-sdk (bp #13198 ) ( #13269 )
...
* move Account to solana-sdk (#13198 )
(cherry picked from commit c458d4b213
)
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-29 19:16:52 +00:00
mergify[bot]
8d6636d02a
CLI: Surface deploy transaction errors ( #13170 )
...
(cherry picked from commit a82971879f
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-26 22:43:32 +00:00
mergify[bot]
8cb622084f
Cli: deploy programs via TPU ( #13090 ) ( #13111 )
...
* Deploy: send write transactions to leader tpu
* Less apparent stalling during confirmation
* Add EpochInfo mock
* Only get cluster nodes once
* Send deploy writes to next leader
(cherry picked from commit 16944e218f
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-23 17:29:41 +00:00
mergify[bot]
be2ace47e3
Add deploy err if program-account balance is too high ( #13091 ) ( #13098 )
...
* Add deploy err if program-account balance is too high
* Review comments
* Add system-program check
* Rename and unhide flag
(cherry picked from commit 4669fa0f98
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-23 07:02:16 +00:00
mergify[bot]
a4ad2925a2
Allow nodes to advertise a different rpc address over gossip ( #13053 ) ( #13078 )
...
* Allow nodes to advertise a different rpc address over gossip
* Feedback
(cherry picked from commit 8b0242a5d8
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-10-22 07:06:27 +00:00
mergify[bot]
edfbd8d65a
Add replacements for Pubkey::new_rand()/Hash::new_rand() (bp #12987 ) ( #13076 )
...
* Add pubkey_new_rand(), mark Pubkey::new_rand() deprecated
(cherry picked from commit 0e68ed6a8d
)
* Add hash_new_rand(), mark Hash::new_rand() as deprecated
(cherry picked from commit 76f11c7dae
)
* Run `codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand`
(cherry picked from commit 7bc073defe
)
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
# runtime/benches/accounts.rs
# runtime/src/accounts.rs
* Run `codemod --extensions rs Hash::new_rand solana_sdk:#️⃣ :new_rand`
(cherry picked from commit 17c391121a
)
* Remove unused pubkey::Pubkey imports
(cherry picked from commit 959880db60
)
# Conflicts:
# runtime/src/accounts_index.rs
* Resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-22 05:08:01 +00:00
mergify[bot]
60297951ec
CLI: Print address ephemeral keypair seed phrase to stderr on deploy failure (bp #13046 ) ( #13055 )
...
* CLI: Print address ephemeral keypair seed phrase to stderr on deploy failure
(cherry picked from commit 2905ccc7ec
)
# Conflicts:
# cli/Cargo.toml
* Fix conflicts
Co-authored-by: Trent Nelson <trent@solana.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-10-21 15:29:56 -06:00
mergify[bot]
8752bf0826
Skip 'Stake by Feature Set' output when showing status of a single feature ( #13052 )
...
(cherry picked from commit ad65d4785e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-21 07:14:49 +00:00
Tyera Eulberg
4bf0a54ed7
Revert "CLI: Put deploy
ephemeral keypair behind a flag ( #12942 )" ( #12982 )
...
This reverts commit 8cac6835c0
.
2020-10-19 17:41:10 +00:00
mergify[bot]
2e449276be
Check payer balance for program account rent as needed ( #12952 ) ( #12955 )
...
(cherry picked from commit b6bfed64cb
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-16 19:14:26 +00:00
mergify[bot]
8cac6835c0
CLI: Put deploy
ephemeral keypair behind a flag ( #12942 )
...
(cherry picked from commit 5a5b7f39c1
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-16 16:56:50 +00:00
mergify[bot]
80942841a2
Surface 'Program account allocation failed' error details ( #12904 )
...
(cherry picked from commit eec3d25ab9
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-15 16:22:12 +00:00
mergify[bot]
275d096a46
solana vote-account
/solana stake-account
now works with RPC servers without --enable-rpc-transaction-history
(bp #12826 ) ( #12849 )
...
* Implementation-defined RPC server errors are now accessible to client/ users
(cherry picked from commit 247228ee61
)
* Cleanly handle RPC servers that don't have --enable-rpc-transaction-history enabled
(cherry picked from commit 14d793b22c
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 18:28:15 +00:00