mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-19 07:32:34 +00:00
e0c4599b64
* add gas limit/price constants * add gas limit/price validators & selectors * apply new gas limit/price validation to components and sagas * create/apply function to sanitize advanced fields input * add types, update tests * fix unrelated failing test
8 lines
265 B
TypeScript
8 lines
265 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;
|