mergify[bot]
9cca79090c
Refactor remote-wallet path parsing (backport #16798 ) ( #16893 )
...
* SDK: More conversions for `Pubkey`
(cherry picked from commit 9b7120bf73
)
* SDK: More conversion for `DerivationPath`
(cherry picked from commit 722de942ca
)
* remote-wallet: Add helpers for locating remote wallets
(cherry picked from commit 64fcb792c2
)
# Conflicts:
# Cargo.lock
* remote-wallet: Plumb `Locator` into `RemoteWalletInfo`
(cherry picked from commit 3d12be29ec
)
# Conflicts:
# remote-wallet/src/ledger.rs
* remote-wallet: `derivation-path` crate doesn't like empty trailing child indexes
(cherry picked from commit 4ce4f04c58
)
* remote-wallet: Move `Locator` to its own module
(cherry picked from commit cac666d035
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-04-28 04:20:19 +00:00
Michael Vines
7f2977a3b0
Bump version to 1.5.20
2021-04-20 17:04:26 +00:00
Kristofer Peterson
7df2525972
Refactored ShortU16Visitor::visit_seq() to reject overflows, extra leading zeros and ensure one-to-one encoding.
2021-04-20 03:01:52 -06:00
Trent Nelson
90543940bd
sdk: ShortU16 - rename variables for clarity
...
ShortU16's implementation embeds its usage as the length of a
ShortVec, confusingly referring to both a 'len' and a 'size'
at the same time.
2021-04-20 03:01:52 -06:00
Trent Nelson
dd21f20555
sdk: Add ShortU16 deser test
2021-04-20 03:01:52 -06:00
Trent Nelson
b5894515e8
perf: use saturating/checked integer arithmetic
2021-04-19 23:05:26 -07:00
mergify[bot]
ef3c33ad06
Remove blake3 from bpf program dependencies ( #16506 ) ( #16528 )
...
(cherry picked from commit f641429056
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-04-14 03:22:12 +00:00
Justin Starry
02762ff785
v1.5: Use blake3 message hash in status cache ( #16513 )
...
* v1.5: Use blake3 message hash in status cache
* bump bpf ix count
2021-04-14 09:52:24 +08:00
mergify[bot]
11ab894256
[easy, cleanup] Simplify some pattern-matches (bp #16402 ) ( #16445 )
...
* Simplify some pattern-matches (#16402 )
When those match an exact combinator on Option / Result.
Tool-aided by [comby-rust](https://github.com/huitseeker/comby-rust ).
(cherry picked from commit b08cff9e77
)
# Conflicts:
# accounts-cluster-bench/src/main.rs
# core/src/rpc.rs
# runtime/src/accounts_hash.rs
# runtime/src/message_processor.rs
* Fix conflicts
Co-authored-by: François Garillot <4142+huitseeker@users.noreply.github.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-04-08 20:01:20 +00:00
Trent Nelson
c32bd40aa4
Bump version to v1.5.19
2021-04-01 20:23:50 +00:00
Tyera Eulberg
ac4722afd7
Bump version to 1.5.18
2021-03-29 23:00:20 -07:00
mergify[bot]
9ded0bdc03
Allow incomplete features in frozen-abi ( #16204 )
...
(cherry picked from commit 9ba9d2a8ae
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-30 05:33:15 +00:00
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
mergify[bot]
173ca7b448
program: Correct clamp in Message::signer_keys() ( #16113 )
...
(cherry picked from commit 8b3de72e2a
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-25 06:41:14 +00:00
Tyera Eulberg
f356a05e96
Bump version to 1.5.17 ( #16043 )
2021-03-19 18:56:05 -06:00
mergify[bot]
57833a36e3
Santize instruction index when loading instruction from sysvar ( #15942 ) ( #16003 )
...
(cherry picked from commit 4c5660ba7a
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-03-19 13:25:39 +08: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]
eed62bc408
Add helper for paring down signers to those requried by a tx message (bp #15899 ) ( #15937 )
...
* sdk: Add accessor for signer pubkeys of a tx message
(cherry picked from commit bf33ce8906
)
* clap-utils: Add helper to `CliSignerInfo` for getting signers for a message
(cherry picked from commit 4e99f1e634
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-17 05:22:40 +00:00
Michael Vines
be05c8b121
Bump version to 1.5.16
2021-03-16 13:29:52 -07:00
mergify[bot]
191e51b01d
Wallclock BankingStage Throttle ( #15731 ) ( #15889 )
...
(cherry picked from commit c1ba265dd9
)
Co-authored-by: carllin <carl@solana.com >
2021-03-16 08:40:03 +00:00
Michael Vines
9a151259b2
=1.5.15
2021-03-16 00:32:15 -07:00
Michael Vines
39a2fbe2bf
Add Instruction::new_with_bincode
...
Programs can now prepare for the deprecation of `Instruction::new` in v1.6
2021-03-16 05:21:33 +00: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
mergify[bot]
e777436cfd
sdk: add macro for unchecked div with const denominator ( #15803 )
...
(cherry picked from commit 79ac1997de
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-11 10:03:30 +00:00
Tyera Eulberg
9fbc03d517
Bump version to 1.5.15 ( #15768 )
2021-03-09 01:48:54 +00:00
mergify[bot]
30781bb7b1
consolidate DEFAULT_HASHES_PER_TICK ( #14463 ) ( #15748 )
...
(cherry picked from commit 773b21b34e
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-03-06 02:59:43 +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
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
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
Michael Vines
5216f51ff2
Rename IOError to BorshIoError
2021-02-19 10:54:59 -08: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]
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]
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
mergify[bot]
99012f022e
sdk: sanitize Hash
base58 input ( #15315 )
...
(cherry picked from commit 1a20ab968f
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-02-13 09:54:06 +00:00
Trent Nelson
20afb912cd
Bump version to 1.5.8
2021-02-13 04:34:36 +00:00
Michael Vines
cd994f0162
Bump version to 1.5.7
2021-02-10 05:18:39 +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]
08bda35fd6
Buffer authority must match upgrade authority for deploys and upgrades (bp #14923 ) ( #14935 )
...
* Buffer authority must match upgrade authority for deploys and upgrades (#14923 )
(cherry picked from commit 07cef5a557
)
# Conflicts:
# cli/src/program.rs
# cli/tests/program.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-01-29 23:04:23 +00:00
Michael Vines
4378634970
Bump version to 1.5.6
2021-01-27 10:50:56 -08:00
Jack May
0cd1cce588
Update find_program_address docs ( #14840 )
...
(cherry picked from commit 4a4881d30f
)
2021-01-26 08:53:44 -08:00
mergify[bot]
c9da25836a
Upgrade to Rust v1.49.0 (bp #14810 ) ( #14811 )
...
* Upgrade to Rust v1.49.0
(cherry picked from commit cbffab7850
)
# Conflicts:
# core/src/crds_value.rs
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-24 04:42:09 +00:00
mergify[bot]
b48dd58fda
Upgrade sha2 to 0.9.3 ( #14746 ) ( #14799 )
...
(cherry picked from commit 191193289f
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-23 23:08:33 +00:00
mergify[bot]
dfbe38b859
Add solana-test-validator --warp-slot argument (bp #14785 ) ( #14796 )
...
* Add convenience function to create a snapshot archive out of any Bank
(cherry picked from commit dd5a2ef05f
)
* Add solana-test-validator --warp-slot argument
(cherry picked from commit bf1943e489
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-23 06:38:16 +00:00
mergify[bot]
74f813574f
Nonce address doesn't sign AdvanceNonceAccount ( #14722 )
...
(cherry picked from commit 447e3de1f2
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-21 05:31:55 +00:00