a86a781fd5
CLI: Print address ephemeral keypair seed phrase to stderr on deploy failure (bp #13046 ) ( #13054 )
...
* CLI: Print address ephemeral keypair seed phrase to stderr on deploy failure
(cherry picked from commit 2905ccc7ec
)
# Conflicts:
# cli/Cargo.toml
# cli/src/cli.rs
* Fix conflicts
Co-authored-by: Trent Nelson <trent@solana.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-10-21 21:03:00 +00:00
57d8d0ab6e
Add ledger-tool dead-slots and improve purge a lot ( #13070 )
2020-10-21 18:38:37 +00:00
63fe350900
Port various rent fixes to runtime feature (bp #12842 ) ( #13067 )
...
* Port various rent fixes to runtime feature (#12842 )
* Port various rent fixes to runtime feature
* Fix CI
* Use more consistent naming...
(cherry picked from commit 608b81b412
)
# Conflicts:
# runtime/src/bank.rs
* Fix conflict
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-21 14:47:59 +00:00
b384ce9e03
Skip 'Stake by Feature Set' output when showing status of a single feature ( #13051 )
...
(cherry picked from commit ad65d4785e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-21 07:01:20 +00:00
d81d4ad8a1
Improve vote-account "Recent Timestamp" output ( #12970 )
...
(cherry picked from commit 2cc3d7511a
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-21 05:09:58 +00:00
9ed1d2337b
Parse stake and system instructions (bp #13035 ) ( #13044 )
...
* Parse stake and system instructions (#13035 )
* Fix token account check
* Add helper to check num accounts
* Add parse_stake
* Add parse_system
* Fix AuthorizeNonce docs
* Remove jsonParsed unstable markers
* Clippy
(cherry picked from commit 46d0019955
)
* Fix for older clippy
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-10-21 04:20:02 +00:00
14aaae3485
Support Debug Bank ( #13017 ) ( #13042 )
...
(cherry picked from commit c0675968b1
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-21 02:50:12 +00:00
caac786a38
validator: Activate RPC before halting on slot ( #13001 )
...
(cherry picked from commit 3b3f7341fa
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-20 23:50:11 +00:00
218a76ed1b
Force unset CARGO to use correct version of cargo ( #13027 ) ( #13033 )
...
(cherry picked from commit 81d0c8ae7f
)
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2020-10-20 22:52:06 +00:00
964f05afa8
Fix secp256k1 instruction indexing and add tests ( #13026 ) ( #13031 )
...
(cherry picked from commit 83c53ae4b5
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-10-20 22:24:20 +00:00
a0e2f49263
Remove unsupported metrics tarball from release artifacts
...
(cherry picked from commit 62f20bc170
)
2020-10-20 13:14:46 -07:00
25078d46ba
filters out inactive nodes from push options ( #12674 ) ( #13022 )
...
* filters out inactive nodes from push options
https://github.com/solana-labs/solana/pull/12620
patched the DDOS issue with nodes which go offline:
https://github.com/solana-labs/solana/issues/12409
However, offline nodes still see (much lesser) traffic spike, likely
because no origins are pruned from their bloom filter in active set:
https://github.com/solana-labs/solana/blob/aaf3790d8/core/src/crds_gossip_push.rs#L276-L286
and so multiple nodes push redundant duplicate messages to them
simultaneously:
https://github.com/solana-labs/solana/blob/aaf3790d8/core/src/crds_gossip_push.rs#L254-L255
This commit will filter out inactive peers from potential push targets
entirely. To mitigate eclipse attacks, staked nodes are retried
periodically.
* uses current timestamp in test/crds_gossip
(cherry picked from commit a5c6a78f6d
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-10-20 19:44:52 +00:00
840ea326db
Remove errant print
2020-10-20 08:58:54 -06:00
b9fc31ec95
Parse bpf loader instructions ( #12998 ) ( #13004 )
...
* Add parsing for BpfLoader2 instructions
* Skip info if null
* Return account address in info map
(cherry picked from commit 942e4273ba
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-20 06:21:47 +00:00
9481ee79a8
Ignore more paths in increment-cargo-version.sh ( #12996 )
...
(cherry picked from commit c1c69ecc34
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-19 23:57:11 +00:00
dddd0b76f1
removes invalid/outdated pending push messages early ( #12555 ) ( #12992 )
...
In CrdsGossipPush::new_push_messages:
https://github.com/solana-labs/solana/blob/972619edb/core/src/crds_gossip_push.rs#L211-L228
we already have paid the cost of looking-up the label in crds table and
checking the hash value and wallclock only to find out that in some
cases the value is invalid or is outdated. So might as well remove the
value here rather than wait for the next call to
purge_old_pending_push_messages:
https://github.com/solana-labs/solana/blob/972619edb/core/src/crds_gossip_push.rs#L372
(cherry picked from commit b5faa11f73
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-10-19 22:02:18 +00:00
7674a5fea8
Bump version to v1.3.19 ( #12986 )
2020-10-19 19:13:28 +00:00
78be777b65
Revert "CLI: Put deploy
ephemeral keypair behind a flag ( #12941 )" ( #12981 )
...
This reverts commit c2806aa2f9
.
v1.3.18
2020-10-19 17:31:33 +00:00
9b5c10a6aa
Mention monitoring and updating for exchanges ( #12953 ) ( #12960 )
...
* Mention monitoring and updating for exchanges
* Fix link syntax...
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* More review comments and word-wrapping
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
(cherry picked from commit 87311cce7f
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-17 09:50:51 +00:00
8714c14549
keygen: add more mnemonic language support ( #12944 ) ( #12956 )
...
(cherry picked from commit 4451042c76
)
Co-authored-by: guanqun <guanqun.lu@gmail.com >
2020-10-17 04:01:22 +00:00
1982a7a8e3
Check payer balance for program account rent as needed ( #12952 ) ( #12954 )
...
(cherry picked from commit b6bfed64cb
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-16 19:11:13 +00:00
c2806aa2f9
CLI: Put deploy
ephemeral keypair behind a flag ( #12941 )
...
(cherry picked from commit 5a5b7f39c1
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-16 06:09:40 +00:00
e6521ef44c
Report compute budget usage ( #12931 ) ( #12933 )
...
(cherry picked from commit b510474dcb
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-16 00:19:18 +00:00
03ab8fac29
Update get-block method in get_confirmed_transaction ( #12923 ) ( #12929 )
...
* Update get-block method in get_confirmed_transaction
* Remove superfluous into()
(cherry picked from commit 42943ab86d
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-15 21:33:38 +00:00
644304d171
Support arbitrary toolchains with cargo wrapper script ( #12925 )
...
(cherry picked from commit 99aecdaf65
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-15 20:15:29 +00:00
782ed192b6
program log pubkey as base58 (bp #12901 ) ( #12910 )
...
* program log pubkey as base58 (#12901 )
(cherry picked from commit 3f9e6a600b
)
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
# programs/bpf/c/src/tuner/tuner.c
# programs/bpf_loader/src/syscalls.rs
# runtime/src/process_instruction.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-15 19:21:27 +00:00
0da2f73eb4
Release: Use pinned cargo version to install spl-token-cli ( #12915 )
...
(cherry picked from commit bb2f0df9e1
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-15 17:55:15 +00:00
a3fdfea674
RPC: Add metrics for TX encoding ( #12879 )
...
(cherry picked from commit c26512255d
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-15 15:41:13 +00:00
43121a56eb
Surface 'Program account allocation failed' error details ( #12902 )
...
(cherry picked from commit eec3d25ab9
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-15 10:25:26 +00:00
2c0b4f3b4f
Respect RefCell when calling invoke ( #12858 ) ( #12890 )
...
* Respect RefCell when calling invoke
* nudge
(cherry picked from commit 969f7b015b
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-15 02:24:51 +00:00
db30316bb3
Release: Include SPL Token in release tarballs ( #12888 )
...
(cherry picked from commit f70762913c
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-15 01:32:29 +00:00
73e4d9d623
Don't report RewardType::Fee when none was awarded ( #12876 )
...
(cherry picked from commit 4b04ed86b6
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-14 17:36:17 +00:00
46b864dcb0
Expose program error constants ( #12861 ) ( #12870 )
...
(cherry picked from commit d4e953277e
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-14 08:48:45 +00:00
4f2e60fea4
Add nop feature set for upcoming ported rent fixes (bp #12841 ) ( #12846 )
...
* Add nop feature set for upcoming ported rent fixes (#12841 )
(cherry picked from commit 7de7efe96c
)
# Conflicts:
# runtime/src/feature_set.rs
* Update feature_set.rs
* Add missing comma...
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-14 04:47:07 +00:00
7ce9beacb6
Add log_messages to proto file ( #12859 ) ( #12862 )
...
(cherry picked from commit 67ed44c007
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-14 01:37:42 +00:00
9dab79274b
terminology update, nonce to bump seed (bp #12840 ) ( #12850 )
...
* terminology update, nonce to bump seed (#12840 )
(cherry picked from commit 56211378d3
)
# Conflicts:
# sdk/src/pubkey.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-13 19:24:30 +00:00
df8b07ddbd
solana vote-account
/solana stake-account
now works with RPC servers without --enable-rpc-transaction-history
(bp #12826 ) ( #12848 )
...
* 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:14:45 +00:00
762423c9a9
Add transaction log messages to |solana confirm -v| output ( #12835 )
...
(cherry picked from commit e9dbbdeb81
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 07:10:03 +00:00
689aa4d44f
Check ELF file for errors before deploy (bp #12741 ) ( #12800 )
...
* 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:
# Cargo.lock
# cli/Cargo.toml
# cli/src/cli.rs
* rebase
Co-authored-by: Alexandre Esteves <2335822+alexfmpe@users.noreply.github.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 05:12:33 +00:00
cff1496e94
Add docs on vote account key rotation (bp #12815 ) ( #12830 )
...
* Add docs on vote account key rotation
(cherry picked from commit 253114ca20
)
* Update docs/src/running-validator/vote-accounts.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
(cherry picked from commit d83027c0cd
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-13 04:21:16 +00:00
d1c51950f3
Bump version to v1.3.18
2020-10-13 03:57:13 +00:00
774a12e7b9
CI: Fix crate publication ( #12824 )
...
(cherry picked from commit c38021502e
)
Co-authored-by: Trent Nelson <trent@solana.com >
v1.3.17
2020-10-12 23:19:31 +00:00
85e8926d81
fix native_loader behavior for invalid accounts ( #12814 ) ( #12818 )
...
(cherry picked from commit c24da1ee16
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-12 22:09:55 +00:00
a2be9c647f
Use latest stable channel release if there's no beta release ( #12822 )
...
(cherry picked from commit 65213a1782
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-12 22:03:05 +00:00
744006fe78
RpcClient: Encode TXs as base64 by default ( #12816 )
...
(cherry picked from commit efbe37ba20
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-12 21:56:13 +00:00
edf59cccd8
Fix fee mismatch on snapshot deserialize ( #12697 ) ( #12753 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit c879e7c1ad
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-10-12 11:34:13 +00:00
9c72bf871f
Move no-0-rent rent dist. behavior under feature ( #12804 ) ( #12810 )
...
(cherry picked from commit 2f5bb7e507
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-12 10:42:01 +00:00
033c87e3f1
simulate_transaction_with_config() now passes full config to server ( #12802 )
...
(cherry picked from commit b3c2752bb0
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-12 06:13:55 +00:00
d35d853e57
Cargo.lock
2020-10-12 04:21:26 +00:00
03317f6bf7
Switch to tempfile
2020-10-12 04:21:26 +00:00