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:
parent
9141a9d2c8
commit
87be6fbb8a
@ -4,7 +4,11 @@
|
|||||||
"changes": [
|
"changes": [
|
||||||
{
|
{
|
||||||
"note": "Add BTRFLY/WETH Curve pool on mainnet",
|
"note": "Add BTRFLY/WETH Curve pool on mainnet",
|
||||||
"pr": "437"
|
"pr": 437
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"note": "Lower Uniswap V3 Sampler gas allowance",
|
||||||
|
"pr": 438
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -77,7 +77,7 @@ interface IUniswapV3Pool {
|
|||||||
contract UniswapV3Sampler
|
contract UniswapV3Sampler
|
||||||
{
|
{
|
||||||
/// @dev Gas limit for UniswapV3 calls. This is 100% a guess.
|
/// @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.
|
/// @dev Sample sell quotes from UniswapV3.
|
||||||
/// @param quoter UniswapV3 Quoter contract.
|
/// @param quoter UniswapV3 Quoter contract.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user