Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

[zk-token-sdk] Check that discrete log compression batch size is greater than 0 #33699

Merged
merged 1 commit into from
Oct 24, 2023
Merged

[zk-token-sdk] Check that discrete log compression batch size is greater than 0 #33699

merged 1 commit into from
Oct 24, 2023

Conversation

samkim-crypto
Copy link
Contributor

@samkim-crypto samkim-crypto commented Oct 15, 2023

Problem

#33506

Summary of Changes

Add a check on compression_batch_size in the discrete logic so that the program errors gracefully.

Fixes #

@samkim-crypto samkim-crypto added the work in progress This isn't quite right yet label Oct 15, 2023
@codecov
Copy link

codecov bot commented Oct 15, 2023

Codecov Report

Merging #33699 (4c0dc00) into master (c98c24b) will decrease coverage by 0.1%.
Report is 4 commits behind head on master.
The diff coverage is 96.1%.

@@            Coverage Diff            @@
##           master   #33699     +/-   ##
=========================================
- Coverage    81.8%    81.8%   -0.1%     
=========================================
  Files         806      806             
  Lines      218058   218106     +48     
=========================================
+ Hits       178415   178453     +38     
- Misses      39643    39653     +10     

@samkim-crypto samkim-crypto added v1.17 PRs that should be backported to v1.17 and removed work in progress This isn't quite right yet labels Oct 20, 2023
@samkim-crypto samkim-crypto merged commit 381d225 into solana-labs:master Oct 24, 2023
mergify bot pushed a commit that referenced this pull request Oct 24, 2023
…ter than 0 (#33699)

check that discrete log compression batch size is greater than 0

(cherry picked from commit 381d225)
samkim-crypto added a commit that referenced this pull request Oct 24, 2023
…is greater than 0 (backport of #33699) (#33844)

[zk-token-sdk] Check that discrete log compression batch size is greater than 0 (#33699)

check that discrete log compression batch size is greater than 0

(cherry picked from commit 381d225)

Co-authored-by: samkim-crypto <skim13@cs.stanford.edu>
anwayde pushed a commit to firedancer-io/solana that referenced this pull request Nov 16, 2023
…is greater than 0 (backport of solana-labs#33699) (solana-labs#33844)

[zk-token-sdk] Check that discrete log compression batch size is greater than 0 (solana-labs#33699)

check that discrete log compression batch size is greater than 0

(cherry picked from commit 381d225)

Co-authored-by: samkim-crypto <skim13@cs.stanford.edu>
anwayde pushed a commit to firedancer-io/solana that referenced this pull request Nov 16, 2023
…is greater than 0 (backport of solana-labs#33699) (solana-labs#33844)

[zk-token-sdk] Check that discrete log compression batch size is greater than 0 (solana-labs#33699)

check that discrete log compression batch size is greater than 0

(cherry picked from commit 381d225)

Co-authored-by: samkim-crypto <skim13@cs.stanford.edu>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
v1.17 PRs that should be backported to v1.17
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants