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
4f0e928a0a
Rework cargo audit ignores
2020-10-12 04:21:26 +00:00
8600d5188d
Don't bother paying 0 rent ( #12792 )
...
(cherry picked from commit 1fc7c1ecee
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-10 18:12:18 +00:00
8cd7716ee3
Update docs to show support for Nano X (bp #12647 ) ( #12654 )
...
* Update docs to show support for Nano X (#12647 )
(cherry picked from commit 0ef3cac1f8
)
# Conflicts:
# docs/src/wallet-guide/ledger-live.md
* Fix merge conflict
Co-authored-by: Dan Albert <dan@solana.com >
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-10-10 16:06:41 +00:00
b13385fba6
Update gossip entrypoints
2020-10-10 08:39:54 -07:00
9f82208c29
Store program logs in blockstore / bigtable (TransactionWithStatusMeta) (bp #12678 ) ( #12734 )
...
* Store program logs in blockstore / bigtable (TransactionWithStatusMeta) (#12678 )
* introduce store program logs in blockstore / bigtable
* fix test, transaction logs created for successful transactions
* fix test for legacy bincode implementation around log_messages
* only api nodes should record logs
* truncate transaction logs to 100KB
* refactor log truncate for improved coverage
(cherry picked from commit 8f5431551e
)
# Conflicts:
# runtime/src/bank.rs
* Resolve merge conflicts in bank.rs
* rerun cargo fmt
Co-authored-by: Josh <josh.hundley@gmail.com >
2020-10-10 08:55:41 +00:00
596ede864b
document program address collisions (bp #12774 ) ( #12781 )
...
* document program address collisions (#12774 )
(cherry picked from commit 9ac8db3533
)
# Conflicts:
# sdk/src/pubkey.rs
* Update pubkey.rs
* Update pubkey.rs
Co-authored-by: Jack May <jack@solana.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-10 06:50:58 +00:00
e4bd382472
Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli (bp #12768 ) ( #12789 )
...
* Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli
(cherry picked from commit c5c8da1ac0
)
# Conflicts:
# Cargo.lock
# runtime/src/bank.rs
# 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:25:10 +00:00
a70aa28832
Bump version to 1.3.17
2020-10-10 03:22:14 +00:00
9a63cf51b5
Fix typo ( #12780 ) ( #12783 )
...
(cherry picked from commit 5800217998
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-10 02:18:18 +00:00
b31ec0579c
Local program allocator ( #12679 ) ( #12767 )
...
(cherry picked from commit 630eb3b907
)
Co-authored-by: Jack May <jack@solana.com >
v1.3.16
2020-10-10 01:44:18 +00:00
ad31768dd9
Add adjustable stack size and call depth (bp #12728 ) ( #12769 )
...
* Add adjustable stack size and call depth (#12728 )
(cherry picked from commit c3907be623
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/Cargo.toml
# programs/bpf/build.rs
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/lib.rs
# runtime/src/feature_set.rs
# runtime/src/process_instruction.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 23:27:59 +00:00
079ea91d6f
Add convenience script for working in stability branches ( #12765 ) ( #12772 )
...
* Add convenience script for working in stability branches
* Update scripts/curgo.sh
Co-authored-by: Michael Vines <mvines@gmail.com >
* re{locate,name} to /cargo
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit ed95071c27
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-09 22:29:47 +00:00
48d08f2010
Bump max invoke depth to 4 (bp #12742 ) ( #12763 )
...
* Bump max invoke depth to 4 (#12742 )
(cherry picked from commit 2cd7cd3149
)
# Conflicts:
# programs/bpf/rust/invoked/src/processor.rs
# runtime/src/feature_set.rs
# runtime/src/message_processor.rs
# runtime/src/process_instruction.rs
* fix conflicts
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 21:12:35 +00:00
b34ba0fc4e
Remove skip-no-mangle entirely (bp #12696 ) ( #12708 )
...
* Remove skip-no-mangle entirely (#12696 )
(cherry picked from commit 41ad3dd8f0
)
# Conflicts:
# account-decoder/Cargo.toml
# core/Cargo.toml
# transaction-status/Cargo.toml
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 20:44:50 +00:00
41b99b96c0
Ryos compat fixes 1.3 ( #12762 )
...
* Fix various ledger-tool error due to no builtins
* Add missing file...
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-09 11:49:15 -06:00