Bug fix: add transaction-hash to transition fn invocation during deployment
This commit is contained in:
parent
6b5790fde7
commit
375b47e8e8
|
@ -75,6 +75,7 @@
|
|||
(do
|
||||
(log/infof "issue %s: Contract deployed, transaction-hash: %s" issue-id (:tx-hash tx-info))
|
||||
(transition {:issue-id issue-id
|
||||
:transaction-hash (:tx-hash tx-info)
|
||||
:tx-info tx-info} :deploying))
|
||||
(log/errorf "issue %s Failed to deploy contract to %s" issue-id owner-address))
|
||||
(catch Exception ex (log/errorf ex "issue %s: deploy-contract exception" issue-id)))))
|
||||
|
|
|
@ -357,7 +357,7 @@
|
|||
tokens
|
||||
winner-login)
|
||||
:else nil)]
|
||||
(log/debug (str "Updating " owner "/" repo "/" issue-number
|
||||
(log/info (str "Updating " owner "/" repo "/" issue-number
|
||||
" comment #" comment-id " with contents: " comment))
|
||||
(if (= state :deploying)
|
||||
(let [resp (issues/create-comment owner repo issue-number comment (self-auth-params))
|
||||
|
|
Loading…
Reference in New Issue