Skip to content

chore: rename NATIVE_AS to DEFERRAL_AS and remove pvs chip#2480

Merged
stephenh-axiom-xyz merged 2 commits intodevelop-v2.0.0-betafrom
chore/rename-native-as
Mar 3, 2026
Merged

chore: rename NATIVE_AS to DEFERRAL_AS and remove pvs chip#2480
stephenh-axiom-xyz merged 2 commits intodevelop-v2.0.0-betafrom
chore/rename-native-as

Conversation

@stephenh-axiom-xyz
Copy link
Contributor

Towards INT-6435.

  • Renames NATIVE_AS to DEFERRAL_AS
  • Removes PublicValuesChip and native adapter (utils moved to rv32im)

Copy link
Collaborator

@shuklaayush shuklaayush left a comment

Choose a reason for hiding this comment

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

lgtm. the cleanups can be addressed in follow-ups

&mut self,
system_records: SystemRecords<Val<SC>>,
mut record_arenas: Vec<RA>,
_record_arenas: Vec<RA>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

wonder if we can remove this now from the trait

use crate::system::{cuda::boundary::BoundaryFields, PUBLIC_VALUES_AIR_ID};

let boundary_idx = PUBLIC_VALUES_AIR_ID + usize::from(self.public_values.is_some());
let boundary_idx = PUBLIC_VALUES_AIR_ID;
Copy link
Collaborator

Choose a reason for hiding this comment

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

should probably rename this constant to something more appropriate now

Copy link
Contributor

Choose a reason for hiding this comment

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

i guess BOUNDARY_AIR_IDX is apt?

Copy link
Contributor

Choose a reason for hiding this comment

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

@claude make a PR to branch develop-v2.0.0-beta to rename PUBLIC_VALUES_AIR_ID to BOUNDARY_AIR_IDX. Make sure all CI tests pass.

Copy link

@claude claude bot Mar 4, 2026

Choose a reason for hiding this comment

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

Claude finished @jonathanpwang's task in 13s —— View jobclaude/pr-2480-20260304-0340 • [Create PR ➔](https://github.com/openvm-org/openvm/compare/main...claude/pr-2480-20260304-0340?quick_pull=1&title=PR%20%232480%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20pr%20%232480%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


Renaming PUBLIC_VALUES_AIR_ID to BOUNDARY_AIR_IDX

CI Status

Check Status
Lint ✅ pass
Lint CUDA ✅ pass
tests ✅ pass
tests-cuda ✅ pass

All CI checks pass.
| View PR branch

@stephenh-axiom-xyz stephenh-axiom-xyz merged commit ba3f88d into develop-v2.0.0-beta Mar 3, 2026
27 checks passed
@stephenh-axiom-xyz stephenh-axiom-xyz deleted the chore/rename-native-as branch March 3, 2026 17:20
@openvm-org openvm-org deleted a comment from claude bot Mar 4, 2026
@openvm-org openvm-org deleted a comment from claude bot Mar 4, 2026
claude bot pushed a commit that referenced this pull request Mar 4, 2026
The PublicValuesChip was removed in #2480, making the old name
misleading. Rename the constant to BOUNDARY_AIR_IDX which better
reflects its current role as the boundary AIR index.

Co-authored-by: Jonathan Wang <jonathanpwang@users.noreply.github.com>
jonathanpwang added a commit that referenced this pull request Mar 4, 2026
## Summary

- Renames the constant `PUBLIC_VALUES_AIR_ID` to `MEMORY_AIRS_START_IDX`
across 8 files
- Removes old unused `BOUNDARY_AIR_ID`
- Updates the doc comment to reflect the constant's current purpose as
the boundary AIR index
- The `PublicValuesChip` was removed in #2480, making the old name
misleading

Follows up on review comment in #2480.

Generated with [Claude Code](https://claude.ai/code)

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Wang <jonathanpwang@users.noreply.github.com>
Co-authored-by: Jonathan Wang <31040440+jonathanpwang@users.noreply.github.com>
Co-authored-by: Ayush Shukla <shuklaayush@users.noreply.github.com>
Co-authored-by: Ayush Shukla <ayush@axiom.xyz>
jpw-axiom pushed a commit that referenced this pull request Mar 5, 2026
## Summary

- Renames the constant `PUBLIC_VALUES_AIR_ID` to `MEMORY_AIRS_START_IDX`
across 8 files
- Removes old unused `BOUNDARY_AIR_ID`
- Updates the doc comment to reflect the constant's current purpose as
the boundary AIR index
- The `PublicValuesChip` was removed in #2480, making the old name
misleading

Follows up on review comment in #2480.

Generated with [Claude Code](https://claude.ai/code)

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Wang <jonathanpwang@users.noreply.github.com>
Co-authored-by: Jonathan Wang <31040440+jonathanpwang@users.noreply.github.com>
Co-authored-by: Ayush Shukla <shuklaayush@users.noreply.github.com>
Co-authored-by: Ayush Shukla <ayush@axiom.xyz>
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.

3 participants