-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.9/fix build #22311
Closed
Closed
v1.9/fix build #22311
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Bump blockhash/fee api check versions * Bump snapshot api check version (cherry picked from commit 3e5a5a8) Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
…olana-labs#21620) solana-labs#17004 removed position field from coding-shred-header because as it stands the field is redundant and unused. However, with the upcoming changes to erasure coding schema this field will no longer be redundant and needs to be populated. (cherry picked from commit cd17f63) Co-authored-by: behzad nouri <behzadnouri@gmail.com>
(cherry picked from commit f3c2803) Co-authored-by: Brian Anderson <andersrb@gmail.com>
…#21528) (solana-labs#21637) * 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> (cherry picked from commit d1c101c) Co-authored-by: Brian Anderson <andersrb@gmail.com>
…na-labs#21638) (cherry picked from commit 3dab1e7) Co-authored-by: Justin Starry <justin@solana.com>
…olana-labs#21639) (solana-labs#21645) * Reject vote withdraws that create non-rent-exempt accounts (solana-labs#21639) * Reject vote withdraws that create non-rent-exempt accounts * fix mocked instruction test (cherry picked from commit e123883) # Conflicts: # sdk/src/feature_set.rs * resolve conflicts Co-authored-by: Justin Starry <justin@solana.com>
…olana-labs#21641) (solana-labs#21651) (cherry picked from commit a1adcb2) Co-authored-by: Justin Starry <justin@solana.com>
… (solana-labs#21653) Add tests to StakeDelegations and StakeHistory to ensure that the outer types serialize and deserialize correctly to/from the inner types. (cherry picked from commit da4015a) Co-authored-by: Brooks Prumo <brooks@solana.com>
…1579) (solana-labs#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 873fe81) Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Fixup flaky tests * Fixup listeners (cherry picked from commit f493a88) Co-authored-by: carllin <carl@solana.com>
…ort solana-labs#21656) (solana-labs#21658) * Add option to reclaim accounts-cluster-bench accounts/lamports (solana-labs#21656) * Add option to reclaim accounts-cluster-bench accounts/lamports * lint (cherry picked from commit 205fd95) # Conflicts: # accounts-cluster-bench/Cargo.toml * Fix conflict Co-authored-by: Tyera Eulberg <teulberg@gmail.com> Co-authored-by: Tyera Eulberg <tyera@solana.com>
Fix the formula on the proposal page: https://docs.solana.com/implemented-proposals/ed_overview/ed_validation_client_economics/ed_vce_state_validation_protocol_based_rewards (cherry picked from commit b57097e) Co-authored-by: Melroy van den Berg <melroy@melroy.org>
* Update Solflare description * Add Solflare to mobile wallets * Sort mobile wallets alphabetically * Sort web wollets alphabetically * Update docs/src/wallet-guide/apps.md * Update docs/src/wallet-guide/apps.md * Update docs/src/wallet-guide/web-wallets.md * Update docs/src/wallet-guide/web-wallets.md * Update docs/src/wallet-guide/apps.md Co-authored-by: Justin Starry <justin.m.starry@gmail.com> (cherry picked from commit a2477c1) Co-authored-by: Boris Vujicic <turshija@gmail.com>
…olana-labs#21674) (cherry picked from commit 45e56c5) Co-authored-by: Sean Young <sean@mess.org>
…ssage. 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. (cherry picked from commit 4da435f)
… instructions in process_message. (solana-labs#21671) (solana-labs#21684) - Lets InvokeContext::process_cross_program_instruction() handle the first invocation depth too. - Marks InvokeContext::verify(), InvokeContext::verify_and_update() and InvokeContext::process_executable_chain() private. - Renames InvokeContext::process_cross_program_instruction() to InvokeContext::process_instruction(). - Removes InvokeContext::new_mock_with_sysvars(). (cherry picked from commit 1df8883) Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
…olana-labs#21705) (cherry picked from commit 923720f) Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
…e provided as input (solana-labs#21716) (cherry picked from commit 824994d) Co-authored-by: Michael Vines <mvines@gmail.com>
) (cherry picked from commit 8063273) Co-authored-by: behzad nouri <behzadnouri@gmail.com>
…some (solana-labs#21744) (solana-labs#21745) new users. (cherry picked from commit 6d18b6b) Co-authored-by: bji <bryan@ischo.com>
solana-labs#21723) (cherry picked from commit 54862eb) Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com>
(cherry picked from commit 488dc37)
(cherry picked from commit 03a956e)
…nsaction` (cherry picked from commit a35df1c)
(cherry picked from commit f4babb7) # Conflicts: # Cargo.lock # programs/bpf/Cargo.lock
(cherry picked from commit f322165)
…olana-labs#21759) * Expand docs for Pubkey::create_program_address * Update sdk/program/src/pubkey.rs Co-authored-by: Tyera Eulberg <teulberg@gmail.com> (cherry picked from commit 6919c48) Co-authored-by: Brian Anderson <andersrb@gmail.com>
* Fixup typo * Simplify types slightly (cherry picked from commit c1386d6) Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
solana-labs#21773) * Migrate from address maps to address lookup tables * update sanitize error * cargo fmt * update abi (cherry picked from commit 6c108c8) Co-authored-by: Justin Starry <justin@solana.com>
…ana-labs#22221) (solana-labs#22247) (cherry picked from commit bbe5b66) Co-authored-by: Justin Starry <justin@solana.com>
(cherry picked from commit ed0b47c)
…Rust's target names
…s#22192) (solana-labs#22248) * removes epoch_authorized_voters from VoteTracker (solana-labs#22192) solana-labs#22169 verifies authorized-voter early on in vote-listener pipeline; and so VoteTracker no longer needs to maintain and check for epoch authorized voters. (cherry picked from commit 69d71f8) # Conflicts: # core/src/cluster_info_vote_listener.rs * removes backport merge conflicts Co-authored-by: behzad nouri <behzadnouri@gmail.com>
…er (solana-labs#22245) (solana-labs#22257) Flip iter operations to keep associated address/header/packets together Before this change, if cast_socket_addr() returned a None for any address/header pair, the subsequent zip() would misalign the address/header pair and packet. So, this change zips all three together, then does filter_map() so keep things aligned. Additionally, compute total_size inline to avoid running through packets a second time. (cherry picked from commit 20b61e2) Co-authored-by: steviez <steven@solana.com>
…ted later. (solana-labs#22193) (solana-labs#22259) * Fixed issue solana-labs#22124 -- missing historical data if slot updated later. * Fixed a couple of comments (cherry picked from commit 5b6027b) Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
* Fix typo markdown link * Add missing punctuation full stop (cherry picked from commit 9665da9) Co-authored-by: glihm <dev@glihm.net>
…-labs#22201) (solana-labs#22263) * Limit number of accounts that a transaction can lock (solana-labs#22201) (cherry picked from commit 2b5e00d) # Conflicts: # accountsdb-plugin-postgres/src/postgres_client/postgres_client_transaction.rs # runtime/src/accounts.rs # runtime/src/bank.rs # sdk/src/feature_set.rs # sdk/src/transaction/error.rs # storage-proto/proto/transaction_by_addr.proto # storage-proto/src/convert.rs * resolve conflicts Co-authored-by: Justin Starry <justin@solana.com>
(cherry picked from commit 2486e21) Co-authored-by: sakridge <sakridge@gmail.com>
…#22273) * removes seed and slot fields from Packet.Meta solana-labs@507367e updated window-service to send shreds (as opposed to packets) to retransmit-stage and so seed and slot fields in Packet.Meta are unused: https://github.com/solana-labs/solana/blob/d6ec103be/sdk/src/packet.rs#L27-L28 (cherry picked from commit aa9f7ed) * uses std::net::IpAddr type for Packet.Meta.addr (cherry picked from commit 73a7741) # Conflicts: # streamer/src/streamer.rs * adds bitflags to Packet.Meta Instead of a separate bool type for each flag, all the flags can be encoded in a type-safe bitflags encoded in a single u8: https://github.com/solana-labs/solana/blob/d6ec103be/sdk/src/packet.rs#L19-L31 (cherry picked from commit 01a096a) # Conflicts: # sdk/Cargo.toml * removes backport merge conflicts Co-authored-by: behzad nouri <behzadnouri@gmail.com>
…olana-labs#22069) (solana-labs#22103) * 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 (cherry picked from commit ec7536f) Co-authored-by: Justin Starry <justin@solana.com>
(cherry picked from commit c7b0917) Co-authored-by: Jack May <jack@solana.com>
) (solana-labs#22283) * Update address map proposal to improve dev experience * another revision to match implementation (cherry picked from commit 0224a8b) Co-authored-by: Justin Starry <justin@solana.com>
…solana-labs#22277) (cherry picked from commit ec7e177) Co-authored-by: Brooks Prumo <brooks@solana.com>
…ana-labs#22270) Co-authored-by: Justin Starry <justin@solana.com>
) (solana-labs#22280) * removes total-size from return value of recv_mmsg (cherry picked from commit 4b24499) * patches bug in recv_mmsg when npkts != nrecv If recv_mmsg receives 2 packets where the first one is filtered out, then it returns npkts == 1: https://github.com/solana-labs/solana/blob/01a096adc/streamer/src/recvmmsg.rs#L104-L115 But then streamer::packet::recv_from will erroneously keep the 1st packet and drop the 2nd one: https://github.com/solana-labs/solana/blob/01a096adc/streamer/src/packet.rs#L34-L49 To avoid this bug, this commit updates recv_mmsg to always return total number of received packets. If socket address cannot be correctly obtained, it is left as the default value which is UNSPECIFIED: https://github.com/solana-labs/solana/blob/01a096adc/sdk/src/packet.rs#L145 (cherry picked from commit 379feec) Co-authored-by: behzad nouri <behzadnouri@gmail.com>
(cherry picked from commit eeb97fe) Co-authored-by: Brooks Prumo <brooks@solana.com>
…age() (solana-labs#22288) (cherry picked from commit 635337d) Co-authored-by: Brooks Prumo <brooks@solana.com>
…n (backport solana-labs#22215) (solana-labs#22289) * Refactor: Improve type safety and readability of transaction execution (solana-labs#22215) * resolve conflicts Co-authored-by: Justin Starry <justin@solana.com>
… (solana-labs#22294) (cherry picked from commit c1995c6) Co-authored-by: Nikita <bananaelecitrus@gmail.com>
These tests were broken due to PR solana-labs#22289
Closing PR. Should be targetting v1.9. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
InvokeContext::process_instruction()
#21671) (RefactorInvokeContext::process_instruction()
(backport #21671) #21684)abort()
(SDK: Add stdlib.h include to pull inabort()
#21700) (SDK: Add stdlib.h include to pull inabort()
(backport #21700) #21705)Pubkey
andKeypair
Hash
Instruction
,SystemProgram
andTransaction
accountsdb-plugin-config
to test-validator (backport #21904) #21918)snapshot_version
when unarchiving snapshot (Check file size ofsnapshot_version
when unarchiving snapshot #21925) (Check file size ofsnapshot_version
when unarchiving snapshot (backport #21925) #21983)Problem
Summary of Changes
Fixes #