|
|
|
@ -19,7 +19,6 @@ import { createTestProviderTools, getTestAccounts } from '../../../../stub/provi |
|
|
|
|
|
|
|
|
|
const noop = () => true |
|
|
|
|
const currentNetworkId = 42 |
|
|
|
|
const netStore = new ObservableStore(currentNetworkId) |
|
|
|
|
|
|
|
|
|
describe('Transaction Controller', function () { |
|
|
|
|
let txController, provider, providerResultStub, fromAccount |
|
|
|
@ -41,7 +40,7 @@ describe('Transaction Controller', function () { |
|
|
|
|
getGasPrice: function () { |
|
|
|
|
return '0xee6b2800' |
|
|
|
|
}, |
|
|
|
|
networkStore: netStore, |
|
|
|
|
networkStore: new ObservableStore(currentNetworkId), |
|
|
|
|
txHistoryLimit: 10, |
|
|
|
|
blockTracker: blockTrackerStub, |
|
|
|
|
signTransaction: (ethTx) => new Promise((resolve) => { |
|
|
|
|