Merged
Conversation
snormore
approved these changes
Feb 11, 2026
ef0975f to
0607586
Compare
5f1cad5 to
9b9745a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request standardizes the naming of a configuration field across the codebase by renaming all instances of
metro_routetometro_routing. This change affects the smart contract state, CLI commands, SDK, test cases, and documentation to ensure consistency and clarity.Field renaming for consistency:
Renamed the
metro_routefield tometro_routingin theTenantstruct and all related smart contract logic, including serialization/deserialization, display, and validation (smartcontract/programs/doublezero-serviceability/src/state/tenant.rs,smartcontract/programs/doublezero-serviceability/src/processors/tenant/create.rs,smartcontract/programs/doublezero-serviceability/src/processors/tenant/update.rs) [1] [2] [3] [4] [5].Updated CLI command argument and struct field names from
metro_routetometro_routinginCreateTenantCliCommand,UpdateTenantCliCommand, and related display and list logic (smartcontract/cli/src/tenant/create.rs,smartcontract/cli/src/tenant/update.rs,smartcontract/cli/src/tenant/list.rs,smartcontract/cli/src/tenant/get.rs) [1] [2] [3] [4] [5] [6] [7].Modified all related test cases and test data to use the new
metro_routingfield name instead ofmetro_routeacross the CLI, SDK, and smart contract test files (smartcontract/cli/src/user/get.rs,smartcontract/cli/src/user/list.rs,client/doublezero/src/command/connect.rs,smartcontract/programs/doublezero-serviceability/src/instructions.rs,smartcontract/programs/doublezero-serviceability/tests/accesspass_test.rs,smartcontract/programs/doublezero-serviceability/src/state/tenant.rs) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16].Documentation and changelog updates:
metro_routetometro_routingin theCHANGELOG.mdand SDK documentation to reflect the new field name and maintain accurate documentation (CHANGELOG.md) [1] [2].