Refactoring

* Move flip kick files pkg/transformers/flip_kick

* Consolidate test database setup

* Pull ganache ipcPath from config

* Update README to include info about using a Ganache chain
This commit is contained in:
Elizabeth
2018-08-07 15:17:29 -05:00
committed by GitHub
parent c617cd9c9d
commit b37324bf3d
257 changed files with 188 additions and 173 deletions
+5 -3
View File
@@ -15,17 +15,19 @@
package cmd
import (
"log"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/ethereum/go-ethereum/rpc"
"github.com/spf13/cobra"
"github.com/vulcanize/vulcanizedb/libraries/maker/every_block"
"github.com/vulcanize/vulcanizedb/libraries/shared"
"github.com/vulcanize/vulcanizedb/pkg/datastore/postgres"
"github.com/vulcanize/vulcanizedb/pkg/geth"
"github.com/vulcanize/vulcanizedb/pkg/geth/client"
vRpc "github.com/vulcanize/vulcanizedb/pkg/geth/converters/rpc"
"github.com/vulcanize/vulcanizedb/pkg/geth/node"
"log"
"github.com/vulcanize/vulcanizedb/pkg/transformers"
)
// backfillAuctionLogsCmd represents the backfillAuctionLogs command
@@ -67,7 +69,7 @@ func backfillAuctionLogs() {
Blockchain: blockChain,
}
watcher.AddTransformers(every_block.TransformerInitializers())
watcher.AddTransformers(transformers.TransformerInitializers())
watcher.Execute()
}