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
65bef638ba
Nonce address doesn't sign AdvanceNonceAccount ( #14721 )
...
(cherry picked from commit 447e3de1f2
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-21 05:31:05 +00:00
2b5ae54d84
Return confirmation-status ( #14709 ) ( #14714 )
...
(cherry picked from commit 0e87572eb0
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-21 03:09:44 +00:00
9dd5d4407b
Sanitize base58 pubkeys and sigs (bp #14708 ) ( #14711 )
...
* SDK: Sanitize base58 pubkey input
(cherry picked from commit 250b3969d4
)
* SDK: Sanitize base58 signature input
(cherry picked from commit 2783aee483
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-21 02:37:50 +00:00
6ae51ec5c3
Default to highest finalized block if no slot provided ( #14701 ) ( #14703 )
...
(cherry picked from commit c64d4f7693
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-20 22:16:20 +00:00
ad89be3c85
Cli: promote commitment to a global arg + config.yml (bp #14684 ) ( #14697 )
...
* Cli: promote commitment to a global arg + config.yml (#14684 )
* Make commitment a global arg
* Add commitment to solana/cli/config.yml
* Fixup a couple Display/Verbose bugs
(cherry picked from commit a7086a0f83
)
# Conflicts:
# cli/src/program.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-01-20 19:39:45 +00:00
5d2bd179b1
Bump version to 1.4.25
2021-01-20 05:47:10 +00:00
c44330d16f
Bail on small deploy buffers (bp #14677 ) ( #14681 )
...
* Bail on small deploy buffers (#14677 )
(cherry picked from commit a480b63234
)
# Conflicts:
# sdk/program/src/loader_upgradeable_instruction.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
v1.4.24
2021-01-20 03:20:41 +00:00
540e23c987
Prevent the invoke and upgrade of programs in the same tx batch (bp #14653 ) ( #14679 )
...
* Prevent the invoke and upgrade of programs in the same tx batch (#14653 )
* Prevent the invoke and upgrade of programs in the same tx batch
* Pass program address as writable in the upgrade instruction
(cherry picked from commit e3bd9e5300
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/Cargo.toml
# programs/bpf/tests/programs.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-01-19 18:28:23 -08:00
702a353d71
Cli: default to single gossip (bp #14673 ) ( #14675 )
...
* Use singleGossip for program deployment
* Cli: default to single gossip (#14673 )
* Init cli RpcClient with chosen commitment; default to single_gossip
* Fill in missing client methods
* Cli tests: make RpcClient commitment specific
* Simply rpc_client calls, using configured commitment
* Check validator vote account with single-gossip commitment
(cherry picked from commit 4964b0fe61
)
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-20 00:36:20 +00:00
afa1905cda
Configure Bigtable's timeout, enabling by default ( #14657 ) ( #14668 )
...
* Configure bigtable's timeout when read-only
* Review comments
* Apply nits (thanks!)
Co-authored-by: Michael Vines <mvines@gmail.com >
* Timeout in the streamed decoding as well
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit dcaa025822
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-19 15:36:32 +00:00
cd8c12c749
Improve docs around bigtable read limit ( #14660 ) ( #14661 )
...
(cherry picked from commit 2eb19fa5e5
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-19 08:02:08 +00:00
1460b844bc
feature gates turbine retransmit peers patch (bp #14631 ) ( #14658 )
...
* feature gates turbine retransmit peers patch (#14631 )
(cherry picked from commit c6ae0667e6
)
# Conflicts:
# sdk/src/feature_set.rs
* removes backport merge conflicts
* adds .clone for backport
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-19 06:11:21 +00:00
6f56f9ec1b
Make Bigtable::get_confirmed_blocks inclusive of requested start_slot and end_slot ( #14651 ) ( #14654 )
...
* Fix off-by-one error
* Filter out blocks greater than end slot
(cherry picked from commit cbf8ef7480
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-19 03:54:43 +00:00
4d4215386d
Clean up and add comment
...
(cherry picked from commit 8d4ab1bab1
)
2021-01-17 20:04:33 -08:00
008e387381
WIP fix the occasional stuck RPC request
...
(cherry picked from commit 5cf9094bb9
)
2021-01-17 20:04:33 -08:00
2e31f4d8f7
Use optimistic confirmation in getSignatureStatuses, and various downstream client methods (bp #14430 ) ( #14610 )
...
* Use optimistic confirmation in getSignatureStatuses, and various downstream client methods (#14430 )
* Add optimistically_confirmed field to TransactionStatus
* Update docs
* Convert new field to confirmation_status
* Update docs to confirmationStatus
* Update variants
* Update docs
* Just Confirmed
(cherry picked from commit 9a89689ad3
)
# Conflicts:
# tokens/src/commands.rs
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-01-16 04:46:08 +00:00
a1a70060e9
Support account on tmpfs via net/ scripts (bp #14459 ) ( #14620 )
...
* multinode-demo: Pass --accounts through bootstrap leader wrapper
(cherry picked from commit 327be55acc
)
* gce.sh: Factor out default custom memory
(cherry picked from commit ddf1d2dbf5
)
* net/: Support accounts on swap-backed tmpfs
(cherry picked from commit ff599ace4d
)
* net/gce.sh: Add cusom RAM arg instead of doubling default with tmpfs
(cherry picked from commit 3175cf1deb
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-16 01:35:44 +00:00
b064956e20
Add load/execute/store timings ( #14561 ) ( #14590 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-15 21:13:09 +00:00
ea55cac8bb
net/net.sh: Quite pre-emptible instance status check ( #14617 )
...
(cherry picked from commit 7b67228bc1
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-15 21:13:02 +00:00
6a5d664d6a
patches bug in turbine's neighbors computation ( #14565 ) ( #14612 )
...
Removing local node's index early from the set here:
https://github.com/solana-labs/solana/blob/e1b59ded4/core/src/retransmit_stage.rs#L346
distorts the order of nodes depending on which node is computing the
turbine fan-out tree, and results in incorrect neighbors computation.
(cherry picked from commit cfcca1cd3c
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-15 18:42:44 +00:00
fad7f198b4
Use highest-confirmed-root for max check ( #14599 ) ( #14603 )
...
(cherry picked from commit 465f991035
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-15 09:16:48 +00:00