diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-09 01:23:44 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-09 01:23:44 +0800 |
commit | d5757499bc0f828fbf86ffea2da8ad3941f1c33e (patch) | |
tree | 6f429e6f2b3050de6dd7ce16e42c7f387bd5018a /packages/subproviders/test/unit | |
parent | 139c8c2e783ffbbf22473604419fe3e5b299be0e (diff) | |
parent | af8d24d0eb5af781f4731b5559979f2b02579785 (diff) | |
download | dexon-sol-tools-d5757499bc0f828fbf86ffea2da8ad3941f1c33e.tar dexon-sol-tools-d5757499bc0f828fbf86ffea2da8ad3941f1c33e.tar.gz dexon-sol-tools-d5757499bc0f828fbf86ffea2da8ad3941f1c33e.tar.bz2 dexon-sol-tools-d5757499bc0f828fbf86ffea2da8ad3941f1c33e.tar.lz dexon-sol-tools-d5757499bc0f828fbf86ffea2da8ad3941f1c33e.tar.xz dexon-sol-tools-d5757499bc0f828fbf86ffea2da8ad3941f1c33e.tar.zst dexon-sol-tools-d5757499bc0f828fbf86ffea2da8ad3941f1c33e.zip |
Merge branch 'feature/addSubproviders' into feature/portal-ledger-support
* feature/addSubproviders:
remove console.log
Update README.md
Fix unit test
Add missing params
Debug CircleCi failure
Update yarn.lock
Inline network module
Add todo
Stop supporting different file extensions in abi-gen
Refactor networkId out of web3Wrapper
Update connect types in preperation for publishing
Add link to random id generator
Remove `prebuild` command and add `test:circleci`
Fix CI command
Address feedback
Refactor web3Wrapper to a separate package
Diffstat (limited to 'packages/subproviders/test/unit')
-rw-r--r-- | packages/subproviders/test/unit/ledger_subprovider_test.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/subproviders/test/unit/ledger_subprovider_test.ts b/packages/subproviders/test/unit/ledger_subprovider_test.ts index bc9671948..964df5db9 100644 --- a/packages/subproviders/test/unit/ledger_subprovider_test.ts +++ b/packages/subproviders/test/unit/ledger_subprovider_test.ts @@ -134,6 +134,9 @@ describe('LedgerSubprovider', () => { const tx = { to: '0xafa3f8684e54059998bc3a7b0d2b0da075154d66', value: '0x00', + gasPrice: '0x00', + nonce: '0x00', + gas: '0x00', }; const payload = { jsonrpc: '2.0', @@ -143,7 +146,7 @@ describe('LedgerSubprovider', () => { }; const callback = reportCallbackErrors(done)((err: Error, response: Web3.JSONRPCResponsePayload) => { expect(err).to.be.a('null'); - expect(response.result.raw.length).to.be.equal(206); + expect(response.result.raw.length).to.be.equal(192); expect(response.result.raw.substr(0, 2)).to.be.equal('0x'); done(); }); |