Skip to content

Gas suddenly spiked, causing the user’s ETH to be drained rapidly. #44

@iteyelmp

Description

@iteyelmp

Because ethfs-cli is a batch upload transaction tool that runs in the background, unlike traditional DeFi where users confirm each transaction one by one, if the gas price suddenly spikes after running for a while, it can quickly drain the user’s ETH.

So we can add a parameter to set a transaction cost limit. When the gas cost of a transaction exceeds this limit, the process will stop and notify the user.

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