While I understand the tokens in Polygon POS will be automatically converted from MATIC to POL.
With the POL migration coming up this September, will the mainnet RPC change? if yes, where will be the ledger for the old transactions and will it be migrated as well?
What will happen to the already deployed contract? Do we need to redeploy the contacts which are already live?
Also where is the testnet RPC endpoint for testing this. I am currently on AMOY testnet, does this have this change?
In general, you don’t have to do anything if you are on PoS except:
Update price oracles: Core developers of DeFi protocols may consider transitioning to a POL price oracle in the coming month to ensure accurate price feeds and data integration.
Deprecate MATIC name on front ends: Additionally, core developers may consider deprecating the use of MATIC and wMATIC on dApp front ends in favor of POL and wPOL to ensure accuracy as to relevant gas token.
So, minor UX fixes may be necessary. If you are doing advanced things with MATIC - like using it as collateral and reading a fixed supply, or doing any other dynamic assignment operations (a rebasing derivative, for example), you might have to do more work, but unless you’re such an outlier, your contracts should all work as intended.
With the upcoming migration from MATIC to POL, expect some changes:
Mainnet RPC Endpoint: Yes, the RPC endpoint will likely change with the migration. Be sure to update your configurations to the new endpoints when they are announced.
Old Transactions: Don’t worry about losing old transactions. The transaction history will still be available even after the migration.
Existing Contracts: Typically, you won’t need to redeploy your contracts. They should continue to work as before, but it’s a good idea to double-check the migration details just to be sure.
Testnet RPC: For testing, you should check Polygon’s documentation for the latest testnet RPC endpoints. The AMOY testnet might not reflect the changes, so keep an eye on Polygon’s updates.
Keep an eye on official Polygon channels for the latest info and detailed instructions.