Jacob Evans
9f924e459c
chore: change package org from 0xproject to 0x
2018-10-18 22:27:31 +11:00
Jacob Evans
7f554303b4
Update the exported types for the packages which touch RPC providers
2018-10-09 20:29:41 +11:00
Fabio Berger
22de88035c
Fix index.ts given fix in doc generation
2018-08-22 11:28:31 +01:00
Fabio Berger
301cb296ec
Move types from sol-compiler to types so they can be used in other places without requiring sol-compiler as a dep
2018-08-21 23:58:06 +01:00
Fabio Berger
cc90c806b0
Fix sol-cov index.ts
2018-08-21 17:16:42 +01:00
Fabio Berger
2f2582a0da
Merge development
2018-08-14 14:21:47 -07:00
Fabio Berger
4d75689790
Fix commebt
2018-08-03 22:42:17 +02:00
Fabio Berger
6df8746871
Omit certain exports and re-org index.ts
2018-08-03 22:37:02 +02:00
Fabio Berger
c68e183953
Add missing sol-cov comments
2018-08-03 22:36:44 +02:00
Fabio Berger
3ee3fc2fb3
Add missing doc comments
2018-08-03 17:13:10 +02:00
Leonid Logvinov
477c3dc4f6
Add PR numbers
2018-08-03 16:28:00 +02:00
Leonid Logvinov
e80fa6e311
Read truffle compiler config from truffle.js and assert that the passed solidity version matches the one in artifacts
2018-08-03 13:42:47 +02:00
Leonid Logvinov
c94168981c
Use CallDataRPC in subprovider
2018-08-03 13:42:05 +02:00
Leonid Logvinov
749ec0cefe
Add a TODO for failed transactions
2018-08-03 13:38:40 +02:00
Fabio Berger
13520dbd94
Add missing types to sol-cov index.ts
2018-08-03 13:02:29 +02:00
Fabio Berger
4579e1637d
Add missing exports discovered by generating compact typedoc JSON
2018-07-29 21:59:09 +02:00
Fabio Berger
f4a2e227e1
Remove all in-package monorepo-scripts by adding doc gen/upload and aggregate release note publishing to publish script
2018-07-29 21:58:39 +02:00
Leonid Logvinov
bf8ac3b9e6
Fix tslint issues
2018-07-17 12:59:02 +02:00
perissology
e0a2afc068
rename function
2018-06-27 07:26:12 -07:00
perissology
1a4e99431b
support ignoring entire contracts
2018-06-25 07:55:19 -07:00
perissology
bbd414bdcd
add ability to ignore covering specific code blocks
2018-06-22 15:59:36 -07:00
Alex Browne
4cf331067b
Fix some bugs in sol-cov
2018-06-21 13:14:13 -07:00
Leonid Logvinov
eae2a4df8b
Merge pull request #702 from perissology/feature/missing-sources
...
[sol-cov] Only collect coverage for provided sources
2018-06-21 19:28:35 +02:00
perissology
ade8e95d2e
fix linter issues
2018-06-21 09:12:30 -07:00
perissology
c5ea985a70
only call getLocationByOffset if source if defined
2018-06-21 06:24:50 -07:00
Alex Browne
e4d55242d8
Update to match latest type definitions and other small changes
2018-06-20 12:22:39 -07:00
Alex Browne
613a78bcf6
Include source code snippets in revert stack traces
2018-06-20 12:19:30 -07:00
Alex Browne
d118533d87
Remove redundant check in trace.ts and revert_trace.ts
2018-06-14 16:53:29 -07:00
Alex Browne
ef61c3543f
Fix linter errors
2018-06-14 16:38:21 -07:00
Alex Browne
897560745a
De-duplicate code by refactoring subprovider classes
2018-06-14 16:33:09 -07:00
Alex Browne
d9292a70bf
Remove unused variables and other small fixes
2018-06-14 16:00:24 -07:00
Alex Browne
a9c23b7c28
Reverse order of stack trace to match behavior of most other language stack traces
2018-06-14 15:50:54 -07:00
Alex Browne
263bfb1bda
Fix a bug in revert_trace.ts
2018-06-14 15:46:59 -07:00
Alex Browne
7ab921669b
Introduce subprovider for printing revert stack traces
2018-06-14 13:58:54 -07:00
perissology
7a41a5249f
Collect coverage for provided sources
...
When solidity generates source maps during contract compilation, the
contracts are referred to by an id, which corresponds to an array index.
We may not want to cover all sources that were included in a compilation,
but because we use array indexes (vs. the id that is provided by solidity
compiler) to map the contract to the sourceMap, the provided sourceCodes
array must include the code at the correct index. This can result in
empty slots in the sourceCodes array.
This commit allows the coverage to only be collected for the contracts
with provided sourceCode.
2018-06-14 11:17:04 -07:00
Alex Browne
82743cca92
Rename _coverageCollector -> _profilerCollector in TraceCollectionSubprovider
2018-06-12 15:46:41 -07:00
Alex Browne
d0c348e595
Refactor sol-cov to de-duplicate code for coverage and profiling
2018-06-12 15:40:18 -07:00
Alex Browne
627ea6c860
Rename computeCoverageAsync -> computeSingleTraceCoverageAsync
2018-06-12 14:11:11 -07:00
Alex Browne
bcc76b3764
Fix linter errors
2018-06-12 14:09:42 -07:00
Alex Browne
33f0669100
Refactor sol-cov to avoid keeping traceInfo in memory
2018-06-12 12:42:14 -07:00
Leonid Logvinov
387c80e00a
Merge pull request #690 from 0xProject/feature/truffle-sol-cov-fixes
...
Sol-cov fixes
2018-06-11 21:55:38 -07:00
Leonid Logvinov
94398d70f4
Speed-up sol-cov
2018-06-11 18:01:33 -07:00
Leonid Logvinov
f4a61b4c70
Don't throw when no config file is found
2018-06-11 16:10:56 -07:00
Fabio Berger
bc0ae6be31
Merge pull request #684 from 0xProject/fix/contract-wrappers/exchangeTransferSimulator
...
Move ExchangeTransferSimulator & OrderValidationUtils to Order-Utils
2018-06-12 00:14:19 +02:00
Fabio Berger
e1879ef4d9
Fix no-unused-variable tslint rule to include parameters and fix issues
2018-06-11 23:42:30 +02:00
Leonid Logvinov
e0c0584c59
Add EmitStatement to ASTVisitor
2018-06-11 11:14:49 -07:00
Leonid Logvinov
927ccc489c
Fix a bug in SolCompilerArtifacts adapter config overriding
2018-06-11 10:28:30 -07:00
Leonid Logvinov
cdb165af7f
Remove some copy-paste code
2018-06-08 14:56:46 -07:00
Leonid Logvinov
1c3dc757c3
Fix typos
2018-06-08 14:56:45 -07:00
Leonid Logvinov
b6c8d8e971
Await fake transactions
2018-06-08 14:56:45 -07:00