Will Hickey 
							
						 
					 
					
						
						
							
						
						1a99251498 
					 
					
						
						
							
							Bump version to 1.10.1 ( #23453 )  
						
						
						
						
					 
					
						2022-03-02 13:47:01 -06:00 
						 
				 
			
				
					
						
							
							
								Jeff Washington (jwash) 
							
						 
					 
					
						
						
							
						
						611d745241 
					 
					
						
						
							
							refactor rent_due for normal case of exempt ( #23350 )  
						
						
						
						
					 
					
						2022-02-28 09:42:42 -06:00 
						 
				 
			
				
					
						
							
							
								dependabot[bot] 
							
						 
					 
					
						
						
							
						
						856d29c7b7 
					 
					
						
						
							
							chore: bump parking_lot from 0.11.2 to 0.12.0 ( #23087 )  
						
						... 
						
						
						
						* chore: bump parking_lot from 0.11.2 to 0.12.0
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.11.2 to 0.12.0.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.11.2...0.12.0 )
---
updated-dependencies:
- dependency-name: parking_lot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Sync parking_lot
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com > 
						
						
					 
					
						2022-02-23 20:07:07 -07:00 
						 
				 
			
				
					
						
							
							
								Brooks Prumo 
							
						 
					 
					
						
						
							
						
						ac70070e5b 
					 
					
						
						
							
							Add MINIMUM_STAKE_DELEGATION constant ( #23259 )  
						
						... 
						
						
						
						Co-authored-by: Tyera Eulberg <teulberg@gmail.com > 
						
						
					 
					
						2022-02-22 09:21:23 -06:00 
						 
				 
			
				
					
						
							
							
								buffalu 
							
						 
					 
					
						
						
							
						
						70ebab2c82 
					 
					
						
						
							
							Add rustfmt.toml and cargo fmt ( #23238 )  
						
						... 
						
						
						
						* fmt
* formatted
Co-authored-by: Lucas B <buffalu@jito.network > 
						
						
					 
					
						2022-02-19 13:32:29 +08:00 
						 
				 
			
				
					
						
							
							
								Brian Anderson 
							
						 
					 
					
						
						
							
						
						f7753ce85f 
					 
					
						
						
							
							Document message APIs ( #22873 )  
						
						... 
						
						
						
						* Document message APIs
* Ignore clippy
* Update sdk/program/src/message/mod.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Fix new_with_blockhash example
* Rename nonce_account_address in example
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com > 
						
						
					 
					
						2022-02-11 11:47:36 -07:00 
						 
				 
			
				
					
						
							
							
								Justin Starry 
							
						 
					 
					
						
						
							
						
						ba215e94f6 
					 
					
						
						
							
							Refactor: Add AccountKeys struct for static and dynamic message keys ( #22960 )  
						
						
						
						
					 
					
						2022-02-05 20:00:31 +08:00 
						 
				 
			
				
					
						
							
							
								Jack May 
							
						 
					 
					
						
						
							
						
						ab02dba96f 
					 
					
						
						
							
							Add get_processed_sibling_instruction syscall ( #22859 )  
						
						
						
						
					 
					
						2022-02-02 16:45:57 -08:00 
						 
				 
			
				
					
						
							
							
								Will Hickey 
							
						 
					 
					
						
						
							
						
						75563f6c7b 
					 
					
						
						
							
							Reject close of active vote accounts ( #22651 )  
						
						... 
						
						
						
						* 10461 Reject close of vote accounts unless it earned no credits in the previous epoch. This is checked by comparing current epoch (from clock sysvar) with the most recent epoch with credits in vote state. 
						
						
					 
					
						2022-02-02 14:16:24 -06:00 
						 
				 
			
				
					
						
							
							
								Brooks Prumo 
							
						 
					 
					
						
						
							
						
						3993cd765c 
					 
					
						
						
							
							Remove rewrite_rent_exempt_reserve() ( #22741 )  
						
						
						
						
					 
					
						2022-01-26 18:42:44 -05:00 
						 
				 
			
				
					
						
							
							
								Dmitri Makarov 
							
						 
					 
					
						
						
							
						
						52045c761c 
					 
					
						
						
							
							chore: remove remaining unused Xargo.toml files  
						
						
						
						
					 
					
						2022-01-24 15:35:54 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Vines 
							
						 
					 
					
						
						
							
						
						6d5bbca630 
					 
					
						
						
							
							Pacify clippy  
						
						
						
						
					 
					
						2022-01-21 19:12:57 -08:00 
						 
				 
			
				
					
						
							
							
								Brooks Prumo 
							
						 
					 
					
						
						
							
						
						a7f2fff219 
					 
					
						
						
							
							Remove active features stake program v3 and v4 ( #22612 )  
						
						... 
						
						
						
						Co-authored-by: Jon Cinque <jon.cinque@gmail.com > 
						
						
					 
					
						2022-01-21 19:27:53 -06:00 
						 
				 
			
				
					
						
							
							
								Tyera Eulberg 
							
						 
					 
					
						
						
							
						
						fc8130955a 
					 
					
						
						
							
							Impl get_/set_return_data syscalls for ProgramTest ( #22647 )  
						
						... 
						
						
						
						* Remove &mut self from set_return_data
* Impl get_/set_return_data for program-test SyscallStubs
* Add return_data program-test 
						
						
					 
					
						2022-01-21 17:05:48 -07:00 
						 
				 
			
				
					
						
							
							
								Justin Starry 
							
						 
					 
					
						
						
							
						
						7ba57e7a7c 
					 
					
						
						
							
							Refactor: move instructions sysvar serialization out of Message ( #22544 )  
						
						
						
						
					 
					
						2022-01-20 17:33:49 +08:00 
						 
				 
			
				
					
						
							
							
								Justin Starry 
							
						 
					 
					
						
						
							
						
						f804ccdece 
					 
					
						
						
							
							Store address table lookups in blockstore and bigtable ( #22402 )  
						
						
						
						
					 
					
						2022-01-14 15:24:41 +08:00 
						 
				 
			
				
					
						
							
							
								Michael Vines 
							
						 
					 
					
						
						
							
						
						4c577d7f8c 
					 
					
						
						
							
							Bank::get_fee_for_message is now nonce aware 
						
						
						
						
					 
					
						2022-01-13 17:27:38 -08:00 
						 
				 
			
				
					
						
							
							
								Ashwin Sekar 
							
						 
					 
					
						
						
							
						
						eeec1ce2ad 
					 
					
						
						
							
							Add local cluster test to repro slot hash expiry bug ( #21873 )  
						
						
						
						
					 
					
						2022-01-10 00:58:21 -05:00 
						 
				 
			
				
					
						
							
							
								Evan Conrad 
							
						 
					 
					
						
						
							
						
						0f94e1d3a2 
					 
					
						
						
							
							Clarify docs of minimum_balance ( #22385 )  
						
						
						
						
					 
					
						2022-01-08 11:27:32 -07:00 
						 
				 
			
				
					
						
							
							
								Brooks Prumo 
							
						 
					 
					
						
						
							
						
						d90d5ee9b6 
					 
					
						
						
							
							Refactor Rent::due() with RentDue enum ( #22346 )  
						
						
						
						
					 
					
						2022-01-08 09:03:46 -06:00 
						 
				 
			
				
					
						
							
							
								Justin Starry 
							
						 
					 
					
						
						
							
						
						52d12cc802 
					 
					
						
						
							
							Add runtime support for address table lookups ( #22223 )  
						
						... 
						
						
						
						* Add support for address table lookups in runtime
* feedback
* feedback 
						
						
					 
					
						2022-01-07 11:59:09 +08:00 
						 
				 
			
				
					
						
							
							
								Michael Vines 
							
						 
					 
					
						
						
							
						
						bb3a1b6b31 
					 
					
						
						
							
							Add zk_token_sdk_enabled feature to gate Zk Token proof program and sol_zk_token_elgamal_op syscalls  
						
						
						
						
					 
					
						2022-01-05 11:57:37 -08:00 
						 
				 
			
				
					
						
							
							
								Justin Starry 
							
						 
					 
					
						
						
							
						
						2b5e00d36d 
					 
					
						
						
							
							Limit number of accounts that a transaction can lock ( #22201 )  
						
						
						
						
					 
					
						2022-01-04 14:25:23 +08:00 
						 
				 
			
				
					
						
							
							
								Justin Starry 
							
						 
					 
					
						
						
							
						
						2a00382d71 
					 
					
						
						
							
							Refactor: cleanup solana_transaction_status crate ( #22230 )  
						
						
						
						
					 
					
						2022-01-03 15:45:18 +00:00 
						 
				 
			
				
					
						
							
							
								Brooks Prumo 
							
						 
					 
					
						
						
							
						
						800472ddf5 
					 
					
						
						
							
							Add AccountsDataMeter to InvokeContext ( #21813 )  
						
						
						
						
					 
					
						2021-12-28 05:14:48 -06:00 
						 
				 
			
				
					
						
							
							
								Alexander Meißner 
							
						 
					 
					
						
						
							
						
						2ab4f34c02 
					 
					
						
						
							
							Refactor: Remove Message and CompiledInstruction from InvokeContext interfaces ( #22102 )  
						
						... 
						
						
						
						* Introduces InstructionAccount which is like AccountMeta but uses an index instead of a Pubkey
* Renames InvokeContext::create_message() to InvokeContext::prepare_instruction()
* Removes Message and CompiledInstruction from InvokeContext interfaces.
* Resolves TODOs of sol_invoke_signed() in program-test.
* Moves CompiledInstruction::visit_each_account() into invoke_context.rs 
						
						
					 
					
						2021-12-24 16:17:55 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Starry 
							
						 
					 
					
						
						
							
						
						ec7536faf6 
					 
					
						
						
							
							Add test to enforce that program id account info for CPI is optional ( #22069 )  
						
						... 
						
						
						
						* Update tests to demonstrate that program id account info for CPI is optional
* Clean up comments that say that program id account info is required 
						
						
					 
					
						2021-12-24 00:43:15 +01:00 
						 
				 
			
				
					
						
							
							
								behzad nouri 
							
						 
					 
					
						
						
							
						
						f67ecd5c18 
					 
					
						
						
							
							removes unused Cargo dependencies ( #22022 )  
						
						... 
						
						
						
						Also moving some to [dev-dependencies] so that they are not propagated
to other packages which depend on the package. 
						
						
					 
					
						2021-12-22 17:01:33 +00:00 
						 
				 
			
				
					
						
							
							
								Alexander Meißner 
							
						 
					 
					
						
						
							
						
						ba8e15848e 
					 
					
						
						
							
							Fix   #21986  ( #22035 )  
						
						... 
						
						
						
						* Partial revert "Updates documentation around what needs to be passed in CPI. (#21633 )"
* Enforces the program_id being passed explicitly by removing it from get_instruction_keyed_accounts().
* instruction_accounts => instructions_account 
						
						
					 
					
						2021-12-21 12:53:22 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Starry 
							
						 
					 
					
						
						
							
						
						6ff0be6a82 
					 
					
						
						
							
							Clean up demote program write lock feature ( #21949 )  
						
						... 
						
						
						
						* Clean up demote program write lock feature
* fix test 
						
						
					 
					
						2021-12-16 17:27:22 -05:00 
						 
				 
			
				
					
						
							
							
								Brian Anderson 
							
						 
					 
					
						
						
							
						
						dcb5849484 
					 
					
						
						
							
							Document solana_program::instruction ( #21817 )  
						
						... 
						
						
						
						* Document solana_program::instruction
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com > 
						
						
					 
					
						2021-12-14 21:35:22 +00:00 
						 
				 
			
				
					
						
							
							
								Michael Vines 
							
						 
					 
					
						
						
							
						
						c5c699a918 
					 
					
						
						
							
							Remove the 5 integer msg! form  
						
						
						
						
					 
					
						2021-12-11 09:37:11 -08:00 
						 
				 
			
				
					
						
							
							
								Justin Starry 
							
						 
					 
					
						
						
							
						
						9b41ddd9ba 
					 
					
						
						
							
							Add address lookup table program ( #21616 )  
						
						... 
						
						
						
						* Add address lookup table program
* feedback 
						
						
					 
					
						2021-12-10 16:02:16 -05:00 
						 
				 
			
				
					
						
							
							
								Justin Starry 
							
						 
					 
					
						
						
							
						
						6c108c8fc3 
					 
					
						
						
							
							Migrate from address maps to address lookup tables ( #21634 )  
						
						... 
						
						
						
						* Migrate from address maps to address lookup tables
* update sanitize error
* cargo fmt
* update abi 
						
						
					 
					
						2021-12-10 11:04:04 -05:00 
						 
				 
			
				
					
						
							
							
								Michael Vines 
							
						 
					 
					
						
						
							
						
						a35df1cb02 
					 
					
						
						
							
							Add initial wasm bindings for Instruction, SystemProgram and Transaction  
						
						
						
						
					 
					
						2021-12-09 15:53:58 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Vines 
							
						 
					 
					
						
						
							
						
						03a956e8d9 
					 
					
						
						
							
							Add wasm bindings for Hash  
						
						
						
						
					 
					
						2021-12-09 15:53:58 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Vines 
							
						 
					 
					
						
						
							
						
						488dc37fec 
					 
					
						
						
							
							Add wasm bindings for Pubkey and Keypair  
						
						
						
						
					 
					
						2021-12-09 15:53:58 -08:00 
						 
				 
			
				
					
						
							
							
								Brian Anderson 
							
						 
					 
					
						
						
							
						
						6919c4863b 
					 
					
						
						
							
							Expand docs for Pubkey::create_program_address ( #21750 )  
						
						... 
						
						
						
						* Expand docs for Pubkey::create_program_address
* Update sdk/program/src/pubkey.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com > 
						
						
					 
					
						2021-12-09 23:45:23 +00:00 
						 
				 
			
				
					
						
							
							
								dependabot[bot] 
							
						 
					 
					
						
						
							
						
						f865392eee 
					 
					
						
						
							
							chore: bump digest from 0.9.0 to 0.10.0 ( #21742 )  
						
						... 
						
						
						
						* chore: bump digest from 0.9.0 to 0.10.0
Bumps [digest](https://github.com/RustCrypto/traits ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/digest-v0.9.0...digest-v0.10.0 )
---
updated-dependencies:
- dependency-name: digest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* tree; multiple versions of digest required
* Bump sha3 as well
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com > 
						
						
					 
					
						2021-12-09 23:32:21 +00:00 
						 
				 
			
				
					
						
							
							
								dependabot[bot] 
							
						 
					 
					
						
						
							
						
						b61b7189a5 
					 
					
						
						
							
							chore: bump hmac from 0.11.0 to 0.12.0 ( #21681 )  
						
						... 
						
						
						
						* chore: bump hmac from 0.11.0 to 0.12.0
Bumps [hmac](https://github.com/RustCrypto/MACs ) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/RustCrypto/MACs/releases )
- [Commits](https://github.com/RustCrypto/MACs/compare/hmac-v0.11.0...hmac-v0.12.0 )
---
updated-dependencies:
- dependency-name: hmac
  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
* Update dependabot-pr.sh
* Bump sha2 and pbkdf2 as well
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: axleiro <83293196+axleiro@users.noreply.github.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com > 
						
						
					 
					
						2021-12-08 18:12:35 -07:00 
						 
				 
			
				
					
						
							
							
								Jarred Nicholls 
							
						 
					 
					
						
						
							
						
						4da435f2a0 
					 
					
						
						
							
							Avoid entropy sources when constructing a solana_program::message::Message.  
						
						... 
						
						
						
						The solana-program crate can be used in certain embedded environments (HSMs) where
the source of entropy, whether used for cryptographic purposes or not, is tightly
controlled. In these cases, using the default OS source of entrophy is not always
acceptable. Thus, using the default Rust stdlib entropy source for seeding its
default hasher, is prohibited. This means any use of HashMap/HashSet must be able
to be constructed and used with a custom hasher implementation.
This commit removes the use of Itertools::unique() to dedupe Instructions that are
being compiled into a new Message, which uses a default-configured HashMap
under-the-hood. Instead, we use a BTreeSet which does not invoke any entropy
source in order to seed a hash implementation. 
						
						
					 
					
						2021-12-07 19:19:01 -08:00 
						 
				 
			
				
					
						
							
							
								Alexander Meißner 
							
						 
					 
					
						
						
							
						
						6f3f6eddb2 
					 
					
						
						
							
							Updates documentation around what needs to be passed in CPI. ( #21633 )  
						
						
						
						
					 
					
						2021-12-06 21:20:16 +01:00 
						 
				 
			
				
					
						
							
							
								Brian Anderson 
							
						 
					 
					
						
						
							
						
						df2b448993 
					 
					
						
						
							
							Fix incorrect nonoverlapping test in sol_memcpy ( #21007 )  
						
						... 
						
						
						
						Thanks! 
						
						
					 
					
						2021-12-06 09:26:46 -08:00 
						 
				 
			
				
					
						
							
							
								Brian Anderson 
							
						 
					 
					
						
						
							
						
						d1c101cde2 
					 
					
						
						
							
							Rework docs for Pubkey::find_program_address and friends ( #21528 )  
						
						... 
						
						
						
						* Rework docs for Pubkey::find_program_address and friends
* Remove circular dependency
* Minor tweaks
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Sort solana-program dev-dependencies
Co-authored-by: Tyera Eulberg <teulberg@gmail.com > 
						
						
					 
					
						2021-12-06 17:00:50 +00:00 
						 
				 
			
				
					
						
							
							
								Trent Nelson 
							
						 
					 
					
						
						
							
						
						d6f22433d0 
					 
					
						
						
							
							Bump version to v1.10.0  
						
						
						
						
					 
					
						2021-12-04 20:17:54 +00:00 
						 
				 
			
				
					
						
							
							
								fee1-dead 
							
						 
					 
					
						
						
							
						
						c4a9c8b5e9 
					 
					
						
						
							
							Remove dependency on hex ( #21567 )  
						
						... 
						
						
						
						* Remove dependency on `hex`
* Update lock file
* Use `debug_struct` instead of own format
* Share code, add test, and fix rent_epoch spelling
Co-authored-by: Tyera Eulberg <tyera@solana.com > 
						
						
					 
					
						2021-12-03 20:53:35 -07: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 
						 
				 
			
				
					
						
							
							
								Jarred Nicholls 
							
						 
					 
					
						
						
							
						
						18a16ad956 
					 
					
						
						
							
							Support building solana-program on 32-bit architectures that do not ( #21577 )  
						
						... 
						
						
						
						have 64-bit atomics by using a Mutex<u64> on 32-bit architectures.
Currently the usage of atomics are only in functions that support
tests and benchmarks. 
						
						
					 
					
						2021-12-03 01:18:21 +00:00 
						 
				 
			
				
					
						
							
							
								Brooks Prumo 
							
						 
					 
					
						
						
							
						
						cb368e6554 
					 
					
						
						
							
							Pass Epoch by value in StakeHistory::get() ( #21523 )  
						
						
						
						
					 
					
						2021-12-01 08:57:29 -06:00 
						 
				 
			
				
					
						
							
							
								Ikko Ashimine 
							
						 
					 
					
						
						
							
						
						1f13fd64bd 
					 
					
						
						
							
							Fix typo in system_instruction.rs ( #21539 )  
						
						... 
						
						
						
						Uninitalized -> Uninitialized 
						
						
					 
					
						2021-12-01 06:31:12 -05:00