|
|
@ -85,18 +85,18 @@ describe('custom-gas selectors', () => { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
labelKey: 'average', |
|
|
|
labelKey: 'average', |
|
|
|
|
|
|
|
feeInPrimaryCurrency: '0.000084 ETH', |
|
|
|
|
|
|
|
feeInSecondaryCurrency: '$0.02', |
|
|
|
|
|
|
|
priceInHexWei: '0xee6b2800', |
|
|
|
|
|
|
|
timeEstimate: '~5 min 18 sec', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
labelKey: 'fast', |
|
|
|
feeInSecondaryCurrency: '$0.03', |
|
|
|
feeInSecondaryCurrency: '$0.03', |
|
|
|
feeInPrimaryCurrency: '0.000105 ETH', |
|
|
|
feeInPrimaryCurrency: '0.000105 ETH', |
|
|
|
timeEstimate: '~3 min 18 sec', |
|
|
|
timeEstimate: '~3 min 18 sec', |
|
|
|
priceInHexWei: '0x12a05f200', |
|
|
|
priceInHexWei: '0x12a05f200', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
|
|
|
|
labelKey: 'fast', |
|
|
|
|
|
|
|
feeInSecondaryCurrency: '$0.05', |
|
|
|
|
|
|
|
feeInPrimaryCurrency: '0.00021 ETH', |
|
|
|
|
|
|
|
timeEstimate: '~30 sec', |
|
|
|
|
|
|
|
priceInHexWei: '0x2540be400', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
], |
|
|
|
mockState: { |
|
|
|
mockState: { |
|
|
|
metamask: { |
|
|
|
metamask: { |
|
|
@ -114,6 +114,8 @@ describe('custom-gas selectors', () => { |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
safeLow: 2.5, |
|
|
|
safeLow: 2.5, |
|
|
|
safeLowWait: 6.6, |
|
|
|
safeLowWait: 6.6, |
|
|
|
|
|
|
|
average: 4, |
|
|
|
|
|
|
|
avgWait: 5.3, |
|
|
|
fast: 5, |
|
|
|
fast: 5, |
|
|
|
fastWait: 3.3, |
|
|
|
fastWait: 3.3, |
|
|
|
fastest: 10, |
|
|
|
fastest: 10, |
|
|
@ -132,19 +134,19 @@ describe('custom-gas selectors', () => { |
|
|
|
priceInHexWei: '0x12a05f200', |
|
|
|
priceInHexWei: '0x12a05f200', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
feeInPrimaryCurrency: '0.000147 ETH', |
|
|
|
|
|
|
|
feeInSecondaryCurrency: '$0.38', |
|
|
|
labelKey: 'average', |
|
|
|
labelKey: 'average', |
|
|
|
|
|
|
|
priceInHexWei: '0x1a13b8600', |
|
|
|
|
|
|
|
timeEstimate: '~10 min 6 sec', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
labelKey: 'fast', |
|
|
|
feeInSecondaryCurrency: '$0.54', |
|
|
|
feeInSecondaryCurrency: '$0.54', |
|
|
|
feeInPrimaryCurrency: '0.00021 ETH', |
|
|
|
feeInPrimaryCurrency: '0.00021 ETH', |
|
|
|
timeEstimate: '~6 min 36 sec', |
|
|
|
timeEstimate: '~6 min 36 sec', |
|
|
|
priceInHexWei: '0x2540be400', |
|
|
|
priceInHexWei: '0x2540be400', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
|
|
|
|
labelKey: 'fast', |
|
|
|
|
|
|
|
feeInSecondaryCurrency: '$1.07', |
|
|
|
|
|
|
|
feeInPrimaryCurrency: '0.00042 ETH', |
|
|
|
|
|
|
|
timeEstimate: '~1 min', |
|
|
|
|
|
|
|
priceInHexWei: '0x4a817c800', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
], |
|
|
|
mockState: { |
|
|
|
mockState: { |
|
|
|
metamask: { |
|
|
|
metamask: { |
|
|
@ -165,6 +167,8 @@ describe('custom-gas selectors', () => { |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
safeLow: 5, |
|
|
|
safeLow: 5, |
|
|
|
safeLowWait: 13.2, |
|
|
|
safeLowWait: 13.2, |
|
|
|
|
|
|
|
average: 7, |
|
|
|
|
|
|
|
avgWait: 10.1, |
|
|
|
fast: 10, |
|
|
|
fast: 10, |
|
|
|
fastWait: 6.6, |
|
|
|
fastWait: 6.6, |
|
|
|
fastest: 20, |
|
|
|
fastest: 20, |
|
|
@ -184,17 +188,17 @@ describe('custom-gas selectors', () => { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
labelKey: 'average', |
|
|
|
labelKey: 'average', |
|
|
|
|
|
|
|
feeInPrimaryCurrency: '0.000147 ETH', |
|
|
|
feeInSecondaryCurrency: '', |
|
|
|
feeInSecondaryCurrency: '', |
|
|
|
feeInPrimaryCurrency: '0.00021 ETH', |
|
|
|
timeEstimate: '~10 min 6 sec', |
|
|
|
timeEstimate: '~6 min 36 sec', |
|
|
|
priceInHexWei: '0x1a13b8600', |
|
|
|
priceInHexWei: '0x2540be400', |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
labelKey: 'fast', |
|
|
|
labelKey: 'fast', |
|
|
|
feeInSecondaryCurrency: '', |
|
|
|
feeInSecondaryCurrency: '', |
|
|
|
feeInPrimaryCurrency: '0.00042 ETH', |
|
|
|
feeInPrimaryCurrency: '0.00021 ETH', |
|
|
|
timeEstimate: '~1 min', |
|
|
|
timeEstimate: '~6 min 36 sec', |
|
|
|
priceInHexWei: '0x4a817c800', |
|
|
|
priceInHexWei: '0x2540be400', |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
mockState: { |
|
|
|
mockState: { |
|
|
@ -216,6 +220,8 @@ describe('custom-gas selectors', () => { |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
safeLow: 5, |
|
|
|
safeLow: 5, |
|
|
|
safeLowWait: 13.2, |
|
|
|
safeLowWait: 13.2, |
|
|
|
|
|
|
|
average: 7, |
|
|
|
|
|
|
|
avgWait: 10.1, |
|
|
|
fast: 10, |
|
|
|
fast: 10, |
|
|
|
fastWait: 6.6, |
|
|
|
fastWait: 6.6, |
|
|
|
fastest: 20, |
|
|
|
fastest: 20, |
|
|
@ -235,18 +241,18 @@ describe('custom-gas selectors', () => { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
labelKey: 'average', |
|
|
|
labelKey: 'average', |
|
|
|
|
|
|
|
feeInPrimaryCurrency: '0.000147 ETH', |
|
|
|
|
|
|
|
feeInSecondaryCurrency: '$0.38', |
|
|
|
|
|
|
|
priceInHexWei: '0x1a13b8600', |
|
|
|
|
|
|
|
timeEstimate: '~10 min 6 sec', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
labelKey: 'fast', |
|
|
|
feeInSecondaryCurrency: '$0.54', |
|
|
|
feeInSecondaryCurrency: '$0.54', |
|
|
|
feeInPrimaryCurrency: '0.00021 ETH', |
|
|
|
feeInPrimaryCurrency: '0.00021 ETH', |
|
|
|
timeEstimate: '~6 min 36 sec', |
|
|
|
timeEstimate: '~6 min 36 sec', |
|
|
|
priceInHexWei: '0x2540be400', |
|
|
|
priceInHexWei: '0x2540be400', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
|
|
|
|
labelKey: 'fast', |
|
|
|
|
|
|
|
feeInSecondaryCurrency: '$1.07', |
|
|
|
|
|
|
|
feeInPrimaryCurrency: '0.00042 ETH', |
|
|
|
|
|
|
|
timeEstimate: '~1 min', |
|
|
|
|
|
|
|
priceInHexWei: '0x4a817c800', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
], |
|
|
|
mockState: { |
|
|
|
mockState: { |
|
|
|
metamask: { |
|
|
|
metamask: { |
|
|
@ -267,6 +273,8 @@ describe('custom-gas selectors', () => { |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
safeLow: 5, |
|
|
|
safeLow: 5, |
|
|
|
safeLowWait: 13.2, |
|
|
|
safeLowWait: 13.2, |
|
|
|
|
|
|
|
average: 7, |
|
|
|
|
|
|
|
avgWait: 10.1, |
|
|
|
fast: 10, |
|
|
|
fast: 10, |
|
|
|
fastWait: 6.6, |
|
|
|
fastWait: 6.6, |
|
|
|
fastest: 20, |
|
|
|
fastest: 20, |
|
|
@ -286,18 +294,18 @@ describe('custom-gas selectors', () => { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
labelKey: 'average', |
|
|
|
labelKey: 'average', |
|
|
|
|
|
|
|
feeInPrimaryCurrency: '0.000147 ETH', |
|
|
|
|
|
|
|
feeInSecondaryCurrency: '$0.38', |
|
|
|
|
|
|
|
priceInHexWei: '0x1a13b8600', |
|
|
|
|
|
|
|
timeEstimate: '~10 min 6 sec', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
labelKey: 'fast', |
|
|
|
feeInSecondaryCurrency: '$0.54', |
|
|
|
feeInSecondaryCurrency: '$0.54', |
|
|
|
feeInPrimaryCurrency: '0.00021 ETH', |
|
|
|
feeInPrimaryCurrency: '0.00021 ETH', |
|
|
|
timeEstimate: '~6 min 36 sec', |
|
|
|
timeEstimate: '~6 min 36 sec', |
|
|
|
priceInHexWei: '0x2540be400', |
|
|
|
priceInHexWei: '0x2540be400', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
|
|
|
|
labelKey: 'fast', |
|
|
|
|
|
|
|
feeInSecondaryCurrency: '$1.07', |
|
|
|
|
|
|
|
feeInPrimaryCurrency: '0.00042 ETH', |
|
|
|
|
|
|
|
timeEstimate: '~1 min', |
|
|
|
|
|
|
|
priceInHexWei: '0x4a817c800', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
], |
|
|
|
mockState: { |
|
|
|
mockState: { |
|
|
|
metamask: { |
|
|
|
metamask: { |
|
|
@ -318,6 +326,8 @@ describe('custom-gas selectors', () => { |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
safeLow: 5, |
|
|
|
safeLow: 5, |
|
|
|
safeLowWait: 13.2, |
|
|
|
safeLowWait: 13.2, |
|
|
|
|
|
|
|
average: 7, |
|
|
|
|
|
|
|
avgWait: 10.1, |
|
|
|
fast: 10, |
|
|
|
fast: 10, |
|
|
|
fastWait: 6.6, |
|
|
|
fastWait: 6.6, |
|
|
|
fastest: 20, |
|
|
|
fastest: 20, |
|
|
@ -349,16 +359,16 @@ describe('custom-gas selectors', () => { |
|
|
|
priceInHexWei: '0x5d21dba00', |
|
|
|
priceInHexWei: '0x5d21dba00', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
feeInSecondaryCurrency: '$0.27', |
|
|
|
feeInSecondaryCurrency: '$0.16', |
|
|
|
feeInPrimaryCurrency: '0.00105 ETH', |
|
|
|
feeInPrimaryCurrency: '0.00063 ETH', |
|
|
|
labelKey: 'average', |
|
|
|
labelKey: 'average', |
|
|
|
priceInHexWei: '0xba43b7400', |
|
|
|
priceInHexWei: '0x6fc23ac00', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
feeInSecondaryCurrency: '$0.54', |
|
|
|
feeInSecondaryCurrency: '$0.27', |
|
|
|
feeInPrimaryCurrency: '0.0021 ETH', |
|
|
|
feeInPrimaryCurrency: '0.00105 ETH', |
|
|
|
labelKey: 'fast', |
|
|
|
labelKey: 'fast', |
|
|
|
priceInHexWei: '0x174876e800', |
|
|
|
priceInHexWei: '0xba43b7400', |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
mockState: { |
|
|
|
mockState: { |
|
|
@ -380,6 +390,8 @@ describe('custom-gas selectors', () => { |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
safeLow: 25, |
|
|
|
safeLow: 25, |
|
|
|
safeLowWait: 6.6, |
|
|
|
safeLowWait: 6.6, |
|
|
|
|
|
|
|
average: 30, |
|
|
|
|
|
|
|
avgWait: 5.5, |
|
|
|
fast: 50, |
|
|
|
fast: 50, |
|
|
|
fastWait: 3.3, |
|
|
|
fastWait: 3.3, |
|
|
|
fastest: 100, |
|
|
|
fastest: 100, |
|
|
@ -397,16 +409,16 @@ describe('custom-gas selectors', () => { |
|
|
|
priceInHexWei: '0xba43b7400', |
|
|
|
priceInHexWei: '0xba43b7400', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
feeInSecondaryCurrency: '$5.37', |
|
|
|
feeInSecondaryCurrency: '$4.03', |
|
|
|
feeInPrimaryCurrency: '0.0021 ETH', |
|
|
|
feeInPrimaryCurrency: '0.00157 ETH', |
|
|
|
labelKey: 'average', |
|
|
|
labelKey: 'average', |
|
|
|
priceInHexWei: '0x174876e800', |
|
|
|
priceInHexWei: '0x1176592e00', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
feeInSecondaryCurrency: '$10.74', |
|
|
|
feeInSecondaryCurrency: '$5.37', |
|
|
|
feeInPrimaryCurrency: '0.0042 ETH', |
|
|
|
feeInPrimaryCurrency: '0.0021 ETH', |
|
|
|
labelKey: 'fast', |
|
|
|
labelKey: 'fast', |
|
|
|
priceInHexWei: '0x2e90edd000', |
|
|
|
priceInHexWei: '0x174876e800', |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
mockState: { |
|
|
|
mockState: { |
|
|
@ -428,6 +440,8 @@ describe('custom-gas selectors', () => { |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
safeLow: 50, |
|
|
|
safeLow: 50, |
|
|
|
safeLowWait: 13.2, |
|
|
|
safeLowWait: 13.2, |
|
|
|
|
|
|
|
average: 75, |
|
|
|
|
|
|
|
avgWait: 9.6, |
|
|
|
fast: 100, |
|
|
|
fast: 100, |
|
|
|
fastWait: 6.6, |
|
|
|
fastWait: 6.6, |
|
|
|
fastest: 200, |
|
|
|
fastest: 200, |
|
|
@ -446,15 +460,15 @@ describe('custom-gas selectors', () => { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
feeInSecondaryCurrency: '', |
|
|
|
feeInSecondaryCurrency: '', |
|
|
|
feeInPrimaryCurrency: '0.0021 ETH', |
|
|
|
feeInPrimaryCurrency: '0.00157 ETH', |
|
|
|
labelKey: 'average', |
|
|
|
labelKey: 'average', |
|
|
|
priceInHexWei: '0x174876e800', |
|
|
|
priceInHexWei: '0x1176592e00', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
feeInSecondaryCurrency: '', |
|
|
|
feeInSecondaryCurrency: '', |
|
|
|
feeInPrimaryCurrency: '0.0042 ETH', |
|
|
|
feeInPrimaryCurrency: '0.0021 ETH', |
|
|
|
labelKey: 'fast', |
|
|
|
labelKey: 'fast', |
|
|
|
priceInHexWei: '0x2e90edd000', |
|
|
|
priceInHexWei: '0x174876e800', |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
mockState: { |
|
|
|
mockState: { |
|
|
@ -476,6 +490,8 @@ describe('custom-gas selectors', () => { |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
safeLow: 50, |
|
|
|
safeLow: 50, |
|
|
|
safeLowWait: 13.2, |
|
|
|
safeLowWait: 13.2, |
|
|
|
|
|
|
|
average: 75, |
|
|
|
|
|
|
|
avgWait: 9.6, |
|
|
|
fast: 100, |
|
|
|
fast: 100, |
|
|
|
fastWait: 6.6, |
|
|
|
fastWait: 6.6, |
|
|
|
fastest: 200, |
|
|
|
fastest: 200, |
|
|
@ -493,16 +509,16 @@ describe('custom-gas selectors', () => { |
|
|
|
priceInHexWei: '0xba43b7400', |
|
|
|
priceInHexWei: '0xba43b7400', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
feeInSecondaryCurrency: '$5.37', |
|
|
|
feeInSecondaryCurrency: '$4.03', |
|
|
|
feeInPrimaryCurrency: '0.0021 ETH', |
|
|
|
feeInPrimaryCurrency: '0.00157 ETH', |
|
|
|
labelKey: 'average', |
|
|
|
labelKey: 'average', |
|
|
|
priceInHexWei: '0x174876e800', |
|
|
|
priceInHexWei: '0x1176592e00', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
feeInSecondaryCurrency: '$10.74', |
|
|
|
feeInSecondaryCurrency: '$5.37', |
|
|
|
feeInPrimaryCurrency: '0.0042 ETH', |
|
|
|
feeInPrimaryCurrency: '0.0021 ETH', |
|
|
|
labelKey: 'fast', |
|
|
|
labelKey: 'fast', |
|
|
|
priceInHexWei: '0x2e90edd000', |
|
|
|
priceInHexWei: '0x174876e800', |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
mockState: { |
|
|
|
mockState: { |
|
|
@ -524,6 +540,8 @@ describe('custom-gas selectors', () => { |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
safeLow: 50, |
|
|
|
safeLow: 50, |
|
|
|
safeLowWait: 13.2, |
|
|
|
safeLowWait: 13.2, |
|
|
|
|
|
|
|
average: 75, |
|
|
|
|
|
|
|
avgWait: 9.6, |
|
|
|
fast: 100, |
|
|
|
fast: 100, |
|
|
|
fastWait: 6.6, |
|
|
|
fastWait: 6.6, |
|
|
|
fastest: 200, |
|
|
|
fastest: 200, |
|
|
@ -541,16 +559,16 @@ describe('custom-gas selectors', () => { |
|
|
|
priceInHexWei: '0xba43b7400', |
|
|
|
priceInHexWei: '0xba43b7400', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
feeInSecondaryCurrency: '$5.37', |
|
|
|
feeInSecondaryCurrency: '$4.03', |
|
|
|
feeInPrimaryCurrency: '0.0021 ETH', |
|
|
|
feeInPrimaryCurrency: '0.00157 ETH', |
|
|
|
labelKey: 'average', |
|
|
|
labelKey: 'average', |
|
|
|
priceInHexWei: '0x174876e800', |
|
|
|
priceInHexWei: '0x1176592e00', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
feeInSecondaryCurrency: '$10.74', |
|
|
|
feeInSecondaryCurrency: '$5.37', |
|
|
|
feeInPrimaryCurrency: '0.0042 ETH', |
|
|
|
feeInPrimaryCurrency: '0.0021 ETH', |
|
|
|
labelKey: 'fast', |
|
|
|
labelKey: 'fast', |
|
|
|
priceInHexWei: '0x2e90edd000', |
|
|
|
priceInHexWei: '0x174876e800', |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
mockState: { |
|
|
|
mockState: { |
|
|
@ -572,6 +590,8 @@ describe('custom-gas selectors', () => { |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
blockTime: 14.16326530612245, |
|
|
|
safeLow: 50, |
|
|
|
safeLow: 50, |
|
|
|
safeLowWait: 13.2, |
|
|
|
safeLowWait: 13.2, |
|
|
|
|
|
|
|
average: 75, |
|
|
|
|
|
|
|
avgWait: 9.6, |
|
|
|
fast: 100, |
|
|
|
fast: 100, |
|
|
|
fastWait: 6.6, |
|
|
|
fastWait: 6.6, |
|
|
|
fastest: 200, |
|
|
|
fastest: 200, |
|
|
|