Skip to content

Releases: EmerisHQ/tracelistener

v1.9.3

13 Jun 12:36
0478a5f
Compare
Choose a tag to compare
perf(db): remove cockroach transactions (#136)

Using transactions during flush brings no benefit and just introduce an
additional delay to the query execution.

This delay has been roughly mesured with 500.000 inserts :
WITH TX : 4.457864967s
W/O TX  : 2.44812082s

v1.9.2

01 Jun 09:20
7da0f0e
Compare
Choose a tag to compare
fix: ignore iris strange trace (#127)

insert balances fails because the amount field has non-UTF-8 characters.

This is due to a strange iris trace that is interpreted as bank balance trace with a value `\n$\n\x05uiris\x12\x1b509625143506063788050678455`. When this value is unmarshaled into a `sdk.Coin`, it doesn't trigger any error but fills the `sdk.Coin.Amount` field with invalid UTF-8 characters, leading to the database error mentioned earlier.

Actually, this iris trace is not a balance bank trace, because the format of the key is `0x02+len(addr)+addr`, whereas the balance key format is `0x02+len(addr)+addr+denom`.

So, despite we didn't manage to find the module corresponding to this trace, what appears to be the best fix is to ensure the bank processor ignores this trace.

- This commit adds tests to the existing code: edef1fcfb9ce629723dd982b337dff8cb12279a4
- This commit ensures the bank processor ignores traces like the one of Iris: 8c0c7df41ff4d1f6dee81318ddbcab7122dc0992

v1.9.1

31 May 12:02
f0701ff
Compare
Choose a tag to compare
perf: add index on denom_traces.path (#124)

perf: add index on denom_traces.path

Considering the query `select count(1) from tracelistener.denom_traces
where path like 'transfer/%'` on staging:

- without index, it takes ~2.5s
- with index, it takes ~2ms after some time (the performance improvement
  is not instant, probably some part of the index creation is
  asynchronous with cockroachdb)

v1.9.0

17 May 13:46
6a44a6a
Compare
Choose a tag to compare
feat: listen to some CW20 traces

Fix #111

2 different traces are listened:
- token_info which gives the token definition and supply
- balance which gives the balance of a particular address.

Each traces refers to a contract_address, which is the address of the
smart contract that runs the CW20 spec.

We trace all CW20 tokens, the filtering will more likely happen in the
api-server impl, with a white-list (not done yet).

v1.8.5

17 May 13:41
715452c
Compare
Choose a tag to compare
Added Jitter on DB insert

v1.8.4

16 May 06:44
8cd49f4
Compare
Choose a tag to compare
ci: run docker-build action on new releases (#118)

v1.8.2

11 May 09:33
Compare
Choose a tag to compare

What's Changed

  • DBot GH Actions: Bump docker/setup-buildx-action from 1 to 2 by @dependabot in #110
  • DBot GH Actions: Bump docker/build-push-action from 2 to 3 by @dependabot in #108
  • DBot GH Actions: Bump docker/login-action from 1 to 2 by @dependabot in #109
  • fix(sqlgen): upserting deleted rows didn't reset the delete_height column by @Pitasi in #116

Full Changelog: v1.8.1...v1.8.2

v1.8.1

10 May 10:45
c02f4fd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.8.0...v1.8.1

v1.8.0

09 May 09:12
dfa92b0
Compare
Choose a tag to compare
add validator address column migration (#107)

Fixes part of https://github.com/EmerisHQ/demeris-backend/issues/726

v1.7.0

29 Apr 09:22
2a8bed1
Compare
Choose a tag to compare
introduce raw data export feature

Co-authored-by: Thomas Bruyelle <thomasbruyelle@hey.com>