update wait_for_tansaction api to support long poll#10
update wait_for_tansaction api to support long poll#10fishronsage wants to merge 2 commits intoaptos-labs:mainfrom
Conversation
davidiw
left a comment
There was a problem hiding this comment.
thank you for your contribution!!!
From reading the spec here: https://fullnode.mainnet.aptoslabs.com/v1/spec#/operations/wait_transaction_by_hash
it seems like we should just use this as a drop in replacement for the existing code, so it should just be a small amount of changes.
I'm not sure we need to try to use both code paths at this point unless we found that there's a perceivable performance difference.
|
Coming back to this within the next 24 hours. |
73ea5b6 to
009eeb3
Compare
|
(c3003a9 paste the previous review here for convenient) |
davidiw
left a comment
There was a problem hiding this comment.
do I need to migrate my comments here?
I think we can discuss here for new comments and leave old ones there since it's easy to track. 😄 |
|
curious, after giving feedback in the previous commit, it doesn't look like this was updated. is that intended? @fishronsage |
|
lemme know what you think of the tweak and then we can land it. |
Co-authored-by: David Wolinsky <isaac.wolinsky@gmail.com>
|
Why are the tests failing 🤔 |
|
I think it could be due to some settings of devent? I ran this on testnet and it passed. I also ran the ts sdk's example, got 404 too on devent. |
|
Oh, https://github.com/aptos-labs/aptos-python-sdk/actions/runs/10852701073/job/30120071280?pr=10 did get 404 on testnet... |
|
Okay, let's wait to land this until we figure out why the infra is inconsistent with our expectations. I'm following up with the maintainers of the fullnodes. |

No description provided.