forked from anza-xyz/agave
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat voting cluster authority sigs #4
Open
kevinrodriguez-io
wants to merge
529
commits into
master
Choose a base branch
from
feat-voting-cluster-authority-sigs
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
…#2802) * Check num_reward_partitions for partitioned_epoch_reward_enabled * Make expect slightly more correct * Better variable name
…nza-xyz#2764) * Add workflow and script to add security-incident-response to GHSAs that don't already have it * Remove echos to minimize the risk of leaking sensitive information * Remove whitespace * Switch ref to master and remove fetch-depth: 0 * Redirect gh api output to /dev/null * shellcheck * Disable SC2086 in gh call * Update workflow with runs-on: ubuntu-24.04 in order to get jq 1.7
* refactor `impl_from_str` and `impl_from_bytes` macros * impl `Display`, `FromStr`, `From<[u8; _]>` for sigma and range proof pod types * impl `Display` for Pedersen commitment and grouped ElGamal ciphertext pod types * impl `Display`, `FromStr`, `From<[u8; _]>` for decrypt handle pod type * add fixed proof string tests * cargo clippy * remove println's * update `assert!` and `.is_ok()` with `unwrap`'s
* metrics: remove optimistic_slot_elapsed * remove optimistic_slot_elapsed from grafana dashboard json
* extract clock crate * update clock usage in solana-program * fmt * fmt after rebase * update lock file after rebase * fmt after rebase * fmt after rebase * fmt * make serde optional in solana-clock * fix description Co-authored-by: Jon C <[email protected]> * fix docs link Co-authored-by: Jon C <[email protected]> * fix accidental deletions from workspace members table --------- Co-authored-by: Jon C <[email protected]>
Add early exit to workflow if there are no teams that don't already have the team
* add ancient.total_alive_bytes metric * add to report
* move serde_varint.rs to its own crate * update serde_varint dependents * re-export serde_varint crate with deprecation notice in sdk and program * missing dep * fix test deps * update lock file after rebase * fmt after rebase * fix deps and imports after rebase * fmt * mention solana in the crate description * update lock file
* shrink can work on 'ancient' slots * fix tests * cleanup map to if * rename --------- Co-authored-by: HaoranYi <[email protected]>
* log for all zero in shrink * pr: refactor to remove duplicated message logging * pr: only long when all_are_zero = false * pr: update log text * revert log text --------- Co-authored-by: HaoranYi <[email protected]>
* unref accounts in shink and pack when we're committed * remove bad comments * rewrite shrink_ancient_fail_ref test * fix comments * fix a test * fix another test * fmt * del invalid comments * reviews: move log to new PR. * Revert "reviews: move log to new PR." This reverts commit f8aefe0. * fix comments * revert log content * pr: rename * pr: more rename --------- Co-authored-by: HaoranYi <[email protected]>
No functional changes, just some minor cleanup to reduce the diff in an upcoming change
* extract hash and hasher crates and re-export their contents in solana_program::hash * make bytemuck and serde optional, and activate features in solana-program * fix frozen-abi support * fix import * update lock file * cargo sort * fix wasm_bindgen import * typo * fmt * make the inner field of Hash pub(crate) again because otherwise wasm_bindgen breaks * move program/src/wasm/hash.rs contents to solana-hash crate * update lock file * remove duplicate frozen-abi stuff * fix specialization stuff * delete tmp tests * update BlockhashQueue digest * Revert "update BlockhashQueue digest" This reverts commit 591302b. * update expected digests after confirming that the change is merely from moving the Hash struct and not a real ABI change * update another digest * update digests in sdk and program * update digests in runtime * update VoteTransaction digest * conditionally activate solana-hash/borsh in solana-program * move js-sys dep under cfg(target_arch = "wasm32") * remove thiserror from hash crate * remove solana-program dependency from merkle-tree * make solana-hash no_std by default * fmt * fmt after rebase * make std feature default * make sha2 an optional dep when target_os = "solana", because it's unlikely to be used in that case * fmt * make rustc_version optional * update lock file * fix frozen-abi lint * another lint fix * add comment about sha2 removal * avoid Vec in FromStr Co-authored-by: Jon C <[email protected]> * put Hash::new_unique behind #[cfg(feature = "dev-context-only-utils")] * move tests from solana-hasher to solana-hash * rename solana-hasher to solana-sha256-hasher * fmt * make conditional import more consistent Co-authored-by: Jon C <[email protected]> * don't use std feature of bs58 in solana-hash * undo putting new_unique behind dev-context-only-utils * missing feature * rename to write_as_base58 and reorder params Co-authored-by: Jon C <[email protected]> * update write_as_base58 usage * fix feature activation for tests * remove part of doc that no longer makes sense Co-authored-by: Jon C <[email protected]> --------- Co-authored-by: Jon C <[email protected]>
* build(deps): bump serde_json from 1.0.127 to 1.0.128 Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.127 to 1.0.128. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](serde-rs/json@1.0.127...1.0.128) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tokio-util](https://github.com/tokio-rs/tokio) from 0.7.11 to 0.7.12. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](tokio-rs/tokio@tokio-util-0.7.11...tokio-util-0.7.12) --- updated-dependencies: - dependency-name: tokio-util dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* extract derivation-path crate * remove now unused dep * update derivation_path dependents * remove now-unused derivation-path dep
* assert refcount = 0 for zero lamport 1 refcount deletes * add test to covert zero accounts shrink unrefassert0 * fix a test * comments * add info to assert * pr changes * log instead of assert * update assert message * Update accounts-db/src/accounts_index.rs Co-authored-by: Brooks <[email protected]> --------- Co-authored-by: HaoranYi <[email protected]> Co-authored-by: HaoranYi <[email protected]> Co-authored-by: Brooks <[email protected]>
* Fixes two bugs in loader-v4. * Adds instructions_to_load_program_of_loader_v4() and load_program_of_loader_v4(). Removes load_and_finalize_program() and load_program().
* build(deps): bump bytemuck from 1.17.1 to 1.18.0 Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.17.1 to 1.18.0. - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](Lokathor/bytemuck@v1.17.1...v1.18.0) --- updated-dependencies: - dependency-name: bytemuck dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [const_format](https://github.com/rodrimati1992/const_format_crates) from 0.2.32 to 0.2.33. - [Release notes](https://github.com/rodrimati1992/const_format_crates/releases) - [Changelog](https://github.com/rodrimati1992/const_format_crates/blob/master/Changelog.md) - [Commits](https://github.com/rodrimati1992/const_format_crates/commits) --- updated-dependencies: - dependency-name: const_format dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* extract solana-signature crate * make serde optional in solana-signature * make ed25519-dalek optional in solana-signature * make rand optional in solana-signature * replace generic_array with optional serde_bytes * fix AbiExample derivation * lint * fix tests * update lock file * remove unused dev-dep * activate verify feature in tests * update lock file * try another trick to get around incorrect circular dep check * update lock file * cargo sort * fix dev deps * fmt * Revert "replace generic_array with optional serde_bytes" This reverts commit a1aeab7. * finish adding back GenericArray * only activate serde feature of generic-array when serde feature of solana-signature is activated * update lock file * make solana-signature dependent on "full" feature in SDK, as it is on master branch * update lock file * update digests (they always change when you move to a new crate) * add workspace lints * update digest * make Debug, Display and FromStr no_std * remove thiserror * only depend on rustc_version when frozen-abi is activated * make std optional
* add store-histogram tool * remove deps --------- Co-authored-by: HaoranYi <[email protected]>
* Support notifying bank created slot status in geyser * Updated comment for CreatedBank slot event
…z#2996) * add wasm dependencies * expose `ElGamalPubkey` and `ElGamalKeypair` via `wasm_bindgen` * depend on `wasm-bindgen` only when target is `wasm32` * remove `profile.release` changes * add comments on the reason for specific exclusion of dependencies * re-organize type associated functions depending on target * re-organize type associated functions for grouped elgamal depending on target * Move wasm impl into PodElGamalPubkey --------- Co-authored-by: Jon C <[email protected]>
…za-xyz#1806) * package-metadata: Add package and macro * Use the macro in a program as a test * Move test to cargo-build-sbf, update version * Add changelog entry * Revert simulation change
#### Problem The binary of token-2022 bundled in program-test and fetch-spl.sh is very out of date with what's currently running on mainnet. #### Summary of changes Update the shared object and version to fetch.
* remove solana-program from solana-feature-set * fix log-analyzer deps which this PR somehow breaks * add back Slot and Epoch aliases
* move functions from solana_sdk::pubkey to solana_pubkey * fix test * remove serde_json from write_pubkey_file * remove serde_json * fix import * put new_rand behind a separate feature * lint * fix imports * fmt * deprecate sdk::pubkey::{read_pubkey_file, write_pubkey_file} and duplicate in solana-keygen * lint
Co-authored-by: Justin Starry <[email protected]>
* extract solana-native-token crate * fix import after rebase * add back llink
…a-xyz#2946) * Tweak ancient packing algorithm * Minor change * Feedback * Remove redundancy * Correction * Revert correction * Loop * Add test * Fix clippy * Comments * Comment * Comments * Pop ancients * Revert * Checks * Move reverse * Typo * Popped * Sort * Format * Revert sort, back to reverse * Fix comment
* extract entrypoint crate * missing re-export * fix path * fmt * rename to solana-program-entrypoint * move to program-entrypoint dir * update lock files
* move account_utils to account crate * remove superfluous import
* fix doc link in solana-epoch-schedule * fmt
tests intended to ensure account loader v2 conforms to existing behavior
* extract precompile-error crate * update PrecompileError usage * remove thiserror from precompile-error crate * fmt * remove num-derive * fix imports after rebase * sort deps * sort deps * fmt
* build(deps): bump openssl from 0.10.66 to 0.10.67 Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.66 to 0.10.67. - [Release notes](https://github.com/sfackler/rust-openssl/releases) - [Commits](sfackler/rust-openssl@openssl-v0.10.66...openssl-v0.10.67) --- updated-dependencies: - dependency-name: openssl dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump hyper from 0.14.30 to 0.14.31 Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.30 to 0.14.31. - [Release notes](https://github.com/hyperium/hyper/releases) - [Changelog](https://github.com/hyperium/hyper/blob/v0.14.31/CHANGELOG.md) - [Commits](hyperium/hyper@v0.14.30...v0.14.31) --- updated-dependencies: - dependency-name: hyper dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update all Cargo files --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#3164) #### Problem Similar to the other PRs like anza-xyz#2710, we should simulate transactions to find out the CUs consumed before sending them out. #### Summary of changes Similar to anza-xyz#2710, use `Simulated` compute units and perform the simulation before sending out the transaction. Also, add a test.
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.
Problem
Summary of Changes
Fixes #