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.