ChainSafe / chainbridge-celo

GNU Lesser General Public License v3.0
3 stars 2 forks source link

Add fee flag to deposit CLI CMDs #101

Open P1sar opened 3 years ago

P1sar commented 3 years ago

In case when bridge is set with some fee, we should be able to make deposits and pay this fee. Currently if fee is set it is impossible to use CLI cmd deposit for both erc20 erc720

Implementation details

add flag -feeAmount or just -fee for deposit cmds for erc20 and erc720

Testing details

add cli test flow where deposit is sent when fee is set for bridge

Acceptance Criteria

tets are pass