-
Notifications
You must be signed in to change notification settings - Fork 17
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
update wait_for_tansaction api to support long poll #10
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
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.