Add missing sol-cov comments
This commit is contained in:
parent
f42119c928
commit
c68e183953
@ -14,6 +14,11 @@ const CONFIG_FILE = 'compiler.json';
|
||||
export class SolCompilerArtifactAdapter extends AbstractArtifactAdapter {
|
||||
private readonly _artifactsPath: string;
|
||||
private readonly _sourcesPath: string;
|
||||
/**
|
||||
* Instantiates a SolCompilerArtifactAdapter
|
||||
* @param artifactsPath Path to your artifacts directory
|
||||
* @param sourcesPath Path to your contract sources directory
|
||||
*/
|
||||
constructor(artifactsPath?: string, sourcesPath?: string) {
|
||||
super();
|
||||
const config: CompilerOptions = fs.existsSync(CONFIG_FILE)
|
||||
|
@ -9,6 +9,11 @@ import { SolCompilerArtifactAdapter } from './sol_compiler_artifact_adapter';
|
||||
export class TruffleArtifactAdapter extends AbstractArtifactAdapter {
|
||||
private readonly _solcVersion: string;
|
||||
private readonly _sourcesPath: string;
|
||||
/**
|
||||
* Instantiates a TruffleArtifactAdapter
|
||||
* @param artifactsPath Path to the truffle project's artifacts directory
|
||||
* @param sourcesPath Path to the truffle project's contract sources directory
|
||||
*/
|
||||
constructor(sourcesPath: string, solcVersion: string) {
|
||||
super();
|
||||
this._solcVersion = solcVersion;
|
||||
|
@ -63,7 +63,7 @@ export abstract class TraceCollectionSubprovider extends Subprovider {
|
||||
* turn to handle a JSON RPC request.
|
||||
* @param payload JSON RPC payload
|
||||
* @param next Callback to call if this subprovider decides not to handle the request
|
||||
* @param end Callback to call if subprovider handled the request and wants to pass back the request.
|
||||
* @param _end Callback to call if subprovider handled the request and wants to pass back the request.
|
||||
*/
|
||||
// tslint:disable-next-line:prefer-function-over-method async-suffix
|
||||
public async handleRequest(payload: JSONRPCRequestPayload, next: NextCallback, _end: ErrorCallback): Promise<void> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user