-
Notifications
You must be signed in to change notification settings - Fork 442
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): missing single chain resolver (#5156)
### Description - Removed `SingleChainResolver` in favor of a single MultiChainResolver class - Fixed chain resolution logic to properly handle: - Single chain selection via `argv.chain` - Multiple chain selection via `argv.chains` - Added proper handling for empty chain arrays to prevent unexpected behavior ### Drive-by changes ### Related issues None ### Backward compatibility Yes ### Testing Manual --------- Co-authored-by: Morteza Shojaei <[email protected]> Co-authored-by: mshojaei-txfusion <[email protected]>
- Loading branch information
1 parent
9574b1b
commit aad2c2d
Showing
3 changed files
with
14 additions
and
30 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@hyperlane-xyz/cli': minor | ||
--- | ||
|
||
Fixing the chain resolver checks and handling for argv.chain |
This file contains 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
25 changes: 0 additions & 25 deletions
25
typescript/cli/src/context/strategies/chain/SingleChainResolver.ts
This file was deleted.
Oops, something went wrong.