Add sol-cover implementation

This commit is contained in:
Leonid Logvinov
2018-03-04 19:05:26 -08:00
parent a6571b09d2
commit 13299158d1
110 changed files with 3704 additions and 1570 deletions

View File

@@ -3,6 +3,7 @@
## v0.10.0 - _March 4, 2018_
* Support ABIv2 (#401)
* Add types for transaction traces (#426)
## v0.9.11 - _February 16, 2018_

View File

@@ -151,6 +151,25 @@ declare module 'web3' {
jsonrpc: string;
}
export type OpCode = string; // TODO enum of all opcodes;
export interface StructLog {
depth: number;
error: '';
gas: number;
gasCost: number;
memory: string[];
op: OpCode;
pc: number;
stack: string[];
storage: { [location: string]: string };
}
export interface TransactionTrace {
gas: number;
returnValue: any;
structLogs: StructLog[];
}
interface Provider {
sendAsync(
payload: JSONRPCRequestPayload,