mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-13 11:36:45 +00:00
* Setup api / reducers / actions for gas. * Implement gas price saga, fetch from component, and loading states. Blocked on CORS. * Implement caching mechanism. * Add tests for gas saga and reducer. * More testing. * Indicate that gas price is recommended when fetched from API. * Hide track while loading. * Fix tscheck. * Check gas estimate before assuming its ok. * Check for correct logical order of gas prices. * Tscheck fixes.
9 lines
307 B
TypeScript
9 lines
307 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 = 1;
|
|
export const GAS_PRICE_GWEI_UPPER_BOUND = 10000;
|
|
export const GAS_PRICE_GWEI_DEFAULT = 40;
|