disable contract deploy test since it requires gas
This commit is contained in:
parent
52d6eef292
commit
32c4d3ccee
|
@ -17,12 +17,14 @@
|
||||||
(if (< (System/currentTimeMillis) end-time)
|
(if (< (System/currentTimeMillis) end-time)
|
||||||
(recur)))))))
|
(recur)))))))
|
||||||
|
|
||||||
;; deploys a multisig and gets it's address. assumes test environment configured correctly (access to running geth, eth wallet, password etc)
|
;; deploys a multisig and gets it's address
|
||||||
|
;; assumes test environment configured correctly
|
||||||
|
;; (eth wallet with some eth, password etc)
|
||||||
(deftest test-deploy
|
(deftest test-deploy
|
||||||
(testing "Deploying a multisig"
|
(testing "Deploying a multisig"
|
||||||
(let [tx-id (multisig/deploy-multisig OWNER_ADDRESS)
|
(println "WARN multisig deployment test currently disabled as it requires gas")
|
||||||
|
#_(let [tx-id (multisig/deploy-multisig OWNER_ADDRESS)
|
||||||
tx-receipt (wait-for (fn [] (eth/get-transaction-receipt tx-id)))
|
tx-receipt (wait-for (fn [] (eth/get-transaction-receipt tx-id)))
|
||||||
addr (-> tx-receipt
|
addr (multisig/find-created-multisig-address tx-receipt)]
|
||||||
(multisig/find-created-multisig-address))]
|
|
||||||
(println "Created multisig address" addr)
|
(println "Created multisig address" addr)
|
||||||
(is (not-empty addr)))))
|
(is (not-empty addr)))))
|
||||||
|
|
Loading…
Reference in New Issue