mergify[bot]
4e6d175697
Simplify account.rent_epoch handling for sysvar rent (bp #16049 ) ( #16117 )
...
* Simplify account.rent_epoch handling for sysvar rent (#16049 )
* Add some code for special local testing
* Add comment to store_account_and_update_capitalization
* Simplify account.rent_epoch handling for sysvar rent
* Introduce *_for_test functions
* Add deprecation messages to existing api
(cherry picked from commit 6d5c6c17c5
)
# Conflicts:
# programs/bpf_loader/src/lib.rs
# programs/stake/src/stake_instruction.rs
# programs/vote/src/vote_instruction.rs
# runtime/src/accounts.rs
# runtime/src/bank.rs
# runtime/src/message_processor.rs
# runtime/src/system_instruction_processor.rs
# sdk/benches/slot_hashes.rs
# sdk/benches/slot_history.rs
# sdk/src/account.rs
# sdk/src/keyed_account.rs
# sdk/src/native_loader.rs
# sdk/src/recent_blockhashes_account.rs
* Fix conflicts
* rustfmt
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-03-25 18:12:33 +09:00
Tyera Eulberg
f356a05e96
Bump version to 1.5.17 ( #16043 )
2021-03-19 18:56:05 -06:00
mergify[bot]
e0119e7de7
Close buffer accounts (bp #15887 ) ( #15971 )
...
* Add Close instrruction and tooling to upgradeable loader (#15887 )
(cherry picked from commit 7f500d610c
)
# Conflicts:
# cli/src/program.rs
# programs/bpf_loader/src/lib.rs
* resolve conflicts
* slice fill not supported on older rust
Co-authored-by: Jack May <jack@solana.com >
2021-03-18 07:33:40 +00:00
mergify[bot]
6a334a8bef
CLI: Support dumping the TX message in sign-only mode ( #15932 )
...
(cherry picked from commit 672e9c640f
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-17 04:41:08 +00:00
Michael Vines
be05c8b121
Bump version to 1.5.16
2021-03-16 13:29:52 -07:00
mergify[bot]
999f81c56d
Charge compute budget for bytes passed via cpi (bp #15874 ) ( #15904 )
...
* Charge compute budget for bytes passed via cpi (#15874 )
(cherry picked from commit ad9901d7c6
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
# sdk/src/process_instruction.rs
* fix conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2021-03-16 18:47:40 +00:00
Michael Vines
9a151259b2
=1.5.15
2021-03-16 00:32:15 -07:00
mergify[bot]
6e214bbc04
Docs fixups (bp #15801 ) ( #15802 )
...
* docs: add docs links for crates published to crates.io
(cherry picked from commit 24d18b3cf2
)
# Conflicts:
# core/Cargo.toml
# measure/Cargo.toml
# programs/bpf/rust/finalize/Cargo.toml
* docs: add rust client api entry
(cherry picked from commit 3e6c7c4a3e
)
* docs: rename 'deployed programs' section to 'on-chain programs'
(cherry picked from commit 0e452c8d91
)
* docs: 'builtins' -> 'runtime facilities'
(cherry picked from commit 9c8be34906
)
* docs: stabilize spl token jsonrpc methods
(cherry picked from commit 45190f6281
)
* docs: deprecate lastvalidslot field of jsonrpc getfees
(cherry picked from commit c4ee1ab710
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-11 21:49:14 +00:00
Tyera Eulberg
9fbc03d517
Bump version to 1.5.15 ( #15768 )
2021-03-09 01:48:54 +00:00
Michael Vines
d3672ca23b
Bump version to 1.5.14
2021-03-03 19:01:25 -08:00
Michael Vines
6242809a07
Bump version to 1.5.13
2021-03-03 21:51:34 +00:00
Trent Nelson
247fa529b0
Cargo.log update from 297c083
2021-03-02 17:59:16 -07:00
mergify[bot]
eb12d29683
cli: don't overallocate upgradeable buffer accounts ( #15603 ) ( #15625 )
...
(cherry picked from commit d73af9c1dd
)
Co-authored-by: Jack May <jack@solana.com >
2021-03-02 08:21:09 -08:00
mergify[bot]
297c08310f
Enable BPF program instruction traces ( #15613 ) ( #15621 )
...
(cherry picked from commit 3cd00965a7
)
Co-authored-by: Jack May <jack@solana.com >
2021-03-02 00:35:55 -08:00
sakridge
fa7067950a
Update version to v1.5.11 ( #15574 )
2021-02-27 04:27:54 +00:00
mergify[bot]
7d67f5b18c
check program owners ( #15495 ) ( #15568 )
...
* check program owners
* BankSlotDelta should change because InstructionError variant added
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit 8399851d11
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-02-26 23:34:55 +00:00
mergify[bot]
5e0ca65100
Implement OutputFormat for confirm in Cli and ledger-tool bigtable ( #15528 ) ( #15544 )
...
* Add CliTransaction struct
* Impl DisplayFormat for decode-transaction
* Add block-time to transaction println, writeln
* Impl DisplayFormat for confirm
* Use DisplayFormat in ledger-tool bigtable confirm
(cherry picked from commit d521dfe63c
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-02-25 22:31:12 +00:00
Jon Cinque
6500fed8b7
docs: Update stake merging documentation ( #15489 )
...
* Update stake merging documentation
* Integrate review feedback
* Integrate review feedback in comment too
(cherry picked from commit ebd43938a7
)
2021-02-25 09:13:13 -08:00
Michael Vines
a80ac11b68
Bump version to v1.5.11
2021-02-25 09:12:39 -08:00
Ryo Onodera
a52a22f558
Bump version to 1.5.10 ( #15533 )
2021-02-25 21:00:17 +09:00
mergify[bot]
241fb938c1
Check vote account initialization ( #15503 ) ( #15517 )
...
* Check account data_len on Vote account init
* Check account data populated on update_cached_accounts
(cherry picked from commit eddb7f98f5
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-02-24 18:22:48 +00:00
mergify[bot]
e5bb1597a4
Transition config program over to ic_msg() logging ( #15481 )
...
(cherry picked from commit 8680a46458
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-02-23 05:36:44 +00:00
Michael Vines
671fb3519d
Pacify clippy
2021-02-19 16:04:18 -08:00
mergify[bot]
291f81d5b0
Bump SPL token version to v3.1.0 (bp #15429 ) ( #15434 )
...
* Bump SPL token version to v3.1.0 (#15429 )
* Bump SPL token version to v3.1.0
* Cargo.lock
(cherry picked from commit 15bbe6436d
)
# Conflicts:
# account-decoder/Cargo.toml
# core/Cargo.toml
* Update Cargo.toml
* Update Cargo.toml
Co-authored-by: Justin Starry <justin@solana.com >
2021-02-19 12:14:05 +00:00
mergify[bot]
7148aaa30c
chore: bump serde from 1.0.112 to 1.0.118 (bp #14828 ) ( #15394 )
...
* chore: bump serde from 1.0.112 to 1.0.118 (#14828 )
* chore: bump serde from 1.0.112 to 1.0.122
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.112 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.122 )
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
* Update frozen_abi digest following serde update
* Revert "chore: bump serde from 1.0.112 to 1.0.122"
This reverts commit a3ef4442a4
.
* Revert "[auto-commit] Update all Cargo lock files"
This reverts commit c41c3b005f
.
* chore: bump serde from 1.0.112 to 1.0.118
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.112 to 1.0.118.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.118 )
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
* Remove serum-dex pinning
* blind commit!
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
(cherry picked from commit 1df93fa2be
)
# Conflicts:
# banks-interface/Cargo.toml
# perf/Cargo.toml
# programs/config/Cargo.toml
* Fix conflicts
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-02-18 13:29:17 +00:00
mergify[bot]
7a3c4c184f
sdk: Add Borsh support for types and utilities (bp #15290 ) ( #15393 )
...
* sdk: Add Borsh support for types and utilities (#15290 )
* sdk: Add Borsh to Pubkey
* Add serialization error for easier borsh integration
* Add Borsh usage to banks-client and sdk
* Rename SerializationError -> IOError
* Add new errors to proto
* Update Cargo lock
* Update Cargo.lock based on CI
* Clippy
* Update ABI on bank
* Address review feedback
* Update sanity program instruction count test
(cherry picked from commit 0f6f6080f3
)
# Conflicts:
# banks-client/Cargo.toml
* Update new dependencies
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-02-18 13:23:08 +00:00
mergify[bot]
abf2d71f4c
More failure codepath tracing ( #15246 ) ( #15370 )
...
(cherry picked from commit 4e99aa5fa6
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-02-18 00:36:46 +00:00
mergify[bot]
1a8b57fcd0
First step towards denying clippy::integer_arithmetic (bp #15366 ) ( #15381 )
...
* CI: Globally deny clippy::integer_arithmetic lint
(cherry picked from commit 7035e8485c
)
* Re-allow clippy::integer_arithmetic at crate-level
(cherry picked from commit 7f7370c306
)
# Conflicts:
# bench-tps/tests/bench_tps.rs
Co-authored-by: Trent Nelson <trent@solana.com >
2021-02-17 22:30:03 +00:00
mergify[bot]
723c03dfbd
Adapt to fs_extra 1.2.0 ( #15380 )
...
(cherry picked from commit 9ba69a7381
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-02-17 22:07:12 +00:00
mergify[bot]
0a1fcfa08b
docs: Remove references to "create_address_with_seed" ( #15339 ) ( #15372 )
...
(cherry picked from commit 3ac7e09de6
)
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-02-17 14:50:25 +00:00
Michael Vines
8820933287
Bump version to 1.5.9
2021-02-16 22:17:10 -08:00
Tyera Eulberg
65600f9a1f
Move fn to sdk
2021-02-16 19:24:35 -08:00
Stephen Akridge
ef61dc9780
Vote program updates
2021-02-16 18:58:34 -08:00
Tyera Eulberg
d54632da00
Clean & check stake
2021-02-16 18:54:24 -07:00
Trent Nelson
c3dda3ce0c
stake: add lamports overflow test for withdraw
...
(cherry picked from commit ae82b5ebfd
)
2021-02-16 17:38:38 -08:00
mergify[bot]
6656b3965f
rbpf-v0.2.5 ( #15334 ) ( #15335 )
...
(cherry picked from commit b43d2bc882
)
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
2021-02-16 17:55:04 +00:00
Trent Nelson
543f7e7ec1
Bump rand_core to 0.6.2
...
https://rustsec.org/advisories/RUSTSEC-2021-0023
2021-02-15 17:58:41 -07:00
Trent Nelson
20afb912cd
Bump version to 1.5.8
2021-02-13 04:34:36 +00:00
sakridge
563231132f
Stake program update ( #15308 )
2021-02-12 17:15:48 -08:00
mergify[bot]
ccd2c6cc13
Add per-byte logging cost ( #15279 ) ( #15282 )
...
(cherry picked from commit 6650fbf443
)
Co-authored-by: Jack May <jack@solana.com >
2021-02-12 02:09:45 +00:00
mergify[bot]
e9ceb99460
Match BPF instruction reporting to dump file ( #15254 ) ( #15256 )
...
(cherry picked from commit 10abd199e1
)
Co-authored-by: Jack May <jack@solana.com >
2021-02-11 02:52:25 +00:00
Michael Vines
cd994f0162
Bump version to 1.5.7
2021-02-10 05:18:39 +00:00
mergify[bot]
40e62c60d3
Require lockup authority to change withdraw authority on locked stake ( #14861 ) ( #15170 )
...
(cherry picked from commit dc7041ba07
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-02-06 08:27:25 +00:00
Michael Vines
d7d8a751d9
Increment hyper versions to pacify cargo audit ( #15172 )
2021-02-05 23:13:16 -08:00
mergify[bot]
baf7713744
Fix integer overflow in degenerate invoke_signed BPF syscalls ( #15051 ) ( #15069 )
...
(cherry picked from commit ebbaa1f8ea
)
Co-authored-by: Mrmaxmeier <Mrmaxmeier@gmail.com >
2021-02-03 23:04:03 +00:00
mergify[bot]
573304cf73
Fix which shared object the test uses ( #15060 ) ( #15068 )
...
(cherry picked from commit 02a5f7104a
)
Co-authored-by: Jack May <jack@solana.com >
2021-02-03 22:49:55 +00:00
mergify[bot]
f463ebfde2
Upgradeable loader max_data_len limit ( #15039 ) ( #15057 )
...
(cherry picked from commit d24d5fba0e
)
Co-authored-by: Jack May <jack@solana.com >
2021-02-03 18:34:06 +00:00
mergify[bot]
f534698618
CLI: Add sigverify results to solana decode-transaction
output (bp #14964 ) ( #15008 )
...
* 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:33:24 +00:00
mergify[bot]
5da9e7cb8a
Parse SPL Memo v3 ( #14979 ) ( #14989 )
...
* Parse memo v3 too
* tree
(cherry picked from commit 34dfcc9c6f
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-02-01 23:16:01 -07:00
mergify[bot]
bdd19c09d1
More rich runtime logging ( #14938 ) ( #14967 )
2021-02-01 14:26:31 -08:00