-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Feature request] parity_setMinGasPrice #9125
Comments
I'm mostly interested in using this for custom chain (not Foundation), to set gasprice depending on the current exchange price, so this is related to #9089 |
They are deprecated and not used anymore in v1.11 in favor of the following config:
More info on the new Tx queue here https://wiki.parity.io/Transactions-Queue |
@Tbaut these are configuration options. My question is about updating those values via api (especially gas price), without client restarts. |
Answered above
You can't fo it dynamically, it's a feature request :) |
Please modify the title accordingly. |
@Tbaut OK, I updated the title, but is there any way to get more insight on why these api calls were deprecated? I mean - these methods were already there and then were removed on purpose. Maybe this feature request doesn't make sense in the new tx queue implementation? Maybe there's some other way to update the price now? |
We completely changed the logic of the queue. The idea was to push the changes and test them, see how it works (pretty smooth so far) and then adapt to the needs. I believe there is no other way to change the gas price. @tomusdrw can tell if this makes sense to build |
The methods were deprecated cause they might interfere with internal changes done inside miner (like automatic min gas price based on USD rate). Also it was a bit unclear whether those methods should apply for transactions already in the pool or not. For the new quue, it's possible to have |
@tomusdrw thanks, I think it makes sense to error |
Little late, but closed via #10294 |
It looks like
parity_setMinGasPrice
and some other apis are deprecated nowhttps://github.com/paritytech/parity/blob/494eb4ab6b518278fe7bf029de35f4e6de58b464/rpc/src/v1/impls/parity_set.rs#L78-L91
Could someone clarify why they are deprecated and how can those values (gas price, transactions limit, gas limit) be dynamically updated now?
The text was updated successfully, but these errors were encountered: