Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update view-only quoter address in base #542

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

jsy1218
Copy link
Member

@jsy1218 jsy1218 commented Apr 19, 2024

I used tenderly simulation to debug, then I noticed the computed pool address from the view-only quoter is non-existent on Base. I was using the wrong v3 core factory when deploying to Base. I already fixed that and re-deployed Uniswap/view-quoter-v3#12, but we also need to update the quoter deploy address in SOR, so that routing-api quote accuracy can go up on Base.

  • What is the new behavior (if this is a feature change)?
    Update quoter address

  • Other information:

@jsy1218 jsy1218 self-assigned this Apr 19, 2024
@jsy1218 jsy1218 requested a review from a team as a code owner April 19, 2024 04:57
@jsy1218 jsy1218 force-pushed the jsy1218/update-base-view-only-quoter-address branch from 0264e55 to 4df5689 Compare April 19, 2024 14:09
Copy link
Member Author

jsy1218 commented Apr 19, 2024

Merge activity

  • Apr 19, 10:10 AM EDT: Graphite rebased this pull request as part of a merge.
  • Apr 19, 10:11 AM EDT: @jsy1218 merged this pull request with Graphite.

@jsy1218 jsy1218 merged commit d433994 into main Apr 19, 2024
24 checks passed
@jsy1218 jsy1218 deleted the jsy1218/update-base-view-only-quoter-address branch April 19, 2024 14:11
jsy1218 added a commit that referenced this pull request May 9, 2024
- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
Big fix

- **What is the current behavior?** (You can also link to an open issue here)
Since shadow quoting in Base today (Uniswap/routing-api#598), the accuracy has been low:
![Screenshot 2024-04-18 at 9 52 46 PM](https://github.com/Uniswap/smart-order-router/assets/91580504/d2c18e04-1ae2-4ec7-adf3-0ebab0f0988b)

I used tenderly [simulation](https://www.tdly.co/shared/simulation/cf37f5ed-5eaf-49f6-b966-fc33c10e0748) to debug, then I noticed the computed pool address from the view-only quoter is non-existent on Base. I was using the wrong v3 core factory when deploying to Base. I already fixed that and re-deployed Uniswap/view-quoter-v3#12, but we also need to update the quoter deploy address in SOR, so that routing-api quote accuracy can go up on Base.

- **What is the new behavior (if this is a feature change)?**
Update [quoter](https://basescan.org/address/0x222cA98F00eD15B1faE10B61c277703a194cf5d2#code) address 

- **Other information**:
jsy1218 added a commit that referenced this pull request May 9, 2024
- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
Big fix

- **What is the current behavior?** (You can also link to an open issue here)
Since shadow quoting in Base today (Uniswap/routing-api#598), the accuracy has been low:
![Screenshot 2024-04-18 at 9 52 46 PM](https://github.com/Uniswap/smart-order-router/assets/91580504/d2c18e04-1ae2-4ec7-adf3-0ebab0f0988b)

I used tenderly [simulation](https://www.tdly.co/shared/simulation/cf37f5ed-5eaf-49f6-b966-fc33c10e0748) to debug, then I noticed the computed pool address from the view-only quoter is non-existent on Base. I was using the wrong v3 core factory when deploying to Base. I already fixed that and re-deployed Uniswap/view-quoter-v3#12, but we also need to update the quoter deploy address in SOR, so that routing-api quote accuracy can go up on Base.

- **What is the new behavior (if this is a feature change)?**
Update [quoter](https://basescan.org/address/0x222cA98F00eD15B1faE10B61c277703a194cf5d2#code) address 

- **Other information**:
jsy1218 added a commit that referenced this pull request May 10, 2024
- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
Big fix

- **What is the current behavior?** (You can also link to an open issue here)
Since shadow quoting in Base today (Uniswap/routing-api#598), the accuracy has been low:
![Screenshot 2024-04-18 at 9 52 46 PM](https://github.com/Uniswap/smart-order-router/assets/91580504/d2c18e04-1ae2-4ec7-adf3-0ebab0f0988b)

I used tenderly [simulation](https://www.tdly.co/shared/simulation/cf37f5ed-5eaf-49f6-b966-fc33c10e0748) to debug, then I noticed the computed pool address from the view-only quoter is non-existent on Base. I was using the wrong v3 core factory when deploying to Base. I already fixed that and re-deployed Uniswap/view-quoter-v3#12, but we also need to update the quoter deploy address in SOR, so that routing-api quote accuracy can go up on Base.

- **What is the new behavior (if this is a feature change)?**
Update [quoter](https://basescan.org/address/0x222cA98F00eD15B1faE10B61c277703a194cf5d2#code) address 

- **Other information**:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants