You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
Alice is generating temporary accounts...
Alice is generating an example NFT...
The NFT ID is: 17
Alice is creating auction smart contract that lasts 30 seconds to auction off NFT...
Alice is setting up and funding NFT auction...
Alice's algo balance: 99998100 algosThe smart contract now holds the following: {0: 202000, 17: 1}Carla wants to bid on NFT, her algo balance: 100000100 algosCarla is placing bid for: 1000000 algosCarla is opting into NFT with id: 17Alice is closing out the auction....The smart contract now holds the following: {0: 0}Carla's NFT balance: 1 for NFT ID: 17
Alice's balances after auction: {0: 101197100, 17: 0} AlgosCarla's balances after auction: {0: 98997100, 17: 1} Algos
Actual Response
Alice is generating temporary accounts...
Alice is generating an example NFT...
The NFT ID is: 189
Alice is creating auction smart contract that lasts 30 seconds to auction off NFT...
Alice is setting up and funding NFT auction...
Alice's algo balance: 99998000 algosLast round time: 1637845428Start time: 1637876172Sleeping time: 30749Getting the balancesThe smart contract now holds the following: {0: 202000, 189: 1}Carla wants to bid on NFT, her algo balance: 100000000 algosCarla is placing bid for: 1000000 algosTraceback (most recent call last): File "/Users/tonydspaniard/PythonProjects/Algorand/auction-demo/venv/lib/python3.8/site-packages/algosdk/v2client/algod.py", line 82, in algod_request resp = urlopen(req) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp)urllib.error.HTTPError: HTTP Error 400: Bad RequestDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "example.py", line 114, in <module> simple_auction() File "example.py", line 79, in simple_auction placeBid(client=client, appID=appID, bidder=bidder, bidAmount=bidAmount) File "/Users/tonydspaniard/PythonProjects/Algorand/auction-demo/auction/operations.py", line 228, in placeBid client.send_transactions([signedPayTxn, signedAppCallTxn]) File "/Users/tonydspaniard/PythonProjects/Algorand/auction-demo/venv/lib/python3.8/site-packages/algosdk/v2client/algod.py", line 307, in send_transactions return self.send_raw_transaction( File "/Users/tonydspaniard/PythonProjects/Algorand/auction-demo/venv/lib/python3.8/site-packages/algosdk/v2client/algod.py", line 237, in send_raw_transaction return self.algod_request("POST", req, data=txn, **kwargs)["txId"] File "/Users/tonydspaniard/PythonProjects/Algorand/auction-demo/venv/lib/python3.8/site-packages/algosdk/v2client/algod.py", line 89, in algod_request raise error.AlgodHTTPError(e, code)algosdk.error.AlgodHTTPError: TransactionPool.Remember: transaction 6D5XI4OFPUV3YPWW6HTCXQ57XYAWEKRNGXHUZSAEHDF3BJOV27VA: logic eval error: assert failed pc=335
The text was updated successfully, but these errors were encountered:
The logic eval error happens when, during evaluation of the logic, given the transactions, there is some condition that fails. To see the full trace you can use something like dryrun to debug and figure out why its not working.
I'll say that trying to use dev mode sandbox for this will not work since the application relies on timestamps and dev mode does not keep track of time the same way as any of the !dev configs
The logic eval error happens when, during evaluation of the logic, given the transactions, there is some condition that fails. To see the full trace you can use something like dryrun to debug and figure out why its not working.
I'll say that trying to use dev mode sandbox for this will not work since the application relies on timestamps and dev mode does not keep track of time the same way as any of the !dev configs
So what is the solution exactly?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected behavior
output
Actual Response
The text was updated successfully, but these errors were encountered: