aligned_layer icon indicating copy to clipboard operation
aligned_layer copied to clipboard

refactor: improve user fee bumps

Open uri-99 opened this issue 1 year ago • 0 comments

The idea is to refactor the bumping mechanism, when a user wants to bump the fee for a proof.

For this in the SDK there should be a function that takes either:

  • % to bump
  • amount to bump
  • new max fee (current implementation
  • bump to match a batch of size N

This functions should also be callable via the aligned CLI.

After this bump mechanism is working, the previous bumping mechanism should be deprecated, the mechanism of replacement messages; Replacing a same nonce with a highest fee brings all sorts of problems, from the WS connection, to the known limits to max_fee, and the need for the user to know the nonces he sent (which he never does).

uri-99 avatar Dec 04 '24 16:12 uri-99