-
Notifications
You must be signed in to change notification settings - Fork 465
Refactor out sol-cov, sol-profiler and sol-trace into their separate packages #1492
Refactor out sol-cov, sol-profiler and sol-trace into their separate packages #1492
Conversation
e983cdd
to
1c783d2
Compare
dfa12a0
to
05916aa
Compare
e3e41e7
to
2c974b5
Compare
528e67e
to
0324824
Compare
package.json
Outdated
@@ -62,6 +62,9 @@ | |||
"repoBranchBase": "development" | |||
} | |||
}, | |||
"resolutions": { | |||
"graceful-fs": "4.1.15" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran into that issue on my machine gulpjs/gulp#2246
@@ -6,6 +6,11 @@ import * as _ from 'lodash'; | |||
import { EvmCallStack } from './types'; | |||
import { utils } from './utils'; | |||
|
|||
/** | |||
* Converts linear trace to a call stack by following calls and returns | |||
* @param structLogs Linear trace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param structLogs Linear trace | |
* @param structLogs Linear trace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've made no changes to the code
@@ -1,17 +1,17 @@ | |||
Sol-cov uses transaction traces in order to figure out which lines of Solidity source code have been covered by your tests. In order for it to gather these traces, you must add the `CoverageSubprovider` to the [ProviderEngine](https://github.com/MetaMask/provider-engine) instance you use when running your Solidity tests. If you're unfamiliar with ProviderEngine, please read the [Web3 Provider explained](https://0x.org/wiki#Web3-Provider-Explained) wiki article. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename dir from sol_cov
to sol_coverage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file was removed. The new directory has the correct name.
Before we've had two. v1 and v2. Git decided (correctly) that v2 was moved and renamed and v1 just removed.
Co-Authored-By: LogvinovLeon <[email protected]>
Co-Authored-By: LogvinovLeon <[email protected]>
Co-Authored-By: LogvinovLeon <[email protected]>
Co-Authored-By: LogvinovLeon <[email protected]>
Co-Authored-By: LogvinovLeon <[email protected]>
Co-Authored-By: LogvinovLeon <[email protected]>
Co-Authored-By: LogvinovLeon <[email protected]>
2fbc17b
to
1bdffbf
Compare
1bdffbf
to
cee2954
Compare
Description
Before that PR there was a
@0x/sol-cov
package with sol-trace and sol-profiler living as dirty hacks inside. From now on there are 4 packages:@0x/sol-coverage
@0x/sol-trace
@0x/sol-profiler
@0x/sol-trace-based-tools-common
(Maybe a better name)All the old CHANGELOG entries live in the common. The new changelogs reference it.
Testing instructions
Types of changes
Checklist:
[WIP]
if necessary.