Commit Graph

12241 Commits

Author SHA1 Message Date
13b3faed8a Correct stakeconomy::vote::id() (#15062) (#15064)
(cherry picked from commit c3ba70300b)

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-02-03 12:42:04 -08:00
e4a2113400 CLI: Move solana validators summary to end of output (#15032)
(cherry picked from commit 31d30bb5e8)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-02-03 20:01:10 +00:00
9b3c682134 Reorder features to be consistent with v1.5 2021-02-03 09:14:23 -08:00
0c1696df38 Add stub v1.5 features into v1.4 for tool compatibility 2021-02-03 09:13:38 -08:00
e59a7701de Nomination candidate for buburuza (#15047) (#15054)
(cherry picked from commit f2d415cf13)

Co-authored-by: buburuza27 <78487355+buburuza27@users.noreply.github.com>
2021-02-03 08:42:21 -08:00
b9f71f55e8 Don't squash caught errors, please (#15046) (#15048)
* Don't squash caught errors, please

* Update blockstore.rs

* Update blockstore.rs

(cherry picked from commit 8376781ec8)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2021-02-03 16:04:58 +00:00
c440b6df99 Disable AppendVec warn! for now (bp #14996) (#15000)
* Disable AppendVec warn! for now (#14996)

* Disable AppendVed warn! for now

* Fix version...

* Update append_vec.rs

(cherry picked from commit 31168fe343)

# Conflicts:
#	runtime/src/append_vec.rs

* Update append_vec.rs

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2021-02-03 14:57:12 +00:00
a62dd946fe Nomination candidate for bunghi (#15036) (#15043)
* Update feature_set.rs

* Update feature_set.rs

* Update sdk/src/feature_set.rs

* Update feature_set.rs

* Update sdk/src/feature_set.rs

Co-authored-by: Michael Vines <mvines@gmail.com>
(cherry picked from commit 87815ae1fd)

Co-authored-by: bunghi <31234197+bunghi@users.noreply.github.com>
2021-02-03 12:01:18 +00:00
0ac63e28ea Cli: some moniker follow-up (#14981) (#15037)
* Enable monikers in config set

* Fixup websocket compute

(cherry picked from commit 38e2fe8997)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-02-03 09:17:46 +00:00
74bc879416 Adapt create-snapshot to avoid triggering recent internal bank sanity checks
(cherry picked from commit 709aa74e11)
2021-02-02 23:22:05 -08:00
acb2040242 Inflation Nomination for BL (#14972)
(cherry picked from commit 8e0fdff17c)
2021-02-02 23:19:35 -08:00
b240d923e0 keygen: Improve messaging around BIP39 passphrase usage (#15025)
(cherry picked from commit 53423c99aa)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-02-03 02:01:56 +00:00
c6c6073e1a CLI: Surface account query errors (#15023)
(cherry picked from commit 3abb39c04f)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-02-03 01:51:22 +00:00
b06d009885 CLI: Add sigverify results to solana decode-transaction output (bp #14964) (#15007)
* cli-output: Add option sigverify status to `println_transaction()` output

(cherry picked from commit a2aea0ca33)

* cli: Add sigverify status to `decode-transaction` output

(cherry picked from commit d547585041)

* CLI: Modernize `decode-transaction` about message

(cherry picked from commit fddbfe1052)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-02-02 20:26:11 +00:00
3913fb281e Parse SPL Memo v3 (bp #14979) (#14988)
* Parse SPL Memo v3 (#14979)

* Parse memo v3 too

* tree

(cherry picked from commit 34dfcc9c6f)

# Conflicts:
#	Cargo.lock

* Fix version conflicts (inline v3 id)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-02-02 08:25:25 +00:00
7561183746 Reinstate SPL Token self-transfer fix feature
lost in 893cc76
2021-02-01 20:44:53 -07:00
cef06eb172 CLI: Improve readability of solana stake-history (bp #14963) (#14966)
* cli-output: Minor refactor of `build_balance_message()`

(cherry picked from commit 1c6f31241a)

* cli: Improve `stake-history` output readability

(cherry picked from commit c8d83ae019)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-02-02 02:37:13 +00:00
5a67c49f81 Certus One inflation enablement feature pair (#14961)
(cherry picked from commit c06568f3db)
2021-02-01 17:00:21 -08:00
d6f22d1919 Update sdk/src/feature_set.rs
(cherry picked from commit e0f6695cc2)
2021-02-01 08:12:16 -08:00
73feb22dbf Update feature_set.rs
(cherry picked from commit 4ba9e39941)
2021-02-01 08:12:16 -08:00
9ece0a4216 Template for an Inflation Candidate nomination
To submit your nomination:
1. Replace all instances of "my_name" with a suitable alternative then address the "TODO" code comments
2. Submit a new Github pull request and work with the project contributors to merge your pull request

(cherry picked from commit 15baf43d1e)
2021-02-01 08:12:16 -08:00
9cd4e1850a style(spacing): reformat tab spacing
(cherry picked from commit f98889adc0)
2021-01-30 08:36:20 -08:00
4f0b384c0d Template for an Inflation Candidate nomination
To submit your nomination:
1. Replace all instances of "my_name" with a suitable alternative then address the "TODO" code comments
2. Submit a new Github pull request and work with the project contributors to merge your pull request

(cherry picked from commit a7ff1684f5)
2021-01-30 08:36:20 -08:00
edf76509a5 Bump version to 1.4.26 (#14937) 2021-01-29 18:07:22 -07:00
893cc76472 Buffer authority must match upgrade authority for deploys and upgrades (#14932) v1.4.25 2021-01-29 12:43:53 -08:00
7c05216e34 cli: Improve reliability of program deploys (#14902) (#14924)
* cli: Improve reliability of program deploys

* chore: fix clippy

(cherry picked from commit 996a27d475)

Co-authored-by: Justin Starry <justin@solana.com>
2021-01-29 13:06:15 -07:00
caa39ff2a4 Add feature for pending SPL Token self-transfer fix (#14917)
(cherry picked from commit 85b5dbead6)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-01-29 06:01:46 +00:00
c662bf14ad Make it possible to opt-out jemalloc for heaptrack (#14634) (#14899)
(cherry picked from commit d63b2baf0e)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2021-01-29 09:26:45 +09:00
79d9c92f9b Manually camelCase solana program json (bp #14907) (#14909)
* Manually camelCase solana program json (#14907)

(cherry picked from commit 7e2e0d4a86)

# Conflicts:
#	cli/src/program.rs
#	cli/tests/program.rs

* Fix conflicts

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-01-28 22:16:05 +00:00
1bf281c5c1 nit: message doesn't represent (#14893) (#14896)
(cherry picked from commit 2ca0872a98)

Co-authored-by: Jack May <jack@solana.com>
2021-01-28 09:57:33 -08:00
05852e8098 install: Add version envvar to info --eval output
(cherry picked from commit dcb6f68287)
2021-01-26 20:25:28 -08:00
ec46f6b91f cli now supports a custodian for stake authorize operations
(cherry picked from commit 119e2c75dd)
2021-01-26 16:52:09 -08:00
5217ad1ecb Update find_program_address docs (#14840)
(cherry picked from commit 4a4881d30f)
2021-01-26 08:53:49 -08:00
d239e50e1b chore: comment blockHeight
(cherry picked from commit 8cd036938e)
2021-01-26 08:53:20 -08:00
3fef2b43b0 test: account for rent collection to avoid bogus test failure
(cherry picked from commit fba0e933a4)
2021-01-26 08:53:20 -08:00
b2f3bc2c7b fix: add Clock sysvar to AuthorizeWithSeed instruction
(cherry picked from commit fd06c1f8fa)
2021-01-26 08:53:20 -08:00
7ed513c24f Include Clock sysvar in AuthorizeWithSeed instruction
(cherry picked from commit 8359f4f5ff)
2021-01-26 08:53:20 -08:00
700478e6f8 fixes test_filter_current flakiness (#14816)
(cherry picked from commit d1df9da7d3)
2021-01-25 12:45:03 -08:00
5471f9373d Reduce ~2 GBs mem by avoiding another overalloc. (#14806) (#14819)
* Reduce few GBs mem by avoiding another overalloc.

* Use x.len() for the last item from chunks()

(cherry picked from commit 015058e0b7)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2021-01-25 05:47:57 +00:00
ea97d82df2 CLI: Reinstate logging, disabled by default (#14790)
(cherry picked from commit a44392048d)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-01-23 04:04:30 +00:00
feb27f0add CLI: Strive for at least one signer (bp #14767) (#14778)
* CLI: Strive for at least one signer

(cherry picked from commit 8f8d593457)

* CLI: Allow missing pubkey in `--verbose` config output

(cherry picked from commit 90e1778cd2)

* CLI: Don't scare the users

(cherry picked from commit e9c98f2416)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-01-22 19:46:17 +00:00
1041532c0e Rpc: Add custom error for BigTable data not found (bp #14762) (#14764)
* Rpc: Add custom error for BigTable data not found (#14762)

* Expose not-found bigtable error

* Add custom rpc error for bigtable data not found

* Return custom rpc error when bigtable block is not found

* Generalize long-term storage

(cherry picked from commit 71e9958e06)

# Conflicts:
#	client/src/rpc_custom_error.rs

* Fix conflicts

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-01-22 06:09:22 +00:00
e4068cb1bc SPL token balance in transaction metadata (bp #13673) (#14752)
* SPL token balance in transaction metadata  (#13673)

* feat: store pre / post token balances

* move helper functions into separate include

* move token balance functionality to transaction-status crate

* fix blockstore processor test

* fix bigtable legacy test

* add caching to decimals

(cherry picked from commit 13db3eca9f)

# Conflicts:
#	core/src/banking_stage.rs
#	storage-proto/Cargo.toml
#	storage-proto/src/convert.rs

* resolve merges storage-proto banking_stage

* fix bpf tests with token deltas

Co-authored-by: Josh <josh.hundley@gmail.com>
2021-01-22 02:58:51 +00:00
6c0d867d87 CLI: Add calculate-rent subcommand (bp #14725) (#14758)
* cli-output: Genericize `writeln_name_value()`

(cherry picked from commit 2820d0a23d)

# Conflicts:
#	cli-output/src/display.rs

* CLI: Add `calculate-rent` subcommand

(cherry picked from commit 12410541a4)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-01-22 01:31:07 +00:00
4a6f17fb2d fixes test_filter_current flakiness (bp #14749) (#14760)
* fixes test_filter_current flakiness (#14749)

(cherry picked from commit e4da6761a7)

# Conflicts:
#	core/src/crds_value.rs

* removes backport merge conflicts

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2021-01-22 01:17:59 +00:00
24665ef7fb Update bigtable confirm to use confirmation_status (#14750) (#14753)
(cherry picked from commit ca95302038)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-01-21 22:08:29 +00:00
47cf0726f9 Add signer/writable de/escalation tests (bp #14726) (#14738)
* Add signer/writable de/escalation tests (#14726)

(cherry picked from commit aa96ad042b)

# Conflicts:
#	programs/bpf/tests/programs.rs

* resolve conflicts

* nudge

Co-authored-by: Jack May <jack@solana.com>
2021-01-21 21:35:58 +00:00
53ea18d3b3 Add block_time to getConfirmedSignaturesForAddress2 and getConfirmedTransaction (bp #14572) (#14727)
* Add block_time to getConfirmedSignaturesForAddress2 and getConfirmedTransaction (#14572)

* add block_time to get_confirmed_signatures_for_address2 and protobuf implementation for tx_by_addr

* add tests for convert

* update cargo lock

* run cargo format after rebase

* introduce legacy TransactionByAddrInfo

* move LegacyTransactionByAddrInfo back to storage-bigtable

(cherry picked from commit 1de6d28eaf)

# Conflicts:
#	storage-proto/src/convert.rs

* merge storage proto convert

* fix bpf test for ConfirmedTransaction

Co-authored-by: Josh <josh.hundley@gmail.com>
2021-01-21 17:19:30 +00:00
4c2e1a5ebf Sanitize transactions more (bp #14716) (#14734)
* `solana decode-transaction` no longer panics on unsanitary transactions

(cherry picked from commit e9b5d65f40)

* Ensure sanitary transactions

(cherry picked from commit 04ce33a04e)

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-01-21 09:55:54 +00:00
60999811de Add generalized voting process to enable full inflation (#14731)
(cherry picked from commit 072e5e54d8)

Co-authored-by: Michael Vines <mvines@gmail.com>
2021-01-21 09:10:44 +00:00