Skip to content

Commit

Permalink
Added the warning about the quality of Polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Apr 19, 2024
1 parent 143f933 commit f0f93dd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/source/tutorials/make-uniswap-v3-swap-in-python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ To run:
export PRIVATE_KEY="your private key here"
python scripts/make-swap-on-uniwap-v3.py
.. note ::
Polygon is notoriously low quality what comes to broadcasting transactions and confirming them.
If you get errors like `Transaction confirmation failed` and `ValueError: {'code': -32000, 'message': 'replacement transaction underpriced'}`
it usually means that Polygon mempool is broken. In this case, try to run the script on Uniswap v3
deployment on some other blockchain.
Example script
~~~~~~~~~~~~~~

Expand Down

0 comments on commit f0f93dd

Please sign in to comment.