Add Vat move integration test

This commit is contained in:
Rob Mulholand
2018-10-19 10:56:28 -05:00
parent c86120a36d
commit 9b427ea1e9
4 changed files with 64 additions and 4 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ func (VatMoveConverter) ToModels(ethLogs []types.Log) ([]VatMoveModel, error) {
return []VatMoveModel{}, err
}
src := common.BytesToAddress(ethLog.Topics[1].Bytes()[:common.AddressLength])
dst := common.BytesToAddress(ethLog.Topics[2].Bytes()[:common.AddressLength])
src := common.BytesToAddress(ethLog.Topics[1].Bytes())
dst := common.BytesToAddress(ethLog.Topics[2].Bytes())
rad := ethLog.Topics[3].Big()
raw, err := json.Marshal(ethLog)
if err != nil {