Fix IOTA-SUI folder mismatch and restore correct structure in 'target_chains' #2517
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.
Summary
This PR resolves a folder mismatch issue in
target_chains
where thesui
folder was overwritten with IOTA code. It:target_chains/sui
folder (which contained IOTA code) totarget_chains/iota
to place the IOTA code in its proper directory.target_chains/sui
folder from a previous commit to bring back Sui support.target_chains
.Rationale
The recent IOTA integration replaced the
target_chains/sui
folder with IOTA code instead of creating a dedicatedtarget_chains/iota
folder. This broke Sui support and misplaced IOTA code in thesui
directory, where it didn’t belong. These changes are necessary to restore Sui functionality and relocate IOTA code to its intended location, maintaining proper separation of blockchain-specific code undertarget_chains
.How has this been tested?
I manually verified the changes by:
target_chains/iota
folder now contains the IOTA-specific code, correctly relocated fromsui
.target_chains/sui
folder contains the restored Sui-specific code from commit<commit-hash>
(replace with the actual hash).target_chains
now correctly separates IOTA and Sui dependencies in their respective directories.Note: If there are existing tests for Sui and IOTA integrations within
target_chains
, I recommend running them to ensure no regressions. I didn’t add new tests as this is a structural fix, but please advise if the tests need updating.