Skip to content

Commit

Permalink
Feature: sentry SDK and invalidSyntacticConstantError
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky authored and m-kus committed Aug 27, 2020
1 parent 2b1d913 commit eb28595
Show file tree
Hide file tree
Showing 9 changed files with 550 additions and 10 deletions.
54 changes: 54 additions & 0 deletions cmd/indexer/mappings/bigmapaction.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"mappings": {
"properties": {
"indexed_time": {
"type": "long"
},
"address": {
"type": "text",
"fields": {
"keyword": {
"ignore_above": 256.0,
"type": "keyword"
}
}
},
"level": {
"type": "long"
},
"action": {
"type": "text",
"fields": {
"keyword": {
"ignore_above": 256.0,
"type": "keyword"
}
}
},
"operation_id": {
"type": "text",
"fields": {
"keyword": {
"ignore_above": 256.0,
"type": "keyword"
}
}
},
"network": {
"type": "text",
"fields": {
"keyword": {
"ignore_above": 256.0,
"type": "keyword"
}
}
},
"source_ptr": {
"type": "long"
},
"timestamp": {
"type": "date"
}
}
}
}
301 changes: 300 additions & 1 deletion cmd/indexer/mappings/operation.json
Original file line number Diff line number Diff line change
@@ -1 +1,300 @@
{"mappings":{"properties":{"amount":{"type":"long"},"balance":{"type":"long"},"balance_updates":{"properties":{"change":{"type":"long"},"contract":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"kind":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}}}},"burned":{"type":"long"},"counter":{"type":"long"},"deffated_storage":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"delegate":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"delegate_alias":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"destination":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"destination_alias":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"entrypoint":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"errors":{"properties":{"amount":{"type":"long"},"balance":{"type":"long"},"descr":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"id":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"kind":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"location":{"type":"long"},"title":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"with":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}}}},"fee":{"type":"long"},"gas_limit":{"type":"long"},"hash":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"indexed_time":{"type":"long"},"internal":{"type":"boolean"},"nonce":{"type":"long"},"kind":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"level":{"type":"long"},"manager_pubkey":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"network":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"parameter_strings":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"parameters":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"protocol":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"result":{"properties":{"allocated_destination_contract":{"type":"boolean"},"consumed_gas":{"type":"long"},"paid_storage_size_diff":{"type":"long"},"storage_size":{"type":"long"}}},"source":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"source_alias":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"status":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"storage_limit":{"type":"long"},"storage_strings":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"timestamp":{"type":"date"}}}}
{
"mappings": {
"properties": {
"amount": {
"type": "long"
},
"balance": {
"type": "long"
},
"balance_updates": {
"properties": {
"change": {
"type": "long"
},
"contract": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"kind": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
"burned": {
"type": "long"
},
"counter": {
"type": "long"
},
"deffated_storage": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"delegate": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"delegate_alias": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"destination": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"destination_alias": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"entrypoint": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"errors": {
"properties": {
"amount": {
"type": "long"
},
"balance": {
"type": "long"
},
"descr": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"expected_form": {
"type": "text"
},
"id": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"kind": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"location": {
"type": "long"
},
"title": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"with": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"wrong_expression": {
"type": "text"
}
}
},
"fee": {
"type": "long"
},
"gas_limit": {
"type": "long"
},
"hash": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"indexed_time": {
"type": "long"
},
"internal": {
"type": "boolean"
},
"nonce": {
"type": "long"
},
"kind": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"level": {
"type": "long"
},
"manager_pubkey": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"network": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"parameter_strings": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"parameters": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"protocol": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"result": {
"properties": {
"allocated_destination_contract": {
"type": "boolean"
},
"consumed_gas": {
"type": "long"
},
"paid_storage_size_diff": {
"type": "long"
},
"storage_size": {
"type": "long"
}
}
},
"source": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"source_alias": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"status": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"storage_limit": {
"type": "long"
},
"storage_strings": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"timestamp": {
"type": "date"
}
}
}
}
Loading

0 comments on commit eb28595

Please sign in to comment.