Skip to content
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

updates outdated etherscan txn find/replace functionality to use blocknative #7490

Merged
merged 3 commits into from
Sep 23, 2020

Conversation

owocki
Copy link
Contributor

@owocki owocki commented Sep 21, 2020

Description

updates outdated etherscan txn find/replace functionality to use blocknative
introduces a new function economy.utils.watch_txn() which can be used to tell blocknative to tell us when a txn succeeds, is replaced, or any other number of statuses

deprecates the etherscan getReplacedTX() method that was no lolnger workering due to their new cloudflare integration.

handles the initial work of getting bountyfulfillment txn find/replaces working

Refers/Fixes

like 20% of our CS requests

Testing

tested locally


In [2]: getReplacedTX('0x797a61f94f7fb20528fdbedb9d28ebdedd721ad5a2b0f4d4ac991f2ca1dcfc9b')
Out[2]: '0x16903550083ee036077e67539f5da0c3bea44d874845083007cdd934e152e015'

@thelostone-mc
Copy link
Member

Note: need to register BLOCKNATIVE_API key before deploy

@owocki
Copy link
Contributor Author

owocki commented Sep 23, 2020

its already in the env files in prod!!

@octavioamu octavioamu merged commit c18f556 into stable Sep 23, 2020
@nickfarrow
Copy link

nickfarrow commented Oct 12, 2020

It looks like all these changes have been merged, but my bounty is still pending. Is there something I need to trigger for it to update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants