Michael Vines
02b81dd05d
Update to reqwest 0.11.2
2021-03-18 11:59:41 -07:00
Jack May
067b390194
cli cleanup ( #15990 )
2021-03-18 18:29:42 +00:00
Tyera Eulberg
aa54c468ea
rpc: Add config options limiting getConfirmedBlock response data ( #15970 )
...
* Add new confirmed block struct
* Add RpcConfirmedBlockConfig options
* Configure block response based on new options
* Add client api, use in cli fetch_epoch_rewards
* Update docs
* Apply review suggestions
2021-03-18 17:58:20 +00:00
Tyera Eulberg
ba33c9e18e
Avoid panic when validator doesn't have performance samples ( #15976 )
2021-03-18 02:00:02 -06:00
Jack May
7f500d610c
Add Close instrruction and tooling to upgradeable loader ( #15887 )
2021-03-17 21:39:29 -07:00
Trent Nelson
672e9c640f
CLI: Support dumping the TX message in sign-only mode
2021-03-16 19:20:54 -06:00
Tyera Eulberg
3726358f51
Cli: better estimate of epoch time elapsed/remaining ( #15893 )
...
* Add rpc_client api for getRecentPerformanceSamples
* Prep fn for variable avg slot time
* Use recent-perf-samples to more-accurately estimate epoch completed times
* Spell out average
2021-03-16 08:35:27 +00:00
Michael Vines
a2eb655322
=1.7.0
2021-03-16 07:51:07 +00:00
Ryo Onodera
74aa32175b
Show flags for accounts in tx by solana confirm ( #15804 )
...
* Show flags for accounts in tx by solana confirm
* Address review comments
* Improve comment a bit
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Further apply review suggestions
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-03-16 14:44:48 +09:00
Michael Vines
0c9ca5522c
Bump version to v1.7.0
2021-03-13 09:01:21 +00:00
Jack May
e1ceb430e3
cli: improve deploy error reporting ( #15806 )
2021-03-11 13:44:21 -08:00
DimAn
c078e01fa9
add catchup average speed and remaining time ( #15608 )
...
* add catchup average speed and remaining time
* code style and improve average time remaining calculation
* code style
* remove instant time remaining
* negative speed perceives better
* Some little improves and comments of catchup avg and eta
* format code of catchup avg and eta
* fix copy-paste error
2021-03-11 23:59:33 +09:00
Trent Nelson
24d18b3cf2
docs: add docs links for crates published to crates.io
2021-03-11 08:38:18 +00:00
Jeff Washington (jwash)
8a3135d17b
Account->AccountSharedData ( #15691 )
2021-03-09 15:06:07 -06:00
Jack May
2177e0aff8
cli: add program show for non-upgradeable programs ( #15707 )
2021-03-04 19:42:15 +00:00
Jack May
b20bf8ebb0
improve cli insufficient funds error messages
2021-03-02 20:07:34 -08:00
Jack May
d73af9c1dd
cli: don't overallocate upgradeable buffer accounts ( #15603 )
2021-03-02 00:45:53 -08:00
Jack May
fbb1012584
cli: dump non-upgradeable programs ( #15598 )
2021-03-01 18:11:45 -08:00
Trent Nelson
21e08b5b2c
CLI: Support querying fees by blockhash
2021-02-27 12:45:14 -07:00
Trent Nelson
ebd56f7ff4
cli-output: Minor refactor of CliFees
2021-02-27 12:45:14 -07:00
Tyera Eulberg
d521dfe63c
Implement OutputFormat for confirm in Cli and ledger-tool bigtable ( #15528 )
...
* Add CliTransaction struct
* Impl DisplayFormat for decode-transaction
* Add block-time to transaction println, writeln
* Impl DisplayFormat for confirm
* Use DisplayFormat in ledger-tool bigtable confirm
2021-02-25 14:15:52 -07:00
Tyera Eulberg
d5f235d997
Implement OutputFormat for block in Cli and ledger-tool bigtable ( #15524 )
...
* Impl DisplayFormat for solana block
* Use DisplayFormat in ledger-tool bigtable block
2021-02-24 16:14:34 -07:00
Michael Vines
879370a020
Improve help for split-stake-account
2021-02-22 12:49:23 -08:00
Michael Vines
f7c0b69fd4
Fix solana feature status stake % overflow
2021-02-22 11:49:27 -08:00
Michael Vines
5df36aec7d
Pacify clippy
2021-02-19 20:08:41 -08:00
Trent Nelson
700685c223
CLI: Add hidden support for `SystemInstruction::TransferWithSeed`
2021-02-19 23:20:40 +00:00
Trent Nelson
16e0a4b412
CLI: Make derived address seed.len() check a clap validator
2021-02-19 23:20:40 +00:00
Trent Nelson
84e7ba0b3f
CLI: Factor out ProgramId moniker resolution
2021-02-19 23:20:40 +00:00
Jack May
4648439f5c
cli: improve deploy resume interface ( #15418 )
...
* cli: improve deploy resume interface
* add docs
2021-02-19 11:06:05 -08:00
Tyera Eulberg
4e84869c8e
Send program deploy txs to up to 2 leaders ( #15421 )
2021-02-18 20:14:48 -07:00
Jack May
02432a548f
Cleanup old features ( #15391 )
2021-02-18 09:56:11 -08:00
Trent Nelson
7f7370c306
Re-allow clippy::integer_arithmetic at crate-level
2021-02-17 13:55:08 -07:00
Justin Starry
f5c564bc6c
cli: Speed up program deploys ( #15347 )
...
* Speed up deploys
* fix test
2021-02-17 09:00:47 +08:00
Alexander Meißner
b43d2bc882
rbpf-v0.2.5 ( #15334 )
2021-02-15 18:27:41 +01:00
HowJMay
9c7b3dc1b5
style: Fix the typos
2021-02-13 12:34:21 -07:00
Jack May
88f22c360b
Sortable feature status list ( #15150 )
2021-02-08 12:08:29 -08:00
Jack May
210514b136
Add cli deploy tests ( #15116 )
2021-02-05 09:57:44 -08:00
Ryo Onodera
c69027e5aa
chore: bump serde from 1.0.118 to 1.0.122 ( #15126 )
...
* chore: bump serde from 1.0.118 to 1.0.122
* Update programs/bpf/Cargo.lock
2021-02-05 19:23:24 +09:00
Jack May
a52a241852
nit: cleanup feature status display ( #15113 )
...
* nit: cleanup feature status display
* nudge
2021-02-04 20:23:01 -08:00
Jack May
d0118a5c42
Add program deployment docs ( #15075 )
2021-02-04 01:30:50 -08:00
Michael Vines
971c222cf7
`transaction-history -v` now shows the transaction timestamp if available
2021-02-03 08:17:58 -08:00
Tyera Eulberg
38e2fe8997
Cli: some moniker follow-up ( #14981 )
...
* Enable monikers in config set
* Fixup websocket compute
2021-02-03 00:33:02 -07:00
Jack May
9c6d899efb
cli: add command to dump the upgradeable program to a file ( #15029 )
2021-02-02 22:33:03 -08:00
Jack May
a1b9e00c14
cli: Don't overallocate upgradeable program if --final specified ( #15011 )
2021-02-02 17:20:42 -08:00
Trent Nelson
3abb39c04f
CLI: Surface account query errors
2021-02-02 17:25:11 -07:00
Jack May
6cf6ef3a32
cli: add query command to solana program ( #15017 )
2021-02-02 15:36:02 -08:00
Jack May
7831428e82
Allow passing buffer by keypair to cli program deploy ( #15010 )
2021-02-02 13:35:37 -08:00
Trent Nelson
fddbfe1052
CLI: Modernize `decode-transaction` about message
2021-02-02 18:44:22 +00:00
Trent Nelson
d547585041
cli: Add sigverify status to `decode-transaction` output
2021-02-02 18:44:22 +00:00
Trent Nelson
a2aea0ca33
cli-output: Add option sigverify status to `println_transaction()` output
2021-02-02 18:44:22 +00:00
dependabot[bot]
1df93fa2be
chore: bump serde from 1.0.112 to 1.0.118 ( #14828 )
...
* chore: bump serde from 1.0.112 to 1.0.122
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.112 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.122 )
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
* Update frozen_abi digest following serde update
* Revert "chore: bump serde from 1.0.112 to 1.0.122"
This reverts commit a3ef4442a4c985144ae2bd7ceaf8899a7ab8d7c0.
* Revert "[auto-commit] Update all Cargo lock files"
This reverts commit c41c3b005fb1ccade55155302c52cd5736c4b55f.
* chore: bump serde from 1.0.112 to 1.0.118
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.112 to 1.0.118.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.118 )
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
* Remove serum-dex pinning
* blind commit!
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: Ryo Onodera <ryoqun@gmail.com>
2021-02-02 23:28:16 +09:00
Tyera Eulberg
52f0de3207
Impl OutputFormat for solana program ( #14911 )
2021-02-01 10:39:37 -07:00
Tyera Eulberg
af04a265dd
Manually camelCase solana program json ( #14907 ) ( #14936 )
2021-01-29 22:52:26 +00:00
Jack May
07cef5a557
Buffer authority must match upgrade authority for deploys and upgrades ( #14923 )
2021-01-29 12:43:42 -08:00
Justin Starry
996a27d475
cli: Improve reliability of program deploys ( #14902 )
...
* cli: Improve reliability of program deploys
* chore: fix clippy
2021-01-29 15:15:22 +08:00
Michael Vines
8993ac0c74
Surface faucet start failures to the user of solana-test-validator
2021-01-28 22:35:58 +00:00
Alexander Meißner
7686b70381
Bumps RBPF to v0.2.4 ( #14865 )
2021-01-26 14:45:03 -08:00
Michael Vines
119e2c75dd
cli now supports a custodian for stake authorize operations
2021-01-26 11:48:28 -08:00
Tyera Eulberg
ffa5c7dcc8
Deprecate commitment variants ( #14797 )
...
* Deprecate commitment variants
* Add new CommitmentConfig builders
* Add helpers to avoid allowing deprecated variants
* Remove deprecated transaction-status code
* Include new commitment variants in runtime commitment; allow deprecated as long as old variants persist
* Remove deprecated banks code
* Remove deprecated variants in core; allow deprecated in rpc/rpc-subscriptions for now
* Heavier hand with rpc/rpc-subscription commitment
* Remove deprecated variants from local-cluster
* Remove deprecated variants from various tools
* Remove deprecated variants from validator
* Update docs
* Remove deprecated client code
* Add new variants to cli; remove deprecated variants as possible
* Don't send new commitment variants to old clusters
* Retain deprecated method in test_validator_saves_tower
* Fix clippy matches! suggestion for BPF solana-sdk legacy compile test
* Refactor node version check to handle commitment variants and transaction encoding
* Hide deprecated variants from cli help
* Add cli App comments
2021-01-26 19:23:07 +00:00
Trent Nelson
a44392048d
CLI: Reinstate logging, disabled by default
2021-01-23 02:41:40 +00:00
Michael Vines
c3548f790c
Add ability to force feature activation without code modification
2021-01-22 21:26:00 +00:00
Trent Nelson
e9c98f2416
CLI: Don't scare the users
2021-01-22 11:16:27 -07:00
Trent Nelson
90e1778cd2
CLI: Allow missing pubkey in `--verbose` config output
2021-01-22 11:16:27 -07:00
Trent Nelson
8f8d593457
CLI: Strive for at least one signer
2021-01-22 11:16:27 -07:00
Trent Nelson
12410541a4
CLI: Add `calculate-rent` subcommand
2021-01-21 15:45:05 -07:00
Tyera Eulberg
0e87572eb0
Return confirmation-status ( #14709 )
2021-01-20 18:32:48 -07:00
Tyera Eulberg
c64d4f7693
Default to highest finalized block if no slot provided ( #14701 )
2021-01-20 13:51:57 -07:00
Tyera Eulberg
a7086a0f83
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
2021-01-20 09:48:10 -07:00
Tyera Eulberg
4964b0fe61
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
2021-01-19 15:33:03 -07:00
Jack May
97f499ce12
Fix cli error message ( #14619 )
2021-01-15 15:53:30 -08:00
Tyera Eulberg
9a89689ad3
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
2021-01-15 16:05:05 +00:00
Alexander Meißner
0d26cb6d37
Bump RBPF version to v0.2.3
2021-01-11 21:29:00 -08:00
Tyera Eulberg
e4cf845974
Cli: Implement OutputFormat for some missing subcommands ( #14518 )
...
* Implement OutputFormat for solana leader-schedule
* Implement OutputFormat for solana inflation
2021-01-10 00:02:22 +00:00
Jack May
638f225dc4
Add cli command to query upgradeable account authorities ( #14491 )
2021-01-08 14:43:36 -08:00
Jack May
58487c6360
Add buffer authority to upgradeable loader ( #14482 )
2021-01-08 09:37:57 -08:00
Jeff Washington (jwash)
938d482135
consolidate constants related to time for future refactoring ( #14440 )
2021-01-07 09:49:24 -06:00
Ryo Onodera
54a5876c48
Introduce rpc url monikers for cli ( #14409 )
...
* Introduce rpc url monikers for cli
* Use https:// and support initials as well
2021-01-05 20:00:55 +09:00
Ryo Onodera
aa4da339ff
Improve solana catchup ( #14313 )
...
* Improve solana catchup
* Overidable port, retry, args error clean up
* print cleanup
* Reduce diff
* Tweak warns a bit
2021-01-05 10:10:27 +09:00
Michael Vines
2724f37d0e
Use max commitment when fetching epoch info for block production
2021-01-04 04:33:39 +00:00
Michael Vines
c63e14dd0e
Use singleGossip for program deployment
2021-01-02 07:47:51 -08:00
Trent Nelson
bd761e2a52
CLI: Support displaying past leader schedules
2020-12-28 20:03:48 +00:00
Jack May
3316e7166c
Rework upgradeable loader cli ( #14209 )
2020-12-21 13:02:53 -08:00
sakridge
da7d1e2302
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>
2020-12-17 15:37:22 -07:00
Ryo Onodera
bebfa6e93c
Correctly show reward percent changes
2020-12-16 08:51:41 -08:00
Michael Vines
db4ac17259
Switch `solana deploy` commitment default from "max" to "singleGossip"
2020-12-15 19:18:10 -08:00
Michael Vines
1e977ac025
Bump version to v1.6.0
2020-12-15 18:28:04 +00:00
Jack May
9e90394583
Upgradeable loader ( #13689 )
2020-12-14 15:35:10 -08:00
Michael Vines
7143aaa89b
Clippy
2020-12-14 08:03:29 -08:00
Michael Vines
cdd3e7d856
Remove solana-vote-signer ( #14099 )
2020-12-13 19:12:20 -08:00
dependabot[bot]
88d950e5a8
chore: bump log from 0.4.8 to 0.4.11 ( #13691 )
...
* chore: bump log from 0.4.8 to 0.4.11
Bumps [log](https://github.com/rust-lang/log ) from 0.4.8 to 0.4.11.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.8...0.4.11 )
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>
2020-12-13 13:48:23 +09:00
Michael Vines
52c2cbd630
stake-account command no longer errors when time goes backwards over an epoch
2020-12-12 03:31:09 +00:00
Michael Vines
bbad3fe501
TestValidator now implements Drop, no need to close() it
2020-12-11 04:17:38 +00:00
Michael Vines
0a9ff1dc9d
Initial solana-test-validator command-line program
2020-12-11 04:17:38 +00:00
Alexander Meißner
201637b326
Updates rbpf to v0.2.2 ( #14036 )
...
* Updates rbpf to v0.2.2
2020-12-10 16:32:54 +01:00
Ryo Onodera
26df122386
solana ping: add --blockhash and --print-timestamp ( #13980 )
...
* solana ping: add --blockhash and --print-timestamp
* fix typo in hash...
2020-12-07 21:10:50 +09:00
Tyera Eulberg
a877f347f4
Cli: output stake account credits-observed for verbose/json ( #13923 )
...
* Add credits_observed to verbose and json CliStakeStake prints
* Review comments
2020-12-02 22:02:52 +00:00
Michael Vines
43b82b31e5
More TestValidator cleanup
2020-11-26 08:56:25 +00:00
Michael Vines
b5f7e39be8
TestValidator public interface cleanup
2020-11-25 17:04:37 -08:00
Michael Vines
4ef2da0ff0
Add `solana logs` command
2020-11-25 11:44:41 -08:00
Alexander Meißner
c833ede4af
Rbpf v0.2.1 ( #13732 )
...
* Refactoring to match rbpf-v0.2.1 and add JIT compilation caching.
* Removes obsolete bpf-trace.py which has been replaced by the rbpf CLI tool.
2020-11-24 18:00:19 +01:00