Skip to content

fix: skip settings on codeDiff if does not exisits#26

Merged
sakulstra merged 2 commits intomainfrom
fix/xlayer-diff
Mar 17, 2026
Merged

fix: skip settings on codeDiff if does not exisits#26
sakulstra merged 2 commits intomainfrom
fix/xlayer-diff

Conversation

@brotherlymite
Copy link
Copy Markdown
Contributor

@brotherlymite brotherlymite commented Mar 17, 2026

Some explorers do not have settings param on the downloaded source code, for ex. x-layer explorer does not, which at the moment causes code diffs to break.

This patch allows to still perform codeDiffs via CLI if settings does not exists on the source code from the explorer. So we skip doing diffs on the settings if it does not exists.

To test it works, you can try with this command for ex. node packages/cli/dist/index.js codeDiff --address2 0x061D8e131F26512348ee5FA42e2DF1bA9d6505E9 --chainId2 196 --address1 0x8147b99DF7672A21809c9093E6F6CE1a60F119Bd --chainId1 1 -o file --path ./diffs/POOL.md

@sakulstra sakulstra merged commit f445e51 into main Mar 17, 2026
1 check passed
@sakulstra sakulstra deleted the fix/xlayer-diff branch March 17, 2026 13: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.

2 participants