VDB-120 include tic in dent and tend (#118)
* Add constants for TTL and tic for fakeHeader * Add tic to tend transformer * Update tests for tend * Fix string conversion bug in fakes * Fix tend integration tests after staging rebase * Add tic to dent transformer * Update dent tests * Change integration tests to use hardcoded block timestamp
This commit is contained in:
@@ -31,7 +31,6 @@ var (
|
||||
dentBidId = int64(1)
|
||||
dentLot = "11000000000000000000"
|
||||
dentBid = "3000000000000000000"
|
||||
DentTic = "0"
|
||||
dentGuy = "0x64d922894153BE9EEf7b7218dc565d1D0Ce2a092"
|
||||
dentRawJson, _ = json.Marshal(DentLog)
|
||||
)
|
||||
@@ -58,7 +57,6 @@ var DentModel = dent.DentModel{
|
||||
Lot: dentLot,
|
||||
Bid: dentBid,
|
||||
Guy: dentGuy,
|
||||
Tic: DentTic,
|
||||
LogIndex: DentLog.Index,
|
||||
TransactionIndex: DentLog.TxIndex,
|
||||
Raw: dentRawJson,
|
||||
|
||||
@@ -34,7 +34,7 @@ var (
|
||||
tendGuy = "0x7d7bEe5fCfD8028cf7b00876C5b1421c800561A6"
|
||||
tendData = "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000644b43ed12000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000049b9ca9a6943400000000000000000000000000000000000000000000000000000de0b6b3a7640000"
|
||||
tendTransactionHash = "0x7909c8793ded2b8348f5db623044fbc26bb7ab78ad5792897abdf68ddc1df63d"
|
||||
TendTic = "0"
|
||||
tendBlockHash = "0xa8ea87147c0a68daeb6b1d9f8c0937ba975a650809cab80d19c969e8d0df452c"
|
||||
)
|
||||
|
||||
var TendLogNote = types.Log{
|
||||
@@ -60,7 +60,6 @@ var TendModel = tend.TendModel{
|
||||
Lot: tendLot,
|
||||
Bid: tendBid,
|
||||
Guy: tendGuy,
|
||||
Tic: TendTic,
|
||||
LogIndex: TendLogNote.Index,
|
||||
TransactionIndex: TendLogNote.TxIndex,
|
||||
Raw: rawTendLog,
|
||||
|
||||
Reference in New Issue
Block a user