Skip to content

Releases: Cryptonomic/Conseil

October 2019 Conseil release – 2.5.1

16 Oct 01:04
a37d2f7
Compare
Choose a tag to compare

This is a follow up release to the previous one so that Conseil is compatible with the Tezos proto5 and still remains backwards compatible with previous protocols.

A full resync is required.

The config file formats have changes so please see https:/Cryptonomic/Conseil#the-configuration-entries for the new format.

A snapshot Conseil database dump from a Cryptonomic production envrionment is available at https://conseil-snapshots.s3.amazonaws.com/conseil_20191018_patched.zip.


Patch to fix account data issues discovered post release

After the release we became aware of an issue relating to account data. As part of the proto5 upgrade, several KT1 accounts were modified as described at https://medium.com/cryptium/meanwhile-at-cryptium-labs-1-part-vi-540170f46c51. Unfortunately, the code did not handle these updates so the Conseil database did not reflect changes to many KT1 contracts as they changed outside of the usual operations process.

If you are using a Cryptonomic database snapshot you do not need to follow these steps.

We are working on a strategic solution and will provide a new release in the upcoming days. Until then, we are providing a tactical fix involving manual modification of the database. This is very hacky and we regret the nature of the fix. We will be further enhancing our testing and release process for the next protocol upgrade.

Here are the steps for patching accounts data:

  1. Stop the Lorre process after ensuring some proto5 blocks have already been indexed.
  2. Query Conseil and get the level of the latest block. Let's call this level $conseil_level.
  3. Wait at least two minutes.
  4. Query your Tezos node or Mininax to get the hash of the Tezos block at $conseil_level+1. Let's call these $tezos_level and $tezos-hash respectively.
  5. Back up your database in case things go wrong.
  6. Execute the below SQL statements after replacing the template variables with their actual values.
  7. Restart Lorre and wait for five minutes.
  8. Make sure the Conseil head and Tezos head blocks now match.
  9. Pull up some delegated KT1 contracts and ensure their information looks correct by comparing the corresponding data from Mininax.
  10. You are good to go.

If you experience any issues, please do not hesitate to reach out to us on our developers channel at https://matrix.to/#/!rUwpbdwWhWgKINPyOD:cryptonomic.tech?via=cryptonomic.tech&via=matrix.org&via=tzchat.org.

Template SQL:

ALTER TABLE accounts_checkpoint DROP CONSTRAINT checkpoint_block_id_fkey;

INSERT INTO accounts_checkpoint
(SELECT DISTINCT account_id, '$TEZOS_HASH' as block_id, $TEZOS_LEVEL as block_level from accounts where account_id like 'KT1%'
 UNION
 SELECT DISTINCT delegate_value as account_id, '$TEZOS_HASH' as block_id, $TEZOS_LEVEL as block_level from accounts where delegate_value IS NOT NULL
 );

Actual example:

ALTER TABLE accounts_checkpoint DROP CONSTRAINT checkpoint_block_id_fkey;

INSERT INTO accounts_checkpoint
(SELECT DISTINCT account_id, 'BL7VsHPkQUYv56KDSzvZJSufFrPhXN6ZBfQ6SLGbUrCsRRz7bTW' as block_id, 655362 as block_level from accounts where account_id like 'KT1%'
 UNION
 SELECT DISTINCT delegate_value as account_id, 'BL7VsHPkQUYv56KDSzvZJSufFrPhXN6ZBfQ6SLGbUrCsRRz7bTW' as block_id, 655362 as block_level from accounts where delegate_value IS NOT NULL
 );

October 2019 Conseil release – 2.5

14 Oct 21:16
34b67c8
Compare
Choose a tag to compare

Primary purpose of this release is support for Tezos Protocol 005 update. A collection of additional features and bug fixes is also included.

Project 2.5

September 2019 Conseil release – 2.4

20 Sep 21:53
e621739
Compare
Choose a tag to compare
Merge pull request #551 from Cryptonomic/bugfix/534-docker-build-fails

Docker build fails

July 2019 Conseil release

09 Jul 10:02
4f4fb91
Compare
Choose a tag to compare
  • Metadata enhancements
  • Several bug fixes for data query API
  • Performance fixes for running in containers
  • Dockerfile and script for container runs

June 2019 Conseil Release v2.2

04 Jun 18:24
4fc20dc
Compare
Choose a tag to compare
  • Extended metadata
  • Improved metadata caching
  • Deprecated v1 API
  • Skip downloading delegate data if the tezos node response results in an error

June 2019 Conseil Release v2.1

01 Jun 03:38
7aac18f
Compare
Choose a tag to compare
Pre-release
  • Extended metadata
  • Improved metadata caching
  • Deprecated v1 API

May 2019 Conseil Release v2.0

21 May 18:33
5bf9894
Compare
Choose a tag to compare

baker-attribute-bugfix
included complex count query

May 2019 Conseil Release

17 May 19:30
628a063
Compare
Choose a tag to compare

API improvements
Query logging

April 2019 Conseil Release

10 Apr 18:11
601bd31
Compare
Choose a tag to compare

Headline changes:

  • Conseil v2 data and metadata API
  • Additional tables for governance data
  • Improved data fetching for Tezos
  • Parsing of Michelson scripts and parameter from Micheline

ci-release-3

19 Feb 18:56
7948d74
Compare
Choose a tag to compare
ci-release-3 Pre-release
Pre-release
Merge pull request #261 from Cryptonomic/Conseil-260-fix-missing-bala…