fix: lower UniswapV3Sampler quote gas allowance to 700k (#438)

* fix: lower UniswapV3Sampler quote gas allowance to 700k

* chore: add asset-swapper changelog entry
This commit is contained in:
Kim Persson
2022-03-03 13:45:20 +01:00
committed by GitHub
parent 9141a9d2c8
commit 87be6fbb8a
2 changed files with 6 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ interface IUniswapV3Pool {
contract UniswapV3Sampler
{
/// @dev Gas limit for UniswapV3 calls. This is 100% a guess.
uint256 constant private QUOTE_GAS = 900e3;
uint256 constant private QUOTE_GAS = 700e3;
/// @dev Sample sell quotes from UniswapV3.
/// @param quoter UniswapV3 Quoter contract.