Skip to content
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: derive MachineAir, chip and machine cleanup #278

Merged
merged 21 commits into from Feb 21, 2024

Conversation

tamirhemo
Copy link
Contributor

No description provided.

@tamirhemo tamirhemo changed the title refactor: chip and machine cleanup feat: derive MachineAir, chip and machine cleanup Feb 21, 2024
@tamirhemo tamirhemo marked this pull request as ready for review February 21, 2024 18:53
Blake3Compress(Blake3CompressInnerChip),
}

impl<F: PrimeField32> RiscvAir<F> {
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like if you are going to go the derive route, then included should also be derived?

if !shard.program_memory_record.is_empty() {
chips.push(self.program_memory_init.as_ref());
}
pub fn dyn_chips(&self) -> Vec<ChipRef<SC>> {
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like there def. should be a comment that this is used for non critical functions (e.g. debug_interactions).

Or maybe just do away with it? Like go all in with derive?

Copy link
Contributor

@kevjue kevjue left a comment

Choose a reason for hiding this comment

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

LGTM

@tamirhemo tamirhemo merged commit e2da6c4 into main Feb 21, 2024
5 checks passed
@tamirhemo tamirhemo deleted the tamir/machine-cleanup branch February 21, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants