Add Drip file vow integration test

This commit is contained in:
Rob Mulholand
2018-10-19 14:21:57 -05:00
parent 0ce3e3d829
commit 677e78891d
3 changed files with 63 additions and 5 deletions
+4 -4
View File
@@ -82,8 +82,8 @@ var EthDripFileVowLog = types.Log{
Topics: []common.Hash{
common.HexToHash("0xe9b674b900000000000000000000000000000000000000000000000000000000"),
common.HexToHash("0x00000000000000000000000064d922894153be9eef7b7218dc565d1d0ce2a092"),
common.HexToHash("0x66616b6520776861740000000000000000000000000000000000000000000000"),
common.HexToHash("0x66616b6520646174610000000000000000000000000000000000000000000000"),
common.HexToHash("0x766f770000000000000000000000000000000000000000000000000000000000"),
common.HexToHash("0x0000000000000000000000003728e9777b2a0a611ee0f89e00e01044ce4736d1"),
},
Data: hexutil.MustDecode("0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044e9b674b966616b652077686174000000000000000000000000000000000000000000000066616b6520646174610000000000000000000000000000000000000000000000"),
BlockNumber: 51,
@@ -96,8 +96,8 @@ var EthDripFileVowLog = types.Log{
var rawDripFileVowLog, _ = json.Marshal(EthDripFileVowLog)
var DripFileVowModel = vow.DripFileVowModel{
What: "fake what",
Data: "fake data",
What: "vow",
Data: "0x3728e9777B2a0a611ee0F89e00E01044ce4736d1",
TransactionIndex: EthDripFileVowLog.TxIndex,
Raw: rawDripFileVowLog,
}