Will Hickey
84c57dd0a8
Bump version to v1.9.10 ( #23304 )
2022-02-23 11:30:21 -06:00
mergify[bot]
c02c73fa5f
Bump rbpf to v0.2.24 ( #23263 ) ( #23266 )
...
(cherry picked from commit d0d256ee9a
)
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
2022-02-22 11:46:05 +00:00
Will Hickey
08d6b9850d
Bump version to 1.9.9 ( #23247 )
2022-02-19 21:17:11 -06:00
Trent Nelson
c3098e99d1
Bump version to v1.9.8
2022-02-16 21:42:57 -07:00
mergify[bot]
e343a17ce9
Update ping to transfer to self, with rotating amount ( #22657 ) ( #22675 )
...
* Update ping to transfer to self, with rotating amount
* Remove balance check
(cherry picked from commit 90689585ef
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2022-02-16 12:52:28 -07:00
mergify[bot]
8d8525e4fc
Allow cli users to authorize Staker signed by Withdrawer ( #23146 ) ( #23176 )
...
(cherry picked from commit 88b66ae3a8
)
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2022-02-16 10:16:55 -07:00
mergify[bot]
2c8cfdb3f3
Add fees to tx-wide caps (backport #22081 ) ( #23095 )
...
* Add fees to tx-wide caps (#22081 )
(cherry picked from commit 3d9874b95a
)
# Conflicts:
# runtime/src/bank.rs
* resolve
Co-authored-by: Jack May <jack@solana.com >
2022-02-15 01:36:02 +00:00
Will Hickey
2d144afec5
Bump version to 1.9.6 ( #23092 )
2022-02-11 15:00:06 -06:00
mergify[bot]
85856a73aa
Implement json output for solana ping (backport #22959 ) ( #22968 )
...
* Implement json output for solana ping (#22959 )
(cherry picked from commit d2c89213ff
)
# Conflicts:
# cli/src/cluster_query.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2022-02-05 23:42:33 +00:00
mergify[bot]
c3890ada8e
Bumps solana_rbpf to version v0.2.23 ( #22954 ) ( #22961 )
...
(cherry picked from commit e05cf4bf97
)
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
2022-02-05 13:08:29 +00:00
mergify[bot]
ceb253ce90
Bumps solana_rbpf to version v0.2.22 ( #22923 ) ( #22955 )
...
* Bumps solana_rbpf to v0.2.22
* Adjusts vm::Config and feature gates.
(cherry picked from commit 96c88d1a5e
)
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
2022-02-05 11:16:22 +00:00
mergify[bot]
85fef67213
Refactor Rent::due() with RentDue enum ( #22346 ) ( #22921 )
...
(cherry picked from commit d90d5ee9b6
)
Co-authored-by: Brooks Prumo <brooks@solana.com >
2022-02-03 22:15:54 +00:00
Trent Nelson
8bc4cc90d2
Bump version to 1.9.6
2022-01-21 20:15:43 -07:00
mergify[bot]
ed0b30efcc
nit: Traceable balance checks ( #22462 ) ( #22489 )
...
(cherry picked from commit 1632ee03da
)
Co-authored-by: Jack May <jack@solana.com >
2022-01-13 19:09:00 +00:00
mergify[bot]
58dcc451a9
Prevent rent-paying account creation (backport #22292 ) ( #22428 )
...
* Prevent rent-paying account creation (#22292 )
* Fixup typo
* Add new feature
* Add new TransactionError
* Add framework for checking account state before and after transaction processing
* Fail transactions that leave new rent-paying accounts
* Only check rent-state of writable tx accounts
* Review comments: combine process_result success behavior; log and metrics before feature activation
* Fix tests that assume rent-exempt accounts are okay
* Remove test no longer relevant
* Remove native/sysvar special case
* Move metrics submission to report legacy->legacy rent paying transitions as well
(cherry picked from commit 637e366b18
)
# Conflicts:
# runtime/src/bank.rs
# runtime/src/lib.rs
* Fix conflicts and rework for TransactionRefCells
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2022-01-11 23:17:03 +00:00
Trent Nelson
cb49ae21b4
Bump version to v1.9.5
2022-01-08 21:17:51 +00:00
Will Hickey
ba0188a36d
Bump version to 1.9.4 ( #22304 )
2022-01-05 12:02:36 -06:00
Alexander Meißner
264bb903a3
Bump rbpf to v0.2.21 ( #22216 ) ( #22217 )
...
(cherry picked from commit 9139be89b7
)
2022-01-01 20:42:53 +00:00
mergify[bot]
70d5b6aeaf
Bump solana_rbpf to version v0.2.20 ( #22164 ) ( #22207 )
...
(cherry picked from commit 8a43e2d889
)
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
2021-12-31 21:57:20 +00:00
Ryan Laursen
8708186760
Update checks.rs
...
(cherry picked from commit d06c04d02c
)
2021-12-23 07:00:26 -08:00
Ryan Laursen
8f3e37c174
Remove msg spam from deploying
...
(cherry picked from commit 52c1eb0160
)
2021-12-23 07:00:26 -08:00
Will Hickey
78e7913352
Bump version to 1.9.3 ( #22065 )
2021-12-22 11:41:03 -06:00
Michael Vines
bfa6302985
Bump version to 1.9.2
2021-12-15 16:18:14 -08:00
losman0s
7dba8bb49f
Add complete account dump to file
...
This commit introduces the ability to dump the complete content of an
account to a JSON file (compact or not depending on the provided format
option).
Example:
```sh
solana account -u m \
--output json-compact \
--output-file SRM_token.json \
SRMuApVNdxXokk5GT7XD5cUUgXMBCoAz2LHeuAoKWRt
```
Note: Behavior remains untouched if format option `--output` is not
provided (only account data gets written to file).
(cherry picked from commit 0e9e67b65d
)
2021-12-15 15:33:45 -08:00
mergify[bot]
de48347078
Add json support for feature sets; also print output after feature list ( #21905 ) ( #21914 )
...
* Add json support for feature sets; also print output after feature list
* Move stringifying into Display implementation
(cherry picked from commit dcd2854829
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-12-15 07:08:39 +00:00
mergify[bot]
2cd2f3ba7b
Bump rbpf to v0.2.19 ( #21880 ) ( #21891 )
...
* Bump rbpf to v0.2.19
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
(cherry picked from commit 509bcd2e74
)
Co-authored-by: Jack May <jack@solana.com >
2021-12-14 20:30:31 +00:00
mergify[bot]
5e2b12aee5
Restore ALL behavior; add enum variant, comments, and help text to make behavior clearer ( #21854 ) ( #21863 )
...
(cherry picked from commit bed1b143a5
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-12-14 05:21:25 +00:00
mergify[bot]
0376045c7d
cli: Order displayed feature list by status ( #21810 ) ( #21830 )
...
(cherry picked from commit 1149c1880d
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-12-13 14:39:47 +00:00
Tao Zhu
4b63d51e3e
Bump version to 1.9.1 ( #21802 )
2021-12-11 12:50:36 +00:00
mergify[bot]
2c4765e75a
Bump solana_rbpf to version v0.2.18 ( #21774 ) ( #21786 )
...
(cherry picked from commit a5a0dabe7b
)
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
2021-12-11 02:38:03 +00:00
mergify[bot]
0e969015fc
Add offline and fee-payer utilities to CLI vote module ( #21579 ) ( #21649 )
...
* create-vote-account: add offline, nonce, fee_payer capabilities
* vote-authorize: add offline, nonce, fee-payer
* vote-update-things: add offline, nonce, fee-payer
* withdraw-vote: add offline, nonce, fee-payer
* close-vote-acct: add fee-payer
* Allow WithdrawVoteAccount to empty account, since offline operations cannot perform account state queries as in CloseVoteAccount
* Fix lint
* Update offline-signing docs
* Add some parse unit tests
* Add offline integration test
(cherry picked from commit 873fe81bc0
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-12-07 01:51:02 +00:00
Michael Vines
b8837c04ec
Reformat imports to a consistent style for imports
...
rustfmt.toml configuration:
imports_granularity = "One"
group_imports = "One"
2021-12-03 09:19:13 -08:00
Alexander Meißner
015250f96c
Feature gates for rbpf v0.2.16 ( #21590 )
...
- Adds feature reject_section_virtual_address_file_offset_mismatch.
- Adds feature start_verify_shift32_imm.
- Enables enable_symbol_and_section_labels only in the rbpf-cli.
2021-12-03 15:45:25 +01:00
Alexander Meißner
bfdb775ffc
Unifies ThisInvokeContext and dyn trait InvokeContext. ( #21563 )
2021-12-02 18:47:16 +01:00
Trent Nelson
04c0f124c4
cli: always print feature version info with status query
2021-12-01 20:07:20 -07:00
Michael Vines
e922c2da9d
Update to Rust 1.56.1
2021-11-30 23:28:07 -08:00
Michael Vines
dd12d90eac
Upgrade to Rust 2021
2021-11-30 20:43:46 -08:00
dependabot[bot]
a125e7b8c2
chore: bump serde_json from 1.0.71 to 1.0.72 ( #21426 )
...
* chore: bump serde_json from 1.0.71 to 1.0.72
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.71...v1.0.72 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2021-11-30 18:03:09 +00:00
Alexander Meißner
c9aa7ed5ca
Bumps solana_rbpf to v0.2.16 ( #21492 )
2021-11-30 16:26:36 +01:00
DimAn
09799590ac
fix checks in process_vote_authorize ( #21465 )
2021-11-29 09:46:29 -06:00
Michael
755221bac4
Adjust "solana rent" sub command to clarify automatic inclusion of account overhead ( #21383 )
...
* Adjust CLI rent command description and help to clarify account overhead already included
* Adjust rent sub command about message
* Adjust CLI message
* Adjust CLI rent command description and help to clarify account overhead already included
* Adjust rent sub command about message
2021-11-24 09:53:05 -07:00
dependabot[bot]
89102540b1
chore: bump serde_json from 1.0.70 to 1.0.71 ( #21338 )
...
* chore: bump serde_json from 1.0.70 to 1.0.71
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.70...v1.0.71 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2021-11-18 02:58:30 +00:00
dependabot[bot]
c6baff6698
chore: bump solana_rbpf from 0.2.14 to 0.2.15 ( #21289 )
...
Bumps [solana_rbpf](https://github.com/solana-labs/rbpf ) from 0.2.14 to 0.2.15.
- [Release notes](https://github.com/solana-labs/rbpf/releases )
- [Commits](https://github.com/solana-labs/rbpf/compare/v0.2.14...v0.2.15 )
---
updated-dependencies:
- dependency-name: solana_rbpf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 23:52:01 +00:00
dependabot[bot]
55ea672041
chore: bump serde_json from 1.0.69 to 1.0.70 ( #21285 )
...
* chore: bump serde_json from 1.0.69 to 1.0.70
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.69...v1.0.70 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <you@example.com >
2021-11-15 15:27:47 -07:00
Andrei Lebedev
3c7cb2522c
complete_partial_program_init: remove redundant conditional ( #20895 )
2021-11-11 15:43:35 -08:00
dependabot[bot]
3c5f505d3e
chore: bump serde_json from 1.0.68 to 1.0.69 ( #21211 )
...
* chore: bump serde_json from 1.0.68 to 1.0.69
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.68...v1.0.69 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
2021-11-09 11:04:40 -07:00
Alexander Meißner
7200c5106e
Replaces MockInvokeContext by ThisInvokeContext in tests ( #20881 )
...
* Replaces MockInvokeContext by ThisInvokeContext in BpfLoader, SystemInstructionProcessor, CLIs, ConfigProcessor, StakeProcessor and VoteProcessor.
* Finally, removes MockInvokeContext, MockComputeMeter and MockLogger.
* Adjusts assert_instruction_count test.
* Moves ThisInvokeContext to the program-runtime crate.
2021-11-04 21:47:32 +01:00
Jack May
bced07a099
Update fee api to use blockhash ( #21054 )
2021-10-29 13:52:59 -07:00
sakridge
a8d78e89d3
Move test-validator to own module to reduce core dependencies ( #20658 )
...
* Move test-validator to own module to reduce core dependencies
* Fix a few TestValidator paths
* Use solana_test_validator crate for solana_test_validator bin
* Move client int tests to separate crate
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-10-29 01:27:07 +00:00
Tyera Eulberg
0b8fcf0808
Check whether vote-authorize-voter-checked new vote authority is_interactive ( #21051 )
...
* Check interactive signer for vote-authorize-voter-checked
* Recommend checked vote reauthorization
2021-10-28 20:48:16 +00:00