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.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename MATIC to POL in genesis and tests #2503
Rename MATIC to POL in genesis and tests #2503
Changes from 2 commits
1c67023
404ce72
515976b
451bab9
aebe932
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Issues found: Remaining
MATIC
references detected in the codebase.The verification script identified multiple instances of
MATIC
that were not renamed toPOL
. Please address these remaining references to ensure a complete and consistent rename throughout the codebase.CurrencyPair: slinkytypes.CurrencyPair{Base: "MATIC", Quote: "USD"}
OffChainTicker: "MATICUSDT"
genesis
related toPOL/USD
still referenceMATIC
.🔗 Analysis chain
LGTM: POL test case added correctly.
The new test case for POL exchange config has been added correctly, replacing the previous MATIC test case. This change aligns with the PR objective of renaming MATIC to POL.
To ensure consistency, please run the following script to verify that all MATIC references have been replaced with POL throughout the codebase:
Please review the output of this script to ensure that:
pol_exchange_config.json
file exists in the appropriate location.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 492
Script:
Length of output: 7200
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Issue Found: Remaining References to MATIC in
constants.go
Several instances of "MATIC" are still present in
protocol/app/upgrades/v6.0.0/constants.go
. Please update these constants to "POL" to ensure complete consistency across the codebase.🔗 Analysis chain
LGTM: Market configuration updated from MATIC to POL.
The market configuration has been correctly updated from MATIC to POL in the
generateTestMarketPriceExponentMap
function. This change aligns with the PR objective and is consistent with the renaming process.To ensure consistency across the codebase, please run the following script to check for any remaining references to MATIC:
If the script returns any results, please ensure that those occurrences are also updated to POL where appropriate.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 13958