Remove unused observation fields version and upadte docs (#355)

This commit is contained in:
walker-16 2023-05-29 10:53:52 -03:00 committed by GitHub
parent 5c2f91d935
commit cb9532b5c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 9 deletions

View File

@ -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"
}
}
},

View File

@ -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"
}
}
},

View File

@ -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:

View File

@ -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"`