Commit Graph

12266 Commits

Author SHA1 Message Date
72bae7c750 cli: Speed up program deploys (bp #15347) (#15359)
* cli: Speed up program deploys (#15347)

* Speed up deploys

* fix test

(cherry picked from commit f5c564bc6c)

# Conflicts:
#	cli/tests/program.rs

* Update program.rs

Co-authored-by: Justin Starry <justin@solana.com>
2021-02-17 02:55:33 +00:00
89f9a9d7ea Vote program updates 2021-02-16 18:49:01 -08:00
295b849e19 Clean & check stake 2021-02-16 18:53:40 -07:00
d424e92026 stake: add lamports overflow test for withdraw
(cherry picked from commit ae82b5ebfd)
2021-02-16 17:38:08 -08:00
2f673e7f3d checks that prune-messages have the same inner/outer pubkey (bp #15352) (#15355)
* checks that prune-messages have the same inner/outer pubkey (#15352)

(cherry picked from commit 076c20f1ca)

# Conflicts:
#	core/src/cluster_info.rs

* removes backport merge conflicts

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2021-02-16 23:29:00 +00:00
a1cb6d0635 Bump rand_core to 0.6.2
https://rustsec.org/advisories/RUSTSEC-2021-0023
2021-02-15 23:11:54 +00:00
8302f58f29 Log if unsanitary transactions are read from blockstore (#15319) (#15321)
(cherry picked from commit 0812931c38)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-02-14 08:15:00 +00:00
b2b55a5ee3 sdk: sanitize Hash base58 input (#15314)
(cherry picked from commit 1a20ab968f)

Co-authored-by: Trent Nelson <trent@solana.com>
2021-02-13 19:31:41 +00:00
a5796e0d4d Bump version to 1.4.28 2021-02-13 04:19:31 +00:00
8213b1db02 Stake program update (#15309) v1.4.27 2021-02-12 17:16:27 -08:00
dc5f6d3e15 Use spl-token-mint secondary index for relevant getProgramAccounts requests (#15219) (#15223)
(cherry picked from commit 948819dfa8)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-02-10 02:03:48 +00:00
40e9bd1224 Warp timestamp and extend max-allowable-drift for accommodate slow blocks (bp #15204) (#15221)
* Warp timestamp and extend max-allowable-drift for accommodate slow blocks (#15204)

* Remove timestamp_correction feature gating

* Remove timestamp_bounding feature gating

* Remove unused deprecated ledger code

* Remove unused deprecated unbounded-timestamp code

* Enable independent adjustment of fast/slow timestamp bounding

* Update timestamp bounds to 25% fast, 80% slow; warp timestamp

* Update bank hash test

* Add PR number to feature

Co-authored-by: Michael Vines <mvines@gmail.com>

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

# Conflicts:
#	ledger/src/blockstore.rs
#	runtime/src/bank.rs
#	sdk/src/feature_set.rs

* Fix conflicts

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-02-10 02:03:43 +00:00
635ba1465d Don't fail on cargo audit since v1.4 is about to be EOL 2021-02-07 03:47:25 +00:00
1dec5bbc9d Only publish release-tag docs on beta channel (#15158) (#15167)
(cherry picked from commit 819d829c41)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-02-06 06:42:34 +00:00
30d66ba128 Bump version to v1.4.27 2021-02-05 19:20:09 +00:00
fea9f78a68 Add w3m's inflation pubkeys (#15142) (#15143)
(cherry picked from commit 2a60dd8492)

Co-authored-by: Michael Vines <mvines@gmail.com>
v1.4.26
2021-02-05 08:59:13 -08:00
ccc473fadf Sort inflation candidates alphabetically 2021-02-05 00:08:34 -08:00
e4eb6fbd5d Inflation Nomination for sotcsa (#15105) (#15119)
(cherry picked from commit e908a4b3fc)

Co-authored-by: sotcsa <sotcsa@users.noreply.github.com>
2021-02-04 21:50:13 -08:00
bfbafcbfd2 Add LowFeeValidation Nomination (#15098) (#15103)
(cherry picked from commit 53dab29528)

Co-authored-by: bonsfi <bonsfi@users.noreply.github.com>
2021-02-04 11:06:11 -08:00
9d94cc3764 Enable inflation candidate for RockX (#15099) (#15100)
(cherry picked from commit c6f572c331)

Co-authored-by: calvinzhou-rockx <55546839+calvinzhou-rockx@users.noreply.github.com>
2021-02-04 10:50:13 -08:00
0682ffce8a Inflation Nomination for Diman (#15083) (#15094)
(cherry picked from commit d87e0c3f1d)

Co-authored-by: DimAn <71597545+diman-io@users.noreply.github.com>
2021-02-04 09:38:00 -08:00
4b1ead5f60 Nomination candidate for p2pvalidator (#15079) (#15089)
(cherry picked from commit 2ed074ba2a)

Co-authored-by: rk-p2p <56305239+rk-p2p@users.noreply.github.com>
2021-02-04 08:54:57 -08:00
a4b4bbf039 Fix integer overflow in degenerate invoke_signed BPF syscalls (bp #15051) (#15070)
* Fix integer overflow in degenerate invoke_signed BPF syscalls (#15051)

(cherry picked from commit ebbaa1f8ea)

# Conflicts:
#	programs/bpf_loader/src/syscalls.rs

* resolve conflicts

Co-authored-by: Mrmaxmeier <Mrmaxmeier@gmail.com>
Co-authored-by: Jack May <jack@solana.com>
2021-02-04 00:09:56 +00:00
ba733168c6 Fix which shared object the test uses (bp #15060) (#15067)
* Fix which shared object the test uses (#15060)

(cherry picked from commit 02a5f7104a)

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

* fix conflicts

Co-authored-by: Jack May <jack@solana.com>
2021-02-03 23:14:09 +00:00
5baad4f6b6 Upgradeable loader max_data_len limit (bp #15039) (#15063)
* Upgradeable loader max_data_len limit (#15039)

(cherry picked from commit d24d5fba0e)

* resolve conflicts

Co-authored-by: Jack May <jack@solana.com>
2021-02-03 22:40:26 +00:00
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