behzad nouri
272e667cb2
deprecates Pubkey::new in favor of Pubkey::{,try_}from ( #29805 )
...
The commit deprecates Pubkey::new which lacks type-safety and instead
implements TryFrom<&[u8]> and TryFrom<Vec<u8>> for Pubkey.
2023-01-21 18:06:27 +00:00
valiksinev
5f7fea100a
Big integer modular exponentiation (EIP-198) ( #28503 )
...
* big_mod_exp impl
* fix programs/sbf/Cargo.lock
* ComputeBudget impl
* update compute_budget
* compute_budget update
* fix build
* fix tests
* fix cargo clippy
* fix clippy
* fix bpf_loader dependency sorting
* fix sorting
* fix merge from master
* fix cargo fmt
* fix C-tests
* fix cargo fmt
* comments apply
* fix programs/sbf/Cargo.lock
* update compude_budget cost
* remove whitespaces
* fix cargo fmt
Co-authored-by: sinev-valentine <sinev-valentine@yandex.ru>
2023-01-20 18:42:37 +09:00
behzad nouri
d463bcc5f8
removes manual implementations of Default for enums ( #29779 )
2023-01-19 19:25:30 +00:00
Trent Nelson
c4e43f1de4
vote: encapsulate `Lockout` ( #29753 )
2023-01-18 19:28:28 -07:00
behzad nouri
0941d133a8
adds new solana_version::Version with ClientId ( #29649 )
2023-01-17 22:21:14 +00:00
Tao Zhu
1d88654116
Revert "Cap accounts data a transaction can load by its requested limit" ( #29373 )
...
Revert "Cap accounts data a transaction can load by its requested limit (#27840 )"
This reverts commit 81dc2e56ac
.
2023-01-17 11:34:18 +01:00
Brooks
da39c4837f
Use Into in Hash::result() instead of TryFrom ( #29721 )
2023-01-16 12:13:04 -05:00
behzad nouri
80a39bd6a5
adds feature to (temporarily) drop merkle shreds from testnet ( #29711 )
2023-01-15 15:41:58 +00:00
behzad nouri
71713a92c1
verifies serde_varint against ShortU16 ( #29701 )
2023-01-14 15:26:16 +00:00
dependabot[bot]
10f8b5faa3
Bump memmap2 from 0.5.3 to 0.5.8 ( #29674 )
...
* Bump memmap2 from 0.5.3 to 0.5.8
Bumps [memmap2](https://github.com/RazrFalcon/memmap2-rs ) from 0.5.3 to 0.5.8.
- [Release notes](https://github.com/RazrFalcon/memmap2-rs/releases )
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v0.5.3...v0.5.8 )
---
updated-dependencies:
- dependency-name: memmap2
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
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2023-01-12 19:38:38 -07:00
Trent Nelson
730aa71834
add note about discrepancy between accounts load and sanitize caps ( #29669 )
2023-01-11 23:18:07 -07:00
Brennan Watt
69c4db27c5
Configurable hashes per tick ( #29659 )
2023-01-11 16:56:11 -08:00
Tao Zhu
3d63f93bb0
remove dated cost checking feature ( #29598 )
2023-01-11 14:05:33 -06:00
HaoranYi
d693167dfb
Feature: filter stake by min delegation for rewards ( #29618 )
...
filter stake by min delegation for rewards
2023-01-11 08:55:18 -06:00
dependabot[bot]
864a7d8d6f
Bump bzip2 from 0.4.3 to 0.4.4 ( #29630 )
...
* Bump bzip2 from 0.4.3 to 0.4.4
Bumps [bzip2](https://github.com/alexcrichton/bzip2-rs ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/alexcrichton/bzip2-rs/releases )
- [Commits](https://github.com/alexcrichton/bzip2-rs/commits/0.4.4 )
---
updated-dependencies:
- dependency-name: bzip2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2023-01-10 23:08:22 -07:00
Yihau Chen
3032c6d3e8
chore: bump itertools to 0.10.5 ( #29580 )
2023-01-11 14:07:38 +08:00
Yihau Chen
6a97e84db2
chore: bump log to v0.4.17 ( #29579 )
2023-01-11 14:07:25 +08:00
Trent Nelson
61e2da45f8
fix: synchronize cpi error prioritization with v1.14 (fp #29593 ) ( #29621 )
...
* Revert "Removes `serialized_len_ptr` from `CallerAccount`. (#26737 )"
36cfa78fa0
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
2023-01-10 14:28:38 -07:00
Dmitri Makarov
cc4e134079
Add an option to install a specific version of sbf-tools ( #29544 )
2023-01-10 06:14:24 -08:00
Yihau Chen
00bee936b1
chore: bump anyhow to 1.0.58 ( #29572 )
2023-01-10 12:46:31 +08:00
Alexander Meißner
db277d320b
Adds TX signature to `TransactionContext` in debug mode ( #29597 )
...
Adds TX signature to TransactionContext in debug mode.
2023-01-10 00:54:26 +01:00
Jeff Washington (jwash)
a703019caa
feature: don't do rewrites in rent collection ( #26491 )
...
* feature: don't do rewrites in rent collection
* modify test to specifically test this feature
2023-01-09 08:14:17 -08:00
acheron
e92f93c290
Fix deprecated warning on solana-sdk ( #29109 )
2023-01-07 06:48:10 +00:00
behzad nouri
5c9beef498
fixes errors from clippy::useless_conversion ( #29534 )
...
https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
2023-01-05 18:05:32 +00:00
Yihau Chen
d078c041d1
chore: add missing members back to workspace.members ( #29450 )
...
* frozen-abi/macro
* program-runtime
* sdk/macro
* sdk/program
* storage-bigtable/build-proto
* fix sorting
2023-01-04 13:22:00 +08:00
Jeff Washington (jwash)
cf1aa4beea
feature: set rent_epoch to Epoch::MAX ( #28690 )
...
* check android builds
* feature: set rent_epoch to Epoch::MAX
* tweaks
* Update runtime/src/rent_collector.rs
Co-authored-by: Brooks Prumo <brooks@prumo.org>
* simplify changes to tests
* back out some test changes
* calculate_rent_result passes through Exempt
* move calc outside loop
* if rent epoch is already max, use 'NoRentCollectionNow'
Co-authored-by: Brooks Prumo <brooks@prumo.org>
2023-01-02 07:51:08 -08:00
behzad nouri
456d06785d
experiments different turbine fanouts for propagating shreds ( #29393 )
...
The commit allocates 2% of slots to running experiments with different
turbine fanouts based on the slot number.
The experiment is feature gated with an additional feature to disable
the experiment.
2022-12-26 14:18:56 +00:00
Dmitri Makarov
2681720557
Re-enable cargo-build-sbf tests ( #29415 )
2022-12-25 07:25:22 -05:00
Dmitri Makarov
3a14e52eb7
Bump sbf-tools to v1.32 ( #29325 )
...
* Bump sbf-tools to v1.32
This version of sbf-tools is based on Rust 1.65.0 and LLVM 15.0.
* Temporary ignore build-sbf tests until issue with buildkite cache resolved
2022-12-24 11:34:12 -08:00
Dmitri Makarov
b0c8e0ff03
Enable full output of cargo-build-sbf tests ( #29411 )
2022-12-24 09:28:44 -08:00
Dmitri Makarov
33946f5007
Add an option to reinstall sbf-tool binaries by cargo-build-sbf ( #29410 )
2022-12-24 08:54:55 -08:00
Jon Cinque
968b158494
vote: Prevent commission update in the second half of epochs ( #29362 )
...
* vote: Prevent commission update in the second half of epochs
* Address feedback
* Fix tests
* Make the feature enabled by single-contributor
* Use a cooler pubkey
2022-12-23 12:24:39 +01:00
Brian Anderson
edd5f6f3be
Expand solana-sdk API docs. ( #29063 )
...
* Expand solana-sdk API docs.
* Update sdk/src/genesis_config.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Update sdk/src/hard_forks.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Update sdk/src/builtins.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Update sdk/src/builtins.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Update sdk/src/rpc_port.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Update sdk/src/lib.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Clarify derivation_path docs
* 'entry point' -> 'entrypoint'
Co-authored-by: Tyera <teulberg@gmail.com>
2022-12-22 08:58:06 +00:00
Tyera
1e0d3931fd
Fix "tranaction" typo in code base ( #29347 )
...
Fix typos
2022-12-21 18:02:36 -07:00
Brennan Watt
86b2e545e1
Prune redundant const SLOT_MS ( #29278 )
...
* Alias redundant const SLOT_MS to DEFAULT_MS_PER_SLOT
* Slate SLOT_MS for deprecation
* Add doc comments
Co-authored-by: Brooks Prumo <brooks@prumo.org>
2022-12-16 08:05:09 -08:00
Alexander Meißner
721496b900
Feature - Program redeployment cooldown ( #29136 )
...
* Registers the feature enable_program_redeployment_cooldown.
* Adds redeployment slot constraint.
* Adds test to assert that closed programs can not be reopened.
* Ensure that program close truncates the account data.
* Adds set_sysvar_for_tests() to SBF program tests.
2022-12-13 22:54:24 +01:00
behzad nouri
9524c9dbff
patches errors from clippy::uninlined_format_args
...
https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
2022-12-06 19:32:15 +00:00
Jon Cinque
b1340d77a2
sdk: Make Packet::meta private, use accessor functions ( #29092 )
...
sdk: Make packet meta private
2022-12-06 12:54:49 +01:00
ananas-block
a901fccb00
remove unwraps in alt_bn128 syscall ( #28955 )
...
removed unwraps in alt_bn128 syscall
2022-12-02 10:30:10 +01:00
Alexander Meißner
f766895f78
Adds a feature ID for `enable_alt_bn128_syscall` ( #28908 )
...
Adds a feature ID for enable_alt_bn128_syscall.
2022-12-01 09:58:23 +01:00
Jeff Washington (jwash)
7999f4278e
add feature #28934 (no-op in master) ( #28936 )
2022-11-28 14:58:59 -08:00
apfitzge
bdd162492c
Feature/multi-iterator-scanner-read-locks ( #28862 )
2022-11-28 11:23:04 -06:00
Maximilian Schneider
c8b0c3ede9
Update cost model to use requested_cu instead of estimated cu #27608 ( #28281 )
...
* Update cost model to use requested_cu instead of estimated cu #27608
* remove CostUpdate and CostModel from replay/tvu
* revive cost update service to send cost tracker stats
* CostModel is now static
* remove unused package
Co-authored-by: Tao Zhu <tao@solana.com>
2022-11-22 11:55:56 -06:00
apfitzge
76df864469
typo: failre to failure ( #28822 )
2022-11-21 12:54:28 -06:00
ananas-block
afc3fee937
added alt_bn syscalls ( #27961 )
...
* added alt_bn128_syscalls
* increased regression build redundancy to > 10
2022-11-21 17:43:06 +01:00
bji
6dc7cd0845
Fixed warnings caused by redefined macros. Also fixed sol_memcpy to … ( #28378 )
...
Fixed warnings caused by redefined macros. Also fixed sol_memcpy to have
the same signature as memcpy.
2022-11-20 03:42:17 +00:00
Lijun Wang
ad24e37cc0
Limit the maximum staked streams to avoid excessive streams from staked nodes ( #27973 )
...
* Limit the maximum staked streams to avoid excessive streams from staked nodes.
* Fixed a clippy issue
2022-11-15 12:58:10 -08:00
Tao Zhu
81dc2e56ac
Cap accounts data a transaction can load by its requested limit ( #27840 )
...
- Add new compute-budget instruction to set transaction-wide accounts data size limit
- Set default accounts data limit to 10MB, and max to 100MB, per transaction;
- Add getters to make changing default and/or max values easier in the future with feature gates;
- added error counter for transactions exceed data size limit
2022-11-14 10:29:35 -06:00
Alexander Meißner
66d06b3f99
Revert #27444 ( #28784 )
...
* Removes SyscallSetAccountProperties.
* Removes TransactionContextAttribute.
2022-11-11 10:26:55 +01:00
Brian Anderson
7f8d37c011
Add missing solana-program docs ( #28770 )
2022-11-09 13:33:19 -07:00
Brooks Prumo
d1ba42180d
clippy for rust 1.65.0 ( #28765 )
2022-11-09 19:39:38 +00:00
Alexander Meißner
93fc4edef8
Refactor - derive `CloneZeroed` ( #28771 )
...
* Adds proc_macro_derive(CloneZeroed).
* Switches over all use sites of clone_zeroed() and copy_field().
* Removes clone_zeroed() and copy_field().
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2022-11-09 18:15:42 +01:00
Denis K
d0f736a0d9
Fix 2 clippy warnings with temporary references ( #28744 )
2022-11-08 14:59:56 +00:00
Sergey Melnychuk
0347d9cf78
Remove unnecessary clone of a String ( #28758 )
2022-11-07 20:42:19 +00:00
Dmitri Makarov
0564d2a785
Add to cargo-test-sbf an option to test specific packages
2022-11-04 16:35:46 +00:00
ryleung-solana
842fa993c8
Quic fix calculation of staked number of concurrent streams ( #28705 )
...
* Fix calculation of staked number of concurrent streams
2022-11-03 20:45:44 +08:00
Brian Anderson
6972afe2c4
Add docs for system_instruction and some of its functions ( #28052 )
...
* Add docs for system_instruction and some of its functions
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Apply review feedback
* Use PDAs in system_instruction examples
* Fix 'bump seed' terminology in system_instruction docs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2022-11-01 14:33:46 -06:00
0xripleys
5de4dd8f9b
Add SetAuthorityChecked instruction to bpf loader ( #28424 )
...
* SetAuthorityChecked
* restore old logic for loader
* add more upgrade authority checked test cases
* setBufferAuthority checked tests
* format
* add set_buffer_authority_checked instruction to sdk
* Update transaction-status/src/parse_bpf_loader.rs
Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
* add is_set_authority_checked function
* fix set_buffer_authority_checked sdk instruction
* feature gate setAuthorityChecked
* add bpf loader tests for setAuthorityChecked ixs
* test that you can set to same authority
* allow set_authority_checked to be called via cpi (if feature is enabled)
* fix ci
* fmt
Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
Co-authored-by: Justin Starry <justin@solana.com>
2022-11-01 08:34:04 +00:00
Dmitri Makarov
34865d032c
chore: update Solana docs and code comments that specify "BPF" to "SBF"
2022-10-31 14:14:25 -04:00
apfitzge
37fb603fc0
precompile verify: &Arc<FeatureSet> to &FeatureSet ( #27647 )
2022-10-27 19:25:33 -05:00
Alexander Meißner
a43098a428
Feature - Check syscall outputs do not overlap ( #28599 )
...
* Extends is_nonoverlapping() to be able to deal with two different lengths.
* Uses is_nonoverlapping() for syscall output parameters.
* Feature gates the new throws of SyscallError::CopyOverlapping.
* Adds tests which trigger SyscallError::CopyOverlapping.
2022-10-27 19:11:18 +02:00
Dmitri Makarov
d6b3d338d0
Bump sbf-tools to v1.31
2022-10-27 07:18:35 -04:00
Jeff Washington (jwash)
1ff2740905
feature 28541 no-op ( #28542 )
2022-10-24 07:52:11 -07:00
Ashwin Sekar
9eafad467c
Add convenience methods to VoteInstruction to distinguish vote types ( #28526 )
...
* Add convenience methods to VoteInstruction to distinguish vote types
* use matches! macro instead
2022-10-21 14:17:40 -06:00
Dmitri Makarov
786c558a1f
Bump sbf-tools to v1.30
2022-10-21 09:36:18 -04:00
kirill lykov
1c4ac56e56
Remove immutable deploy ( #28399 )
...
* remove Deploy option from cli
* remove solana deploy from comments
* introduce dummy deploy command to improve user experience
2022-10-21 09:29:37 +02:00
Justin Starry
199398d5c4
Rename transaction v2 proposal ( #28508 )
...
Rename transactions v2 proposal to clear up versioning
2022-10-21 09:29:22 +08:00
Ashwin Sekar
f207af765e
Split out voting and banking threads in banking stage ( #27931 )
...
* Split out voting and banking threads in banking stage
Additionally this allows us to aggressively prune the buffer for voting threads
as with the new vote state only the latest vote from each validator is
necessary.
* Update local cluster test to use new Vote ix
* Encapsulate transaction storage filtering better
* Address pr comments
* Commit cargo lock change
* clippy
* Remove unsafe impls
* pr comments
* compute_sanitized_transaction -> build_sanitized_transaction
* &Arc -> Arc
* Move test
* Refactor metrics enums
* clippy
2022-10-20 21:10:48 +00:00
Jeff Washington (jwash)
fd2e671861
remove slot# from account hash ( #28405 )
...
* remove slot# from account hash
* add feature
* fix tests
* constants to help clarify 'irrelevant' changes
* move to enum for enforcing irrelevancy
* ignore unsupported tests
2022-10-18 08:03:37 -07:00
Alexey Skibin
108a02cfd4
Add off-chain messages support ( #27456 )
2022-10-17 11:19:12 -04:00
Dmitri Makarov
d6813b98d2
chore: move programs/bpf to programs/sbf
2022-10-13 11:40:40 -04:00
samkim-crypto
3f63283eda
add curve25519 multiscalar multiplication syscall ( #28216 )
...
* add curve25519 multiscalar multiplication syscall
* update compute unit costs
* update tests
* add update to compute budget
* add syscall call function
* update compute costs in tests
* update syscall syntax
2022-10-12 14:43:02 +09:00
Kevin Heavey
061bed0a8c
More missing derives ( #27418 )
...
* add Eq, PartialEq to EpochInfo
* add Eq, PartialEq related to transactions and messages
* add Eq, PartialEq to Ed25519SignatureOffsets
* add Eq, PartialEq to FeatureSet
* add Eq, PartialEq to fee.rs
* add Eq, PartialEq to GenesisConfig
* don't add Eq to GenesisConfig because floats
* add Eq, PartialEq to PohConfig
* add Eq, PartialEq to SecpSignatureOffsets
* add some missing derives to transaction_context.rs
* add Eq, PartialEq to ProcessedSiblingInstruction
2022-10-11 12:59:58 -07:00
Jeff Biseda
15050b14b9
use signed repair request variants ( #28283 )
2022-10-10 14:09:45 -07:00
apfitzge
3781c0668f
separate account locks validation from creating the locks ( #28292 )
2022-10-07 12:23:18 -05:00
Dmitri Makarov
f4dd24491f
Migrate SDK from BPF to SBF
2022-10-07 08:57:06 -04:00
Alessandro Decina
f6fee4ac3a
Serialization refactor ( #28251 )
...
* Use infallible, unchecked methods to write into the serialization buffer
We serialize in two steps: first we compute the size of the buffer, then
we write into it. Therefore there's no need to check if each individual
write fits the buffer - we know it does we just computed the required
size.
* serialize_parameters: remove extra loop/borrows
Remove one extra loop over accounts to gather account lengths. Also
gather all accounts at once and avoid temporary borrows.
* Move creating MemoryRegions for serialized parameters from create_vm to serialize_parameters
This is in preparation of using multiple MemoryRegions once we land direct account mapping.
* bpf_loader: introduce internal API to build serialization buffer/regions
This is prep work for landing the direct_mapping feature, which maps account
data in their own memory regions.
* serialization: fix after API changes
2022-10-07 07:45:05 +01:00
Justin Starry
ddf95c181c
RPC: Support versioned txs in getFeeForMessage API ( #28217 )
...
* RPC: Support versioned txs in getFeeForMessage API
* Update sdk/program/src/message/sanitized.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2022-10-05 00:00:34 +08:00
Jeff Washington (jwash)
7b4a6ded5b
remove feature return_none_for_zero_lamport_accounts ( #28144 )
2022-10-03 12:22:56 -07:00
Ashwin Sekar
84acef007c
Add bench test for voting threads ( #28031 )
2022-09-27 12:12:22 -07:00
Alexander Meißner
71aee4fcaf
Feature: Explicitly limit `TransactionContext::instruction_trace_capacity` ( #27938 )
...
* Renames instruction_stack_capacity => instruction_stack_capacity.
* Replaces number_of_instructions_at_transaction_level by instruction_trace_capacity.
* Adds MaxInstructionTraceLengthExceeded.
* Adjusts TransactionContext::new() parameter.
* Adds feature gate limit_max_instruction_trace_length.
* Adds test_max_instruction_trace_length().
2022-09-26 10:47:16 +02:00
Alessandro Decina
b9f4c8e3c0
BorrowedAccount: add set_data_from_slice(), make set_data() take owned values ( #27836 )
...
* BorrowedAccount: add set_data_from_slice(), make set_data() take owned values
set_data() used to take a slice and would force alloc+copy if the caller
has owned values (eg account creation, account lookup table).
Expose set_data_from_slice() for callers that have slices, and switch
set_data() to taking an owned Vec.
* BorrowAccount: refactor common accounts_update_delta code in helper method
* BorrowedAccount: add extend_from_slice()
This allows avoiding copies appending entries to account lookup tables.
* BorrowedAccount: remove unnecessary ifs around update_accounts_resize_delta
2022-09-24 01:37:02 +01:00
behzad nouri
9ee53e594d
patches clippy errors from new rust nightly release ( #28028 )
2022-09-23 20:57:27 +00:00
Jeff Biseda
206cc9407b
allow unsigned repair requests ( #27910 )
2022-09-23 10:11:08 -07:00
Alessandro Decina
bad09812e3
AccountSharedData: optimize set_data_from_slice
...
Remove memcmp and try to avoid allocations by trying to reuse or extend
existing capacity.
2022-09-23 11:31:33 +01:00
behzad nouri
9a57c64f21
patches clippy errors from new rust nightly release ( #27996 )
2022-09-22 22:23:03 +00:00
Justin Starry
108b245e6b
Require program account to be writable in extend program data ix ( #27911 )
...
* Require program account to be writable in extend program data ix
* feedback
2022-09-22 12:03:06 +08:00
Justin Starry
00b0a92ec4
Support sending versioned txs in rpc client ( #27933 )
...
* Support sending versioned txs in rpc client
* Revert adding instructions_mut function
2022-09-22 01:25:43 +00:00
dependabot[bot]
ca6f13a14d
chore: bump sha3 from 0.10.2 to 0.10.4 ( #27656 )
...
* chore: bump sha3 from 0.10.2 to 0.10.4
Bumps [sha3](https://github.com/RustCrypto/hashes ) from 0.10.2 to 0.10.4.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha3-v0.10.2...sha3-v0.10.4 )
---
updated-dependencies:
- dependency-name: sha3
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
* Revert sha3 bump in zk-token-sdk
Signed-off-by: dependabot[bot] <support@github.com>
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: Tyera Eulberg <tyera@solana.com>
2022-09-21 15:31:42 -06:00
dependabot[bot]
c4fa849844
chore: bump itertools from 0.10.3 to 0.10.5 ( #27962 )
...
* chore: bump itertools from 0.10.3 to 0.10.5
Bumps [itertools](https://github.com/rust-itertools/itertools ) from 0.10.3 to 0.10.5.
- [Release notes](https://github.com/rust-itertools/itertools/releases )
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/commits )
---
updated-dependencies:
- dependency-name: itertools
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
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-09-21 15:28:49 -06:00
dependabot[bot]
00e4313542
chore: bump regex from 1.5.6 to 1.6.0 ( #27678 )
...
* chore: bump regex from 1.5.6 to 1.6.0
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.6 to 1.6.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.6...1.6.0 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-09-21 18:09:33 +00:00
Justin Starry
b9700244b5
Increase transaction account lock limit from 64 to 128 ( #27242 )
...
* Increase transaction account lock limit from 64 to 256
* fix bpf test
* Reduce lock limit from 256 to 128
2022-09-15 13:50:14 -04:00
Jeff Washington (jwash)
138d5ed5b0
don't return zero lamport accounts from 'load' with feature ( #27793 )
...
* don't return zero lamport accounts from 'load'
* add feature
* rename
2022-09-15 08:46:32 -07:00
Ashwin Sekar
c74df830b1
Add structure to collect and coalesce vote packets ( #27558 )
...
* Add structure to collect and coalesce vote packets
Will be used in banking stage to throw out extraneous vote packets
before processing
* pr comments
* Update inner lock to arc to improve performance
2022-09-14 00:44:26 -07:00
Will Hickey
c0e4379f43
Whickey/version v1.15 ( #27739 )
...
* Bump version to v1.13.0
* Bump version to v1.14.0
* Bump version to v1.15.0
2022-09-13 09:06:15 -05:00
behzad nouri
4f22ee8f9b
uses varint encoding for vote-state lockout offsets
...
The commit removes CompactVoteStateUpdate and instead reduces serialized
size of VoteStateUpdate using varint encoding for vote-state lockout
offsets.
2022-09-12 16:31:20 +00:00
behzad nouri
f6fbc47b2d
adds serde varint encoder/decoder
...
#[derive(Deserialize, Serialize)]
struct Foo {
#[serde(with = "serde_varint")]
field: u64,
...
}
2022-09-12 16:31:20 +00:00
Christian Kamm
90b8a3a44d
Remove KeypairInsecureClone trait and add insecure_clone() instead ( #27396 )
...
See discussion in #26248
2022-09-12 14:59:41 +00:00
Tao Zhu
ced8f6a512
Add feature gate to remove support for RequestUnitsDeprecated instruction ( #27503 )
...
* feature gate: remove support for RequestUnitsDeprecated instruction #27500
* review update: stop support deprecated ix for prioritization
* Apply suggestions from code review
Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2022-09-09 22:24:21 +00:00
dependabot[bot]
7a1f4ffa6b
chore: bump sha2 from 0.10.2 to 0.10.5 ( #27620 )
...
* chore: bump sha2 from 0.10.2 to 0.10.5
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.10.2 to 0.10.5.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.2...sha2-v0.10.5 )
---
updated-dependencies:
- dependency-name: sha2
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
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-09-08 14:07:27 -06:00