Skip to content

fix(runtime): vote program conformance #714

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

Merged
merged 11 commits into from
May 7, 2025
Merged

Conversation

yewman
Copy link
Contributor

@yewman yewman commented May 3, 2025

Fixes for vote conformance

@github-project-automation github-project-automation bot moved this to 🏗 In progress in Sig May 3, 2025
@github-project-automation github-project-automation bot moved this from 🏗 In progress to 👀 In review in Sig May 6, 2025
Copy link

codecov bot commented May 6, 2025

Codecov Report

Attention: Patch coverage is 87.62376% with 25 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/runtime/program/vote/execute.zig 68.88% 14 Missing ⚠️
src/runtime/program/vote/state.zig 91.40% 11 Missing ⚠️
Files with missing lines Coverage Δ
src/runtime/borrowed_account.zig 86.36% <ø> (ø)
src/runtime/program/bpf_loader/execute.zig 87.06% <100.00%> (ø)
src/runtime/program/vote/instruction.zig 100.00% <100.00%> (ø)
src/runtime/testing.zig 80.57% <ø> (ø)
src/runtime/transaction_context.zig 100.00% <ø> (ø)
src/utils/collections.zig 93.91% <ø> (-0.33%) ⬇️
src/runtime/program/vote/state.zig 94.42% <91.40%> (-0.19%) ⬇️
src/runtime/program/vote/execute.zig 95.86% <68.88%> (-0.82%) ⬇️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yewman yewman force-pushed the harnew/vote_program_conformance branch from e4b737d to b6eb376 Compare May 6, 2025 22:32
@yewman yewman marked this pull request as ready for review May 7, 2025 00:10
@yewman yewman requested review from dadepo and Rexicon226 May 7, 2025 17:20
@yewman yewman added this pull request to the merge queue May 7, 2025
Merged via the queue into main with commit e23cf46 May 7, 2025
16 of 17 checks passed
@yewman yewman deleted the harnew/vote_program_conformance branch May 7, 2025 20:13
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Sig May 7, 2025
@@ -126,9 +126,12 @@ pub fn visit_byte_2(elem: u8, val: u16, nth_byte: usize) !DoneOrMore {
return error.ByteThreeContinues;
}

const shift: u32 = (std.math.cast(u32, nth_byte) orelse U32_MAX) *| 7;
const shift = std.math.cast(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is mainly for understanding the scope of the changes...

where this specific diffs needed to attain the conformance?
or these were other improvement identified but not specifically needed for the conformance

}
};

const CircBufV1 = struct {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the tests were dropped. Since this is still in draft, adding it back might be something still planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants