question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Automatic transaction repricing

See original GitHub issue

Overview

Automatically rebroadcast pending transactions with a higher gas price, until the transaction confirms.

Specification

Not 100% what’s best, but I’m thinking:

MyContract.foo({'gas_price': "50 gwei", 'gas_price_increment': "1 gwei", 'gas_price_interval': 60})

gas_price_increment: the amount of gas to add with each subsequently broadcasted tx. Including this value enables the functionality. gas_price_interval: the frequency to rebroadcast at. If not given, should use a sensible default (1 minute seems good)

pymaker already does this well - it would be good to look at their implementation for inspiration and solutions to problems I’ve not yet considered.

Dependencies

#726

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
iamdefinitelyahumancommented, Nov 18, 2020

@quintinbrooks i’m very close to merging #847, thanks for checking

1reaction
gitcoinbotcommented, Nov 24, 2020

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 0.69 ETH (412.73 USD @ $598.15/ETH) has been submitted by:


Read more comments on GitHub >

github_iconTop Results From Across the Web

Reprice Definition - Investopedia
Repricing is the exchange of employee stock options that are no longer in the money for options that are currently at the money....
Read more >
12. Re-pricing
You can re-price a transaction (or part amount) into a new transaction or multiple transactions through the 'Re-Price Transaction (Split Details)' screen. You ......
Read more >
Credit Card Interest Rate Repricing Study - 2012 - WalletHub
When issuers increase interest rates on new transactions, they have to review the account every six months thereafter in order to determine ...
Read more >
5 Ways Automated Repricing Helps Win You the Buy Box
Automated repricing allows you to quickly and easily stay on top of the competition by constantly monitoring top competitors on the market and ......
Read more >
How Automatic Repricing Boosts your Amazon Sales
Advanced repricers allow you to input your selling expenses and define your desired margin in advance, assuring that you earn from every transaction...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found