threefoldtecharchive / threefold_hub

Apache License 2.0
0 stars 2 forks source link

automated genesis: fees should be consistent between gbt-cmd.sh and gbt-config.toml #101

Open abom opened 2 years ago

abom commented 2 years ago

Need to make it consistent so gbt can pick the txs and don't show errors like:

[2022-07-05T11:14:41Z INFO  relayer::request_batches] Requesting batch for 0xDC5a9199e2604A6BF4A99A583034506AE53F4B34
[2022-07-05T11:14:41Z WARN  relayer::request_batches] Failed to request batch with InsufficientFees { fee_info: InsufficientFees { min_fees: [Coin { amount: Uint256(23166560), denom: "TFT" }] } }
[2022-07-05T11:15:01Z INFO  relayer::valset_relaying] We have detected that valset 1 is valid to submit. Latest on Ethereum is 0 This update is estimated to cost 76310 Gas @ 10 Gwei/ 0.00 ETH to submit
[2022-07-05T11:15:03Z INFO  relayer::request_batches] Requesting batch for 0xDC5a9199e2604A6BF4A99A583034506AE53F4B34
[2022-07-05T11:15:03Z WARN  relayer::request_batches] Failed to request batch with InsufficientFees { fee_info: InsufficientFees { min_fees: [Coin { amount: Uint256(23166560), denom: "TFT" }] } }

Currently, the generated gbt-cmd.sh has -f 20000000TFT while the generated gbt-config.toml has amount = "30000000".