Remove unused observation fields version and upadte docs (#355)
This commit is contained in:
parent
5c2f91d935
commit
cb9532b5c1
|
@ -2175,9 +2175,6 @@ const docTemplate = `{
|
|||
},
|
||||
"updatedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -2439,6 +2436,10 @@ const docTemplate = `{
|
|||
},
|
||||
"total_volume": {
|
||||
"type": "string"
|
||||
},
|
||||
"tvl": {
|
||||
"description": "Total value locked in USD.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -2168,9 +2168,6 @@
|
|||
},
|
||||
"updatedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -2432,6 +2429,10 @@
|
|||
},
|
||||
"total_volume": {
|
||||
"type": "string"
|
||||
},
|
||||
"tvl": {
|
||||
"description": "Total value locked in USD.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -349,8 +349,6 @@ definitions:
|
|||
type: array
|
||||
updatedAt:
|
||||
type: string
|
||||
version:
|
||||
type: integer
|
||||
type: object
|
||||
response.Response-address_AddressOverview:
|
||||
properties:
|
||||
|
@ -523,6 +521,9 @@ definitions:
|
|||
type: string
|
||||
total_volume:
|
||||
type: string
|
||||
tvl:
|
||||
description: Total value locked in USD.
|
||||
type: string
|
||||
type: object
|
||||
transactions.TopAssetsResponse:
|
||||
properties:
|
||||
|
|
|
@ -12,7 +12,6 @@ import (
|
|||
// ObservationDoc represent an observation document.
|
||||
type ObservationDoc struct {
|
||||
ID string `bson:"_id" json:"id"`
|
||||
Version uint8 `bson:"version" json:"version"`
|
||||
EmitterChain vaa.ChainID `bson:"emitterChain" json:"emitterChain"`
|
||||
EmitterAddr string `bson:"emitterAddr" json:"emitterAddr"`
|
||||
Sequence string `bson:"sequence" json:"sequence"`
|
||||
|
|
Loading…
Reference in New Issue