Skip to content

refactor: fixing offchain/onchain naming#16942

Merged
benesjan merged 1 commit into
nextfrom
09-11-refactor_fixing_offchain_onchain_naming
Sep 12, 2025
Merged

refactor: fixing offchain/onchain naming#16942
benesjan merged 1 commit into
nextfrom
09-11-refactor_fixing_offchain_onchain_naming

Conversation

@benesjan

@benesjan benesjan commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

We were inconsistent in our naming:
For the meaning of offchain we used the following:

  • off-chain
  • offchain
  • out-of-band

And for onchain we used

  • on-chain
  • onchain

Decided to just use offchain and onchain consistently. I think out-of-band term was genuinely harmful when it comes to external devs understanding what's going on.

benesjan commented Sep 11, 2025

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@benesjan benesjan marked this pull request as ready for review September 11, 2025 09:21
* @notice Get the proposer for the slot at a specific timestamp
*
* @dev This function is very useful for off-chain usage, as it easily allow a client to
* @dev This function is very useful for offchain usage, as it easily allow a client to

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@LHerskind are you fine with me merging these changes to the contracts given that they were audited? Can revert this if you prefer.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Got a DM that Lasse is fine with this.

@nventuro nventuro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Given there's so many instances of these, maybe consider adding cspell rules to prevent regressions?

@benesjan benesjan force-pushed the 09-11-refactor_fixing_offchain_onchain_naming branch from abef340 to debd73b Compare September 11, 2025 14:24
@benesjan

Copy link
Copy Markdown
Contributor Author

Given there's so many instances of these, maybe consider adding cspell rules to prevent regressions?

@nventuro added in debd73b

@benesjan benesjan requested a review from nventuro September 11, 2025 14:53
@benesjan benesjan force-pushed the 09-11-refactor_fixing_offchain_onchain_naming branch from debd73b to d76975f Compare September 11, 2025 15:02
@benesjan benesjan enabled auto-merge September 11, 2025 15:07
@AztecBot AztecBot force-pushed the 09-11-refactor_fixing_offchain_onchain_naming branch from d76975f to c46944c Compare September 11, 2025 15:34
@benesjan benesjan added this pull request to the merge queue Sep 11, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 11, 2025
@benesjan benesjan added this pull request to the merge queue Sep 11, 2025
@benesjan benesjan removed this pull request from the merge queue due to a manual request Sep 11, 2025
@benesjan benesjan added the ci-full Run all master checks. label Sep 12, 2025
@benesjan benesjan force-pushed the 09-11-refactor_fixing_offchain_onchain_naming branch from c46944c to d2c9374 Compare September 12, 2025 06:14
@benesjan benesjan enabled auto-merge September 12, 2025 06:33
@AztecBot AztecBot force-pushed the 09-11-refactor_fixing_offchain_onchain_naming branch from d2c9374 to c84c8f7 Compare September 12, 2025 07:14
@benesjan benesjan removed the ci-full Run all master checks. label Sep 12, 2025
We were inconsistent in our naming:
For the meaning of `offchain` we used the following:
- off-chain
- offchain
- out-of-band

And for `onchain` we used
- on-chain
- onchain

Decided to just use `offchain` and `onchain` consistently. I think out-of-band term was genuinely harmful when it comes to external devs understanding what's going on.
@benesjan benesjan force-pushed the 09-11-refactor_fixing_offchain_onchain_naming branch from c84c8f7 to b208c8e Compare September 12, 2025 09:03
@benesjan benesjan added this pull request to the merge queue Sep 12, 2025
Merged via the queue into next with commit eb010bd Sep 12, 2025
15 checks passed
@benesjan benesjan deleted the 09-11-refactor_fixing_offchain_onchain_naming branch September 12, 2025 10:28
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.

4 participants