Extract addresses to shared constants file

This commit is contained in:
Rob Mulholand
2018-09-11 16:30:29 -05:00
parent ceeaa0f8d3
commit dc9bda7d68
17 changed files with 39 additions and 38 deletions
@@ -27,7 +27,7 @@ var _ = Describe("Pit file ilk converter", func() {
It("converts a log to an model", func() {
converter := ilk.PitFileIlkConverter{}
model, err := converter.ToModel(test_data.PitAddress, shared.PitABI, test_data.EthPitFileIlkLog)
model, err := converter.ToModel(shared.PitContractAddress, shared.PitABI, test_data.EthPitFileIlkLog)
Expect(err).NotTo(HaveOccurred())
Expect(model).To(Equal(test_data.PitFileIlkModel))