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
Michael Vines
23fe3a86d9
Switch to dirs-next
2020-10-31 18:50:51 +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
Michael Vines
597618846b
Bump version to v1.4.4
2020-10-24 22:10: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
Trent Nelson
53b074aa35
Bump version to 1.4.3
2020-10-23 04:20:28 +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
Trent Nelson
f3c986385f
Bump version to 1.4.2
2020-10-15 20:26:29 +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
Trent Nelson
6e91996606
Bump version to 1.4.1
2020-10-14 03:05:04 +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
mergify[bot]
1986927eb6
Check ELF file for errors before deploy (bp #12741 ) ( #12801 )
...
* Check ELF file for errors before deploy (#12741 )
* Check ELF file for errors before deploy
* Update cli/src/cli.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
* Fix formatting
* Bump solana_rbpf
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 6bbf6a79b7
)
# Conflicts:
# cli/Cargo.toml
* rebase
Co-authored-by: Alexandre Esteves <2335822+alexfmpe@users.noreply.github.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 04:41:51 +00:00
mergify[bot]
ed06e8b85d
Pacify cargo audit
(bp #12797 ) ( #12799 )
...
* Bump reqwest/rayon to get past `cargo audit`
(cherry picked from commit 8a119c1483
)
# Conflicts:
# dos/Cargo.toml
# download-utils/Cargo.toml
# metrics/Cargo.toml
* Switch to tempfile
(cherry picked from commit d3b0f87a49
)
* Rework cargo audit ignores
(cherry picked from commit 2301dcf973
)
* Cargo.lock
(cherry picked from commit 859eb606da
)
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-12 04:29:55 +00:00
mergify[bot]
3fef98fd1e
Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli (bp #12768 ) ( #12790 )
...
* Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli
(cherry picked from commit c5c8da1ac0
)
# Conflicts:
# Cargo.lock
# transaction-status/Cargo.toml
* fix: surface full block rewards type
(cherry picked from commit 1b16790325
)
* resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-10 06:11:42 +00:00
mergify[bot]
1e46a5b147
Fix typo ( #12780 ) ( #12784 )
...
(cherry picked from commit 5800217998
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-10 02:09:09 +00:00
mergify[bot]
83740246fc
Minor variable name cleanup ( #12745 )
...
(cherry picked from commit 3a04026599
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 02:12:28 +00:00
Michael Vines
346890ded3
Display vote/stake account epoch rewards
2020-10-07 17:14:12 -07:00
Trent Nelson
4feead323d
clap-utils: Allow fine-tuning offline args
2020-10-07 23:14:39 +00:00
Michael Vines
9abaf6ec1d
solana stakes
now employs server-side filtering if only one vote account is provided
2020-10-02 17:53:07 -07:00
Tyera Eulberg
19f385db76
Improve solana deploy ( #12621 )
...
* Check program account before attempting to create it
* Use last_valid_slot to timeout status checks
* Include transaction history in RpcClient::get_signature_statuses requests
* Improve solana-deploy send-transactions
* Clippy
* Improve mock deploy test
* Review comments
2020-10-02 13:35:39 -06:00
Michael Vines
978b26a9c5
solana catchup
now retries if the initial RPC connection fails
2020-10-02 12:28:05 -07:00
Michael Vines
42aeead6b4
Add inflation subcommand
2020-10-01 22:57:09 -07:00
Michael Vines
14036ac580
Improve block
command output
2020-10-01 22:56:42 -07:00
Tyera Eulberg
adf06b635b
Enable json output from solana feature status ( #12554 )
2020-09-29 19:26:08 +00:00
Trent Nelson
972619edb4
clap-utils: Allow nonce/offline args to be global
2020-09-29 10:42:49 -06:00
Michael Vines
322dbd894f
feature subcommand: display active stake by feature id when feature activation is not available
2020-09-29 05:10:02 +00:00
Tyera Eulberg
35208c5ee7
Enable commitment arg on solana deploy ( #12532 )
2020-09-28 16:24:38 -06:00
Michael Vines
3a2b8c5e5b
cli review feedback
2020-09-25 11:40:36 -07:00
Michael Vines
93ed0ab2bb
Add feature management commands
2020-09-25 11:40:36 -07:00
Michael Vines
c10da16d7b
Port instructions sysvar and secp256k1 program activation to FeatureSet
2020-09-25 11:40:36 -07:00
Michael Vines
35f5f9fc7b
Add feature set identifier to gossiped version information
2020-09-25 11:40:36 -07:00
Trent Nelson
7cab638297
Factor the rest of CLI offline module out to clap-utils and cli-output crates
2020-09-23 15:58:44 -06:00
Trent Nelson
325a7e9f86
Move CLI cli_output module to its own crate
2020-09-23 15:58:44 -06:00
Trent Nelson
ba353c2b1d
Move CLI blockhash_query module into client crate
2020-09-23 15:58:44 -06:00
Trent Nelson
0c58123b45
Move CLI Signer utils into clap-utils
2020-09-23 15:58:44 -06:00
Trent Nelson
be88e868bd
CLI: Drop unused helper
2020-09-23 15:58:44 -06:00
Trent Nelson
9a60353fa9
CLI: Encapsulate default signer attributes
2020-09-23 15:58:44 -06:00
Trent Nelson
eaf79152b3
CLI: Consolidate sign-only helpers
2020-09-23 15:58:44 -06:00
Trent Nelson
5e34af5a75
return_signers
doesn't need a whole CliConfig
2020-09-23 15:58:44 -06:00
Trent Nelson
89cab47011
Move CLI fee payer arg into clap-utils
2020-09-23 15:58:44 -06:00
Trent Nelson
6cf74d1166
Move CLI offline args to clap-utils
2020-09-23 15:58:44 -06:00