Working through the examples of uniswap v2 (https://uniswap.org/docs/v2/smart-contract-integration/quick-start/) I got stuck with the following problem:
As we can see, v2-core requires solidity 5 while v2-peryphery requires solidity 6.
The issue is opened on the github: https://github.com/Uniswap/uniswap-v2-core/issues/105 from 2020.
Does anyone have a solution to that? How should i import both core and periphery contracts into my contract to make their examples work?