aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/src/utils
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-02-20 11:15:57 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-02-21 05:19:12 +0800
commitc1bbcaba73b1798d5e336492acc00cfa300fc05f (patch)
treeea57ff2cd9268692c235b9384edc210c03bfd02a /packages/deployer/src/utils
parent6685cb3fba85d5052c67b19ad3fd33c4ccfe5b67 (diff)
downloaddexon-sol-tools-c1bbcaba73b1798d5e336492acc00cfa300fc05f.tar
dexon-sol-tools-c1bbcaba73b1798d5e336492acc00cfa300fc05f.tar.gz
dexon-sol-tools-c1bbcaba73b1798d5e336492acc00cfa300fc05f.tar.bz2
dexon-sol-tools-c1bbcaba73b1798d5e336492acc00cfa300fc05f.tar.lz
dexon-sol-tools-c1bbcaba73b1798d5e336492acc00cfa300fc05f.tar.xz
dexon-sol-tools-c1bbcaba73b1798d5e336492acc00cfa300fc05f.tar.zst
dexon-sol-tools-c1bbcaba73b1798d5e336492acc00cfa300fc05f.zip
Use source tree hash instead of compile flag
Diffstat (limited to 'packages/deployer/src/utils')
-rw-r--r--packages/deployer/src/utils/types.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/deployer/src/utils/types.ts b/packages/deployer/src/utils/types.ts
index 0a70c4f3b..166fc15dd 100644
--- a/packages/deployer/src/utils/types.ts
+++ b/packages/deployer/src/utils/types.ts
@@ -22,6 +22,7 @@ export interface ContractNetworkData {
solc_version: string;
optimizer_enabled: number;
keccak256: string;
+ source_tree_hash: string;
abi: Web3.ContractAbi;
unlinked_binary: string;
address?: string;
@@ -71,8 +72,8 @@ export interface ContractSourceData {
export interface ContractSpecificSourceData {
dependencies: string[];
solc_version: string;
- keccak256: string;
- shouldCompile?: boolean;
+ sourceHash: Buffer;
+ sourceTreeHash?: Buffer;
}
export interface ImportContents {