Skip to content
This repository was archived by the owner on Apr 18, 2023. It is now read-only.

Commit 00ccfd7

Browse files
committed
Use sync transactions in deploy file
1 parent 44f6b8e commit 00ccfd7

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

bin/deploy

+4-10
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,10 @@ dapp --use solc:0.4.25 build --extract
1313
test -z "$DAD_FAB"; } && \
1414
exit 1
1515

16-
export SETH_ASYNC=yes
17-
test -z "$SAI_GEM" && GEMtx=$(dapp create DSToken "$(seth --to-bytes32 "$(seth --from-ascii 'ETH')")")
18-
test -z "$SAI_GOV" && GOVtx=$(dapp create DSToken "$(seth --to-bytes32 "$(seth --from-ascii 'GOV')")")
19-
test -z "$SAI_PIP" && PIPtx=$(dapp create DSValue)
20-
test -z "$SAI_PEP" && PEPtx=$(dapp create DSValue)
21-
export SETH_ASYNC=no
22-
test -z "$SAI_GEM" && SAI_GEM=$(seth receipt "$GEMtx" contractAddress)
23-
test -z "$SAI_GOV" && SAI_GOV=$(seth receipt "$GOVtx" contractAddress)
24-
test -z "$SAI_PIP" && SAI_PIP=$(seth receipt "$PIPtx" contractAddress)
25-
test -z "$SAI_PEP" && SAI_PEP=$(seth receipt "$PEPtx" contractAddress)
16+
test -z "$SAI_GEM" && SAI_GEM=$(dapp create DSToken "$(seth --to-bytes32 "$(seth --from-ascii 'ETH')")")
17+
test -z "$SAI_GOV" && SAI_GOV=$(dapp create DSToken "$(seth --to-bytes32 "$(seth --from-ascii 'GOV')")")
18+
test -z "$SAI_PIP" && SAI_PIP=$(dapp create DSValue)
19+
test -z "$SAI_PEP" && SAI_PEP=$(dapp create DSValue)
2620
test -z "$SAI_PIT" && SAI_PIT="0x0000000000000000000000000000000000000123"
2721

2822
DAI_FAB=$(dapp create DaiFab "$GEM_FAB" "$VOX_FAB" "$TUB_FAB" "$TAP_FAB" "$TOP_FAB" "$MOM_FAB" "$DAD_FAB")

0 commit comments

Comments
 (0)