You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the flow TRF ERC20 Token, node Contract Executor, the gas price is hard coded:
let overrides = {
// The maximum units of gas for the transaction to use
gasLimit: 800000,
// The price (in wei) per unit of gas
gasPrice: ethers.utils.parseUnits('8.0', 'gwei'),
};
As the average gas price on the network grew, I had to keep rewriting the value so that transactions for membership tokens would succeed relatively quickly. It would be easier if the gas price for this transaction (and perhaps other transactions?) was a global const. However, I'm not sure how this would interact with the other gas-related global constants, min_eth_for_gas_fee and gas_buffer
Ideally, the gas price would be determined by data from something like the Eth Gas Station API
The text was updated successfully, but these errors were encountered:
Hi!
I'm participating in DAO Hack Month and would like to resolve that issue as a part of my project, it is ok?
The project is aiming to propose additional features and some improvements of dao-help
In the flow
TRF ERC20 Token
, nodeContract Executor
, the gas price is hard coded:As the average gas price on the network grew, I had to keep rewriting the value so that transactions for membership tokens would succeed relatively quickly. It would be easier if the gas price for this transaction (and perhaps other transactions?) was a global const. However, I'm not sure how this would interact with the other gas-related global constants,
min_eth_for_gas_fee
andgas_buffer
Ideally, the gas price would be determined by data from something like the Eth Gas Station API
The text was updated successfully, but these errors were encountered: