Skip to content

change to metro routing#2931

Merged
juan-malbeclabs merged 3 commits intomainfrom
jo/change_metro_route_name
Feb 11, 2026
Merged

change to metro routing#2931
juan-malbeclabs merged 3 commits intomainfrom
jo/change_metro_route_name

Conversation

@juan-malbeclabs
Copy link
Contributor

This pull request standardizes the naming of a configuration field across the codebase by renaming all instances of metro_route to metro_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_route field to metro_routing in the Tenant struct 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_route to metro_routing in CreateTenantCliCommand, 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_routing field name instead of metro_route across 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:

  • Updated all references to metro_route to metro_routing in the CHANGELOG.md and SDK documentation to reflect the new field name and maintain accurate documentation (CHANGELOG.md) [1] [2].

@juan-malbeclabs juan-malbeclabs enabled auto-merge (squash) February 11, 2026 16:56
@juan-malbeclabs juan-malbeclabs force-pushed the jo/change_metro_route_name branch from ef0975f to 0607586 Compare February 11, 2026 17:56
@juan-malbeclabs juan-malbeclabs force-pushed the jo/change_metro_route_name branch from 5f1cad5 to 9b9745a Compare February 11, 2026 19:09
@juan-malbeclabs juan-malbeclabs merged commit 7b1e14c into main Feb 11, 2026
29 checks passed
@juan-malbeclabs juan-malbeclabs deleted the jo/change_metro_route_name branch February 11, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants