mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-10 11:05:47 +00:00
c76d0b3fa5
* Give each network the ability to specify default estimates, and whether or not they should fetch estimates from API. Convert gas slider to always use estimates. * Fix gas cache invalidation, invalid too high / low logic. * Fix up tests. * tscheck
9 lines
309 B
TypeScript
9 lines
309 B
TypeScript
// Lower/upper ranges for gas limit
|
|
export const GAS_LIMIT_LOWER_BOUND = 21000;
|
|
export const GAS_LIMIT_UPPER_BOUND = 8000000;
|
|
|
|
// Lower/upper ranges for gas price in gwei
|
|
export const GAS_PRICE_GWEI_LOWER_BOUND = 0.01;
|
|
export const GAS_PRICE_GWEI_UPPER_BOUND = 3000;
|
|
export const GAS_PRICE_GWEI_DEFAULT = 20;
|