ad5ef9cc48
Account for forward delay in transaction simulation ( #13199 ) ( #13200 )
...
(cherry picked from commit 631f029fe9
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-10-27 18:34:41 +00:00
cf1c7c8c00
macos portable rust-bpf ( #13176 ) ( #13186 )
...
(cherry picked from commit fc83a666fc
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-27 04:45:41 +00:00
a28fb586b0
Add SSH key for buildkite-agent on achille ( #13182 )
...
(cherry picked from commit ff4b34202c
)
# Conflicts:
# net/scripts/solana-user-authorized_keys.sh
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-27 04:25:53 +00:00
5737ea448e
CLI: Surface deploy transaction errors ( #13169 )
...
(cherry picked from commit a82971879f
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-26 22:26:02 +00:00
e54a537015
update call depth docs ( #13155 ) ( #13161 )
...
(cherry picked from commit 35f77ccc73
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-26 19:45:02 +00:00
39eae50024
implements DataBudget using atomics ( #12856 ) ( #13157 )
...
(cherry picked from commit 05cf15a382
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-10-26 18:27:45 +00:00
736e5c3ec7
Fix BigTable reward type encoding (bp #13142 ) ( #13146 )
...
* Fix reward type encoding
(cherry picked from commit 0a89bb4d3c
)
* Don't reuse BPF target build artifacts
(cherry picked from commit 41a56e14fc
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-26 08:18:05 +00:00
f8e310d99d
Hide noisy specialization warnings for frozen abi ( #13141 ) ( #13143 )
...
(cherry picked from commit 5caf81dbf8
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-26 05:11:12 +00:00
fd7bcfdb4d
add precompile verification to simulate_transaction ( #13080 ) ( #13125 )
...
(cherry picked from commit 766406fd23
)
Co-authored-by: Josh <josh.hundley@gmail.com >
2020-10-24 04:57:12 +00:00
e553c8bb45
Clean up opt conf verifier and vote state tracker ( #13081 ) ( #13123 )
...
* Clean up opt conf verifier and vote state tracker
* Update test to follow new message and some knob
* Rename
(cherry picked from commit 0264147d42
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-24 02:39:33 +00:00
1c5f8f51ee
Shorten magic install URL ( #13121 )
...
(cherry picked from commit b5170b993e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-23 23:20:03 +00:00
5084871e27
Cli: deploy programs via TPU ( #13090 ) ( #13110 )
...
* 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:14:37 +00:00
184a56aae7
shrink debug ( #13089 ) ( #13108 )
...
(cherry picked from commit 7d2729f6bd
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-10-23 16:14:09 +00:00
7d66cba7f4
Remove spammy invalid rpc log ( #13100 ) ( #13101 )
...
(cherry picked from commit c95f6c4b83
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-10-23 08:21:33 +00:00
8f615278d2
Add deploy err if program-account balance is too high ( #13091 ) ( #13097 )
...
* 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 05:50:21 +00:00
884d68ddcf
Add Pubkey::new_unique()/Hash::new_unique()
2020-10-23 03:19:38 +00:00
b095a52027
Add programming-faq to sidebar ( #12586 ) ( #13087 )
...
* Add programming-faq to sidebar
* nudge
* fix path
(cherry picked from commit 22d16c69b7
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-22 12:34:22 +00:00
1f5861e107
Add programming faq ( #12545 ) ( #13086 )
...
* Add programming faq
* feedback and new content
* nudge
(cherry picked from commit b51c0f3095
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-22 12:33:29 +00:00
b90b46fee1
Allow nodes to advertise a different rpc address over gossip ( #13053 ) ( #13077 )
...
* 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 04:44:41 +00:00
bff820d549
Remove unused pubkey::Pubkey imports
2020-10-21 20:27:57 -07:00
5ad0ccdfe1
cargo fmt
2020-10-21 20:27:57 -07:00
d8c7d06737
Run codemod --extensions rs Hash::new_rand solana_sdk:
#️⃣ :new_rand
2020-10-21 20:27:57 -07:00
422bb3c526
Run codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand
2020-10-21 20:27:57 -07:00
048a2b982c
Add pubkey_new_rand(), mark Pubkey::new_rand() deprecated
2020-10-21 20:27:57 -07:00
76f0557462
Add hash_new_rand(), mark Hash::new_rand() as deprecated
2020-10-21 20:27:57 -07:00
6ebb933302
Bump version to 1.3.20
2020-10-22 00:08:28 +00:00
15a49d7508
RPC: Don't send base64 TXs to old clusters ( #13062 )
...
Co-authored-by: Trent Nelson <trent@solana.com >
v1.3.19
2020-10-21 21:07:08 +00:00
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