Skip to content

Add repeating checks for high fees required due to long contract queue #33

Description

@TobiWo

Summary

The queue of open consolidation or exit requests influences the fee which need to be send as value along a respective transaction exponentially. Therefore a respective log is needed if the queue is long, hence resulting in high fees.

Details

  1. Add trx cost threshold to be provided by user
  • Cost threshold is tested against calculated contract fee -> for each batch/block
  • Warning is logged with trx costs in eth and execution is halted
  • User is asked to continue or abort
  1. Add a fee only mode (via separate --fetch-fees flag) which simply logs system contract fees for each block -> as convenience so that the user keeps track of the state of costs
  2. Predict/Caluclate trx costs while taking number of trx which will be send into account

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions