Add missing signatures to getSignatures command

This commit is contained in:
Rob Mulholand 2018-11-08 11:14:52 -06:00
parent 0b58efb56a
commit 68464d375a
3 changed files with 13 additions and 11 deletions

View File

@ -99,7 +99,6 @@ func buildTransformerInitializerMap() map[string]shared2.TransformerInitializer
transformerInitializerMap[constants.DripFileVowLabel] = transformers.DripFileVowTransfromerInitializer
transformerInitializerMap[constants.FlapKickLabel] = transformers.FlapKickTransformerInitializer
transformerInitializerMap[constants.FlipKickLabel] = transformers.FlipKickTransformerInitializer
transformerInitializerMap[constants.VowFlogLabel] = transformers.FlogTransformerInitializer
transformerInitializerMap[constants.FlopKickLabel] = transformers.FlopKickTransformerInitializer
transformerInitializerMap[constants.FrobLabel] = transformers.FrobTransformerInitializer
transformerInitializerMap[constants.PitFileDebtCeilingLabel] = transformers.PitFileDebtCeilingTransformerInitializer
@ -107,15 +106,16 @@ func buildTransformerInitializerMap() map[string]shared2.TransformerInitializer
transformerInitializerMap[constants.PitFileStabilityFeeLabel] = transformers.PitFileStabilityFeeTransformerInitializer
transformerInitializerMap[constants.PriceFeedLabel] = transformers.PriceFeedTransformerInitializer
transformerInitializerMap[constants.TendLabel] = transformers.TendTransformerInitializer
transformerInitializerMap[constants.VatFluxLabel] = transformers.VatFluxTransformerInitializer
transformerInitializerMap[constants.VatFoldLabel] = transformers.VatFoldTransformerInitializer
transformerInitializerMap[constants.VatGrabLabel] = transformers.VatGrabTransformerInitializer
transformerInitializerMap[constants.VatHealLabel] = transformers.VatHealTransformerInitializer
transformerInitializerMap[constants.VatInitLabel] = transformers.VatInitTransformerInitializer
transformerInitializerMap[constants.VatMoveLabel] = transformers.VatMoveTransformerInitializer
transformerInitializerMap[constants.VatHealLabel] = transformers.VatHealTransformerInitializer
transformerInitializerMap[constants.VatFoldLabel] = transformers.VatFoldTransformerInitializer
transformerInitializerMap[constants.VatSlipLabel] = transformers.VatSlipTransformerInitializer
transformerInitializerMap[constants.VatTollLabel] = transformers.VatTollTransformerInitializer
transformerInitializerMap[constants.VatTuneLabel] = transformers.VatTuneTransformerInitializer
transformerInitializerMap[constants.VatFluxLabel] = transformers.VatFluxTransformerInitializer
transformerInitializerMap[constants.VowFlogLabel] = transformers.FlogTransformerInitializer
return transformerInitializerMap
}

View File

@ -34,15 +34,16 @@ vulcanizedb getSignatures`,
func getSignatures() {
signatures := make(map[string]string)
signatures["BiteSignature"] = constants.BiteSignature
signatures["DealSignature"] = constants.DealSignature
signatures["CatFileChopLumpSignature"] = constants.CatFileChopLumpSignature
signatures["CatFileFlipSignature"] = constants.CatFileFlipSignature
signatures["CatFilePitVowSignature"] = constants.CatFilePitVowSignature
signatures["DealSignature"] = constants.DealSignature
signatures["DentFunctionSignature"] = constants.DentFunctionSignature
signatures["DripDripSignature"] = constants.DripDripSignature
signatures["DripFileIlkSignature"] = constants.DripFileIlkSignature
signatures["DripFileRepoSignature"] = constants.DripFileRepoSignature
signatures["DripFileVowSignature"] = constants.DripFileVowSignature
signatures["FlapKickSignature"] = constants.FlapKickSignature
signatures["FlipKickSignature"] = constants.FlipKickSignature
signatures["FlopKickSignature"] = constants.FlopKickSignature
signatures["FrobSignature"] = constants.FrobSignature
@ -51,15 +52,16 @@ func getSignatures() {
signatures["PitFileIlkSignature"] = constants.PitFileIlkSignature
signatures["PitFileStabilityFeeSignature"] = constants.PitFileStabilityFeeSignature
signatures["TendFunctionSignature"] = constants.TendFunctionSignature
signatures["VatHealSignature"] = constants.VatHealSignature
signatures["VatGrabSignature"] = constants.VatGrabSignature
signatures["VatInitSignature"] = constants.VatInitSignature
signatures["VatFluxSignature"] = constants.VatFluxSignature
signatures["VatFoldSignature"] = constants.VatFoldSignature
signatures["VatGrabSignature"] = constants.VatGrabSignature
signatures["VatHealSignature"] = constants.VatHealSignature
signatures["VatInitSignature"] = constants.VatInitSignature
signatures["VatMoveSignature"] = constants.VatMoveSignature
signatures["VatSlipSignature"] = constants.VatSlipSignature
signatures["VatTollSignature"] = constants.VatTollSignature
signatures["VatTuneSignature"] = constants.VatTuneSignature
signatures["VowFlogSignature"] = constants.VowFlogSignature
for name, sig := range signatures {
log.Println(name, ": ", sig)

View File

@ -90,7 +90,6 @@ func CleanTestDB(db *postgres.DB) {
db.MustExec("DELETE FROM maker.drip_file_vow")
db.MustExec("DELETE FROM maker.flap_kick")
db.MustExec("DELETE FROM maker.flip_kick")
db.MustExec("DELETE FROM maker.vow_flog")
db.MustExec("DELETE FROM maker.flop_kick")
db.MustExec("DELETE FROM maker.frob")
db.MustExec("DELETE FROM maker.pit_file_debt_ceiling")
@ -98,15 +97,16 @@ func CleanTestDB(db *postgres.DB) {
db.MustExec("DELETE FROM maker.pit_file_stability_fee")
db.MustExec("DELETE FROM maker.price_feeds")
db.MustExec("DELETE FROM maker.tend")
db.MustExec("DELETE FROM maker.vat_flux")
db.MustExec("DELETE FROM maker.vat_fold")
db.MustExec("DELETE FROM maker.vat_grab")
db.MustExec("DELETE FROM maker.vat_heal")
db.MustExec("DELETE FROM maker.vat_init")
db.MustExec("DELETE FROM maker.vat_move")
db.MustExec("DELETE FROM maker.vat_fold")
db.MustExec("DELETE FROM maker.vat_slip")
db.MustExec("DELETE FROM maker.vat_toll")
db.MustExec("DELETE FROM maker.vat_tune")
db.MustExec("DELETE FROM maker.vat_flux")
db.MustExec("DELETE FROM maker.vow_flog")
db.MustExec("DELETE FROM receipts")
db.MustExec("DELETE FROM transactions")
db.MustExec("DELETE FROM watched_contracts")