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
Uniswap example hang before creating a pool #733
Comments
The same code pass the tests on plutus-use-cases/test. How to understand this?
|
Any hint about this? |
Thanks for submitting this bug :) There are 2 issues: One has to do with exceeding transaction limits. We should simply modify the default Params and use a higher transaction size limit. Of course, this will make the example not work on the mainnet, but this Uniswap example was never optimized to work on mainnet. The reason it works on The 2nd problem is a failing Plutus script with error code “PT5” when creating a liquidity pool. This error code is the result of a False statement, but with no trace message associated with it. Some debugging is necessary for this one. |
Summary
Running the uniswap example (that uses the simulator/emulator) from the command line, the log does not display the last message " "liquidity pool created". instead it display a warning and get blocked
Steps to reproduce the behavior
Actual Result
Expected Result
display "liquidity pool created" at the end of the console log
Describe the approach you would take to fix this
No response
System info
OS: Ubuntu
Version: Docker instance
plutus-apps commit: 4497333
the last plutus-apps commit : 41875be
produces another warning but the symptoms are the same
The text was updated successfully, but these errors were encountered: