Skip to content

Releases: baking-bad/tzkt

v1.14.5

01 Aug 16:08
Compare
Choose a tag to compare

General notes

  • minor improvements and bugfixes.

To update from v1.14.* to v1.14.5 just update the tzkt-sync and tzkt-api binaries.
Note: if you use delegator rewards data, it's recommended to also restore DB from the latest snapshot.

Commits

  • a5a2199: Minor API validation fixes (257Byte)
  • b14c3a0: Fix SelectionSingleConverter on empty response (Maksim Strebkov)
  • 6d197a5: Fix balance snapshots, close #176 (257Byte)
  • ebb4c7c: v1.14.5 (257Byte)

v1.14.4

30 Jun 10:49
Compare
Choose a tag to compare

General notes

  • minor improvements and bugfixes.

To update from v1.14.* to v1.14.4 just update the tzkt-sync and tzkt-api binaries. DB will migrate automatically.

Commits

  • 58ca233: Add more sortable fields for /delegates (257Byte)
  • 5b7a317: Omit zero cursor offset (257Byte)
  • 5567ecc: Add allocation fee to drain delegate operations (Maksim Strebkov)
  • 477466f: Adjust json schema type for BigInteger (Maksim Strebkov)
  • 609c025: v1.14.4 (Maksim Strebkov)

v1.14.3

21 Jun 00:17
Compare
Choose a tag to compare

General notes

  • minor bugfix.

To update from v1.14.* to v1.14.3 just update the tzkt-sync and tzkt-api binaries. DB will migrate automatically.

Commits

  • 344f760: Fix cycle levels math (Maksim Strebkov)
  • e5bafe3: v1.14.3 (Maksim Strebkov)

v1.14.2

19 Jun 17:31
Compare
Choose a tag to compare

General notes

  • ParisC support;
  • API improvements;
  • minor bugfixes.

To update from v1.14.* to v1.14.2 just update the tzkt-sync and tzkt-api binaries. DB will migrate automatically.

Commits

  • 307ad72: Minor API fixes (Maksim Strebkov)
  • 597d492: Fix reports SQL query (Maksim Strebkov)
  • 064f573: Add more API filters (Maksim Strebkov)
  • d98ee5e: Extend unstake request API model with couple views, close #173 (257Byte)
  • ba6fb09: Add ParisC protocol (Maksim Strebkov)
  • 60ca75e: Add more staking stats to /home API endpoint (257Byte)
  • 76df188: v1.14.2 (257Byte)

v1.14.1

01 Jun 14:36
Compare
Choose a tag to compare

General notes

  • Ghostnet-specific bugfix.

Note, this update is mostly needed for ghostnet. If you run tzkt on mainnet, you can skip it.

To update from v1.14.0 to v1.14.1 just update the tzkt-sync and tzkt-api binaries, and for ghostnet you will also have to drop the indexer database and restore it from the latest ghostnet snapshot, or reindex from scratch.

Commits

  • 9cc2afc: Fix protocol constants migration (Maksim Strebkov)
  • d1a7d0d: v1.14.1 (Maksim Strebkov)

v1.14.0

31 May 10:50
Compare
Choose a tag to compare

General notes

  • Paris protocol was implemented;
  • more FA tokens are supported as more edge cases are handled;
  • default indexes were optimized for better indexing performance;
  • minor improvements and bugfixes.

To update from v1.13.* to v1.14.0 you should drop the indexer database and restore it from the latest snapshot, or reindex from scratch. This is due to changes, that make automatic DB migration too complicated.

