forked from cerc-io/ipld-eth-server
Add log index to Drip file events
This commit is contained in:
@@ -39,7 +39,7 @@ var EthDripFileIlkLog = types.Log{
|
||||
TxHash: common.HexToHash("0xa1c31b7e6389470902237161263558615e60b40f2e63060b2f4aeafe92d57e5f"),
|
||||
TxIndex: 12,
|
||||
BlockHash: common.HexToHash("0x0188f3ee3cc05aa72457fa328e6a461de31e4cbd429fc37f9a52da4e9773c0b4"),
|
||||
Index: 0,
|
||||
Index: 15,
|
||||
Removed: false,
|
||||
}
|
||||
|
||||
@@ -48,6 +48,7 @@ var DripFileIlkModel = ilk2.DripFileIlkModel{
|
||||
Ilk: "fake ilk",
|
||||
Vow: "fake vow",
|
||||
Tax: big.NewInt(123).String(),
|
||||
LogIndex: EthDripFileIlkLog.Index,
|
||||
TransactionIndex: EthDripFileIlkLog.TxIndex,
|
||||
Raw: rawDripFileIlkLog,
|
||||
}
|
||||
@@ -65,7 +66,7 @@ var EthDripFileRepoLog = types.Log{
|
||||
TxHash: common.HexToHash("0xeeaa16de1d91c239b66773e8c2116a26cfeaaf5d962b31466c9bf047a5caa20f"),
|
||||
TxIndex: 13,
|
||||
BlockHash: common.HexToHash("0x89de4145ea8e34dfd9db9a7ea34f5be6f1f402e812fd389acca342513b353288"),
|
||||
Index: 0,
|
||||
Index: 16,
|
||||
Removed: false,
|
||||
}
|
||||
|
||||
@@ -73,6 +74,7 @@ var rawDripFileRepoLog, _ = json.Marshal(EthDripFileRepoLog)
|
||||
var DripFileRepoModel = repo.DripFileRepoModel{
|
||||
What: "fake what",
|
||||
Data: big.NewInt(123).String(),
|
||||
LogIndex: EthDripFileRepoLog.Index,
|
||||
TransactionIndex: EthDripFileRepoLog.TxIndex,
|
||||
Raw: rawDripFileRepoLog,
|
||||
}
|
||||
@@ -90,7 +92,7 @@ var EthDripFileVowLog = types.Log{
|
||||
TxHash: common.HexToHash("0x586e26b71b41fcd6905044dbe8f0cca300517542278f74a9b925c4f800fed85c"),
|
||||
TxIndex: 14,
|
||||
BlockHash: common.HexToHash("0xbec69b1e93503679c9c006819477b86fe16aaff3a418da1e916c431b68be5522"),
|
||||
Index: 0,
|
||||
Index: 17,
|
||||
Removed: false,
|
||||
}
|
||||
|
||||
@@ -98,6 +100,7 @@ var rawDripFileVowLog, _ = json.Marshal(EthDripFileVowLog)
|
||||
var DripFileVowModel = vow.DripFileVowModel{
|
||||
What: "vow",
|
||||
Data: "0x3728e9777B2a0a611ee0F89e00E01044ce4736d1",
|
||||
LogIndex: EthDripFileVowLog.Index,
|
||||
TransactionIndex: EthDripFileVowLog.TxIndex,
|
||||
Raw: rawDripFileVowLog,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user