Stale Oracle prices might affect the rates
It's possible that due to network congestion or other reasons, the price that the ChainLink oracle returns is old and not up to date. This is more extreme in lesser known tokens that have fewer ChainLink Price feeds to update the price frequently. The codebase as is, relies on `chainLink().getLatestAnswer()` and does not check the timestamp of the price.\\n```\\n    function priceFromAddress(address tokenAddress) public view returns(uint256) {\\n        if(Utils.\\_isETH(address(globalConfig), tokenAddress)) {\\n            return 1e18;\\n        }\\n        return uint256(globalConfig.chainLink().getLatestAnswer(tokenAddress));\\n    }\\n```\\n
Do a sanity check on the price returned from the oracle. If the price is older than a threshold, revert or handle in other means.
```\\n    function priceFromAddress(address tokenAddress) public view returns(uint256) {\\n        if(Utils.\\_isETH(address(globalConfig), tokenAddress)) {\\n            return 1e18;\\n        }\\n        return uint256(globalConfig.chainLink().getLatestAnswer(tokenAddress));\\n    }\\n```\\n