Changes in the API endpoints

  • [BREAKING] /accounts/{address}/balance_history/* now has specific behavior: for non-baker tz-accounts it doesn't take into account historical staked tez when calculating historical balances, because stakers do not really have staked tez on their balance, they have staking pseudotokens instead. If you want to get a full historical balance, including staked tez, use the Tezos node RPC: /chains/main/blocks/{level}/context/contracts/{address}/full_balance;
  • [BREAKING] /cycles no longer supports the query parameter snapshotIndex, because the cycle model doesn't contain that field anymore;
  • /operations/set_delegate_parameters was added;
  • /operations/dal_publish_commitment was added;
  • /smart_rollups/{address}/entrypoints was added;
  • /staking/unstake_requests was added;
  • /staking/updates was added.

Changes in the API models

Tokens, tickets and operations:

  • [BREAKING] internal IDs of operations (and therefore tokens, token balances, token transfers, tickets, ticket balances, ticket transfers) happened after Oxford upgrade were changed, because of different autostaking operations processing, so if you store those IDs locally, make sure to reindex them.

Delegates:

  • [BREAKING] field stakedPseudotokens was removed, because bakers do not have staked pseudotokens;
  • [BREAKING] field issuedPseudotokens now has type BigInteger instead of Int64;
  • [BREAKING] field lostBalance was renamed to roundingError;
  • fields stakingUpdatesCount, setDelegateParametersOpsCount, and dalPublishCommitmentOpsCount were added.

Users:

  • [BREAKING] field stakedPseudotokens now has type BigInteger instead of Int64;
  • [BREAKING] field lostBalance was removed;
  • fields stakingUpdatesCount, setDelegateParametersOpsCount, and dalPublishCommitmentOpsCount were added.

Baker rewards:

  • [BREAKING] field blockRewardsLiquid was renamed to blockRewardsDelegated;
  • [BREAKING] field endorsementRewardsLiquid was renamed to endorsementRewardsDelegated;
  • [BREAKING] field vdfRevelationRewardsLiquid was renamed to vdfRevelationRewardsDelegated;
  • [BREAKING] field nonceRevelationRewardsLiquid was renamed to nonceRevelationRewardsDelegated;
  • field delegatedBalance returns delegated balance at the end of the cycle, instead of minimal-over-cycle value, which is used for rights distribution. Read more here;
  • fields blockRewardsStakedEdge, endorsementRewardsStakedEdge, vdfRevelationRewardsStakedEdge and nonceRevelationRewardsStakedEdge were added.

Delegator rewards:

  • same changes as for baker rewards, described above.

Rewards split:

  • same changes as for baker rewards, described above.

Rewards split delegator:

  • [BREAKING] fields currentDelegatedBalance and currentStakedBalance were deprecated. Since they were used only for checking whether or not the delegator is currently emptied, you can use the field emptied instead.

Cycles:

  • [BREAKING] field snapshotIndex was deprecated, use snapshotLevel instead;
  • [BREAKING] field lbSubsidy was deprecated.

Blocks and baking operations:

  • [BREAKING] field rewardLiquid was renamed to rewardDelegated;
  • [BREAKING] field bonusLiquid was renamed to bonusDelegated;
  • fields rewardStakedEdge and bonusStakedEdge were added.

Autostaking operations:

  • [BREAKING] field cycle was deprecated;
  • field stakingUpdatesCount was added.

Delegation operations:

  • [BREAKING] fields unstakedPseudotokens, unstakedBalance, and unstakedRewards were deprecated;
  • field stakingUpdatesCount was added.

Double baking/endorsing/preendorsing operations:

  • [BREAKING] field roundingLoss was deprecated;
  • field stakingUpdatesCount was added.

Endorsing reward and nonce/vdf revelation operations:

  • [BREAKING] field rewardLiquid was renamed to rewardDelegated;
  • field rewardStakedEdge was added.

Staking operations:

  • [BREAKING] field kind was renamed to action;
  • [BREAKING] fields pseudotokens, limitOfStakingOverBaking, edgeOfBakingOverStaking, and activationCycle were deprecated;
  • fields requestedAmount and stakingUpdatesCount were added.

Protocols:

  • field version was added.

Protocol constants:

  • field preservedCycles was deprecated and replaced with the new two fields consensusRightsDelay and delegateParametersActivationDelay.

Smart rollup inbox messages:

  • field index was added.

Changes in the WebSocket API:

  • new operation types are available in the operations subscription.

Changes in the DB schema

Basically, DB schema has almost the same changes as the API models, described above.
For more details check out the full diffs at Tzkt.Data/Models/ here.

Commits

  • 9e87ff5: Add Paris protocol (Maksim Strebkov) #171
  • d89b2b5: Index parameter type for smart rollups (Maksim Strebkov) #171
  • 13b2e99: Index voting snapshots for waiting periods as well (Maksim Strebkov) #171
  • c347346: Add version number to the protocol model (Maksim Strebkov) #171
  • 3d65672: Add non-root ledgers support (Maksim Strebkov) #171
  • c00a973: Add inbox message index (Maksim Strebkov) #171
  • 60ab3ad: Improve indexes, close #151 (Maksim Strebkov) #171
  • 9f46ff2: Use AI for home stats calculation (Maksim Strebkov) #171
  • f03b15f: Add version to the protocol API model, update sr constants. (Maksim Strebkov) #171
  • bf2078b: Update dependencies (Maksim Strebkov) #171
  • e670d34: Expose smart rollup entrypoints via API (257Byte) #171
  • 81d7758: Expose inbox message index (Maksim Strebkov) #171
  • b16ca5b: Add ParisB 2 (Maksim Strebkov) #171
  • 5338801: Add Paris docker-compose (dm) #171
  • 77a33e4: Update VotingPeriod API model (Maksim Strebkov) #171
  • b401fe8: Explicit numeric conversion (Maksim Strebkov) #171
  • c07d3ef: Register chain id for ParisB 2 (Maksim Strebkov) #171
  • ae997e3: v1.14.0 (Maksim Strebkov)

v1.13.4

23 May 07:20
Compare
Choose a tag to compare

General notes

  • minor bugfixes.

To update from v1.13.* to v1.13.4 just update the tzkt-sync and tzkt-api binaries. DB will migrate automatically.

Commits

  • 4bf7e00: Count restaking when validating finalize_unstake (Maksim Strebkov)
  • 22a9667: Update swagger description (Maksim Strebkov)
  • 435801d: Fix TimestampParameter binding (257Byte)
  • 8ec0e6e: Fix runtime binding for UnstakedBakerId (Maksim Strebkov)
  • ae9cf69: v1.13.4 (Maksim Strebkov)

v1.13.3

25 Mar 21:55
Compare
Choose a tag to compare

General notes

  • bugfixes and minor improvements.

To update from v1.13.* to v1.13.3 just update the tzkt-sync and tzkt-api binaries. DB will migrate automatically.

Commits

  • 3c03f63: Add more filters to /voting/periods endpoint (Maksim Strebkov)
  • 90581c9: Add frozen deposits and rollup bonds to the circulating supply (Maksim Strebkov)
  • 6abef5d: Get bootstrapped rollups genesis info from RPC (Maksim Strebkov)
  • 3c8d6c7: Fix finalize unstake (Maksim Strebkov)
  • 1985051: v1.13.3 (Maksim Strebkov)

v1.13.2

04 Mar 15:36
Compare
Choose a tag to compare

General notes

  • bugfixes and minor improvements.

To update from v1.13.* to v1.13.2 just update the tzkt-sync and tzkt-api binaries. DB will migrate automatically.

Commits

  • f1353e2: Update rewards for existing future cycles during migration (Maksim Strebkov)
  • befb3c9: Restore accused baking right if it was pruned (Maksim Strebkov)
  • c0d71f8: Add implicit sort by level for transactions and originations (Maksim Strebkov)
  • fd171da: Handle events inside transfer_ticket internals (Maksim Strebkov)
  • 270a493: v1.13.2 (257Byte)

v1.13.1

11 Feb 10:39
Compare
Choose a tag to compare

General notes

  • fixed minor bug in the indexer.

To update from v1.13.* to v1.13.1 just update the tzkt-sync and tzkt-api binaries. DB will migrate automatically.

Commits

  • e18fef4: Update README (Maksim Strebkov)
  • 9b91ec0: Set min pagination limit for tokens endpoints (Maksim Strebkov)
  • 40c24db: Ignore failed contract events in diagnostics (Maksim Strebkov)
  • 688e49e: Fix snapshot balances sql query (Maksim Strebkov)
  • d7823cb: v1.13.1 (Maksim Strebkov)