Watch contact updates (#127)

* Downcase all arguments for contact watching

* ABI retrieval from test networks
This commit is contained in:
Matt K
2018-01-08 15:59:47 -06:00
committed by GitHub
parent 14e1fc4213
commit 70cfa20c68
11 changed files with 66 additions and 21 deletions
+3 -2
View File
@@ -25,11 +25,12 @@ func backFillAllBlocks(blockchain core.Blockchain, repository repositories.Postg
}
func main() {
environment := flag.String("environment", "", "Environment name")
flag.Parse()
ticker := time.NewTicker(pollingInterval)
defer ticker.Stop()
environment := flag.String("environment", "", "Environment name")
flag.Parse()
config := cmd.LoadConfig(*environment)
blockchain := geth.NewBlockchain(config.Client.IPCPath)
repository := cmd.LoadPostgres(config.Database, blockchain.Node())