aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2019-01-15 18:18:29 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2019-01-15 18:34:31 +0800
commita8e32d8c87bd2bcf846f124f2d153fd92658dd1e (patch)
treee47bd99728b4af776c14a326d4b2ccf7fb9d25fb
parent83b46cbf71abd897b434ff510035171297a51255 (diff)
downloaddexon-sol-tools-a8e32d8c87bd2bcf846f124f2d153fd92658dd1e.tar
dexon-sol-tools-a8e32d8c87bd2bcf846f124f2d153fd92658dd1e.tar.gz
dexon-sol-tools-a8e32d8c87bd2bcf846f124f2d153fd92658dd1e.tar.bz2
dexon-sol-tools-a8e32d8c87bd2bcf846f124f2d153fd92658dd1e.tar.lz
dexon-sol-tools-a8e32d8c87bd2bcf846f124f2d153fd92658dd1e.tar.xz
dexon-sol-tools-a8e32d8c87bd2bcf846f124f2d153fd92658dd1e.tar.zst
dexon-sol-tools-a8e32d8c87bd2bcf846f124f2d153fd92658dd1e.zip
Export Sources and SourceCodes out of tracing utils
-rw-r--r--packages/sol-coverage/src/index.ts2
-rw-r--r--packages/sol-profiler/src/index.ts2
-rw-r--r--packages/sol-trace/src/index.ts2
-rw-r--r--packages/sol-tracing-utils/src/index.ts2
4 files changed, 8 insertions, 0 deletions
diff --git a/packages/sol-coverage/src/index.ts b/packages/sol-coverage/src/index.ts
index 97b4ecee6..6a91a3966 100644
--- a/packages/sol-coverage/src/index.ts
+++ b/packages/sol-coverage/src/index.ts
@@ -4,6 +4,8 @@ export {
TruffleArtifactAdapter,
AbstractArtifactAdapter,
ContractData,
+ SourceCodes,
+ Sources,
} from '@0x/sol-tracing-utils';
export {
diff --git a/packages/sol-profiler/src/index.ts b/packages/sol-profiler/src/index.ts
index 5d4806be4..fcb715d2d 100644
--- a/packages/sol-profiler/src/index.ts
+++ b/packages/sol-profiler/src/index.ts
@@ -3,6 +3,8 @@ export {
SolCompilerArtifactAdapter,
TruffleArtifactAdapter,
ContractData,
+ SourceCodes,
+ Sources,
} from '@0x/sol-tracing-utils';
// HACK: ProfilerSubprovider is a hacky way to do profiling using coverage tools. Not production ready
diff --git a/packages/sol-trace/src/index.ts b/packages/sol-trace/src/index.ts
index 120c0d0a9..61b5d8cb7 100644
--- a/packages/sol-trace/src/index.ts
+++ b/packages/sol-trace/src/index.ts
@@ -3,6 +3,8 @@ export {
TruffleArtifactAdapter,
SolCompilerArtifactAdapter,
ContractData,
+ SourceCodes,
+ Sources,
} from '@0x/sol-tracing-utils';
export { RevertTraceSubprovider } from './revert_trace_subprovider';
diff --git a/packages/sol-tracing-utils/src/index.ts b/packages/sol-tracing-utils/src/index.ts
index 8e3136046..fdf024ae0 100644
--- a/packages/sol-tracing-utils/src/index.ts
+++ b/packages/sol-tracing-utils/src/index.ts
@@ -27,6 +27,8 @@ export {
TraceInfoBase,
TraceInfoExistingContract,
TraceInfoNewContract,
+ Sources,
+ SourceCodes,
} from './types';
export { collectCoverageEntries } from './collect_coverage_entries';
export { TraceCollector, SingleFileSubtraceHandler } from './trace_collector';