forked from cerc-io/ipld-eth-server
Add log index to Pit file events
This commit is contained in:
@@ -41,7 +41,7 @@ var EthPitFileDebtCeilingLog = types.Log{
|
||||
TxHash: common.HexToHash("0xd744878a0b6655e3ba729e1019f56b563b4a16750196b8ad6104f3977db43f42"),
|
||||
TxIndex: 333,
|
||||
BlockHash: common.HexToHash("0xa54d9d99c315bea3dda7256a36e51773ed009a01c0859295c5382d4b83d7eeb9"),
|
||||
Index: 0,
|
||||
Index: 15,
|
||||
Removed: false,
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@ var rawPitFileDebtCeilingLog, _ = json.Marshal(EthPitFileDebtCeilingLog)
|
||||
var PitFileDebtCeilingModel = debt_ceiling.PitFileDebtCeilingModel{
|
||||
What: "Line",
|
||||
Data: big.NewInt(123456).String(),
|
||||
LogIndex: EthPitFileDebtCeilingLog.Index,
|
||||
TransactionIndex: EthPitFileDebtCeilingLog.TxIndex,
|
||||
Raw: rawPitFileDebtCeilingLog,
|
||||
}
|
||||
@@ -66,7 +67,7 @@ var EthPitFileIlkLog = types.Log{
|
||||
TxHash: common.HexToHash("0x1ba8125f60fa045c85b35df3983bee37db8627fbc32e3442a5cf17c85bb83f09"),
|
||||
TxIndex: 111,
|
||||
BlockHash: common.HexToHash("0x6dc284247c524b22b10a75ef1c9d1709a509208d04c15fa2b675a293db637d21"),
|
||||
Index: 0,
|
||||
Index: 14,
|
||||
Removed: false,
|
||||
}
|
||||
|
||||
@@ -75,6 +76,7 @@ var PitFileIlkModel = ilk2.PitFileIlkModel{
|
||||
Ilk: "fake ilk",
|
||||
What: "spot",
|
||||
Data: big.NewInt(123).String(),
|
||||
LogIndex: EthPitFileIlkLog.Index,
|
||||
TransactionIndex: EthPitFileIlkLog.TxIndex,
|
||||
Raw: rawPitFileIlkLog,
|
||||
}
|
||||
@@ -92,7 +94,7 @@ var EthPitFileStabilityFeeLog = types.Log{
|
||||
TxHash: common.HexToHash("0x78cdc62316ccf8e31515d09745cc724f557569f01a557d0d09b1066bf7079fd2"),
|
||||
TxIndex: 222,
|
||||
BlockHash: common.HexToHash("0xe3d8e458421533170871b4033f978a3793ef10b7e33a9328a13c09e2fd90208d"),
|
||||
Index: 0,
|
||||
Index: 13,
|
||||
Removed: false,
|
||||
}
|
||||
|
||||
@@ -100,6 +102,7 @@ var rawPitFileStabilityFeeLog, _ = json.Marshal(EthPitFileStabilityFeeLog)
|
||||
var PitFileStabilityFeeModel = stability_fee.PitFileStabilityFeeModel{
|
||||
What: "drip",
|
||||
Data: "0x8E84a1e068d77059Cbe263C43AD0cDc130863313",
|
||||
LogIndex: EthPitFileStabilityFeeLog.Index,
|
||||
TransactionIndex: EthPitFileStabilityFeeLog.TxIndex,
|
||||
Raw: rawPitFileStabilityFeeLog,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user