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
Jack May
aa45e81b3e
nit: fix variable names ( #16283 )
2021-03-31 23:18:29 -07:00
Jack May
067b390194
cli cleanup ( #15990 )
2021-03-18 18:29:42 +00:00
Jack May
7f500d610c
Add Close instrruction and tooling to upgradeable loader ( #15887 )
2021-03-17 21:39:29 -07:00
Jack May
e1ceb430e3
cli: improve deploy error reporting ( #15806 )
2021-03-11 13:44:21 -08:00
Jack May
2177e0aff8
cli: add program show for non-upgradeable programs ( #15707 )
2021-03-04 19:42:15 +00: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
Michael Vines
5df36aec7d
Pacify clippy
2021-02-19 20:08:41 -08: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
Justin Starry
f5c564bc6c
cli: Speed up program deploys ( #15347 )
...
* Speed up deploys
* fix test
2021-02-17 09:00:47 +08:00
Jack May
210514b136
Add cli deploy tests ( #15116 )
2021-02-05 09:57:44 -08:00
Jack May
d0118a5c42
Add program deployment docs ( #15075 )
2021-02-04 01:30:50 -08: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
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
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
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
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
Michael Vines
c63e14dd0e
Use singleGossip for program deployment
2021-01-02 07:47:51 -08:00
Jack May
3316e7166c
Rework upgradeable loader cli ( #14209 )
2020-12-21 13:02:53 -08:00