Skip to content

Releases: baking-bad/tzkt

v1.11.0

12 Dec 04:08
Compare
Choose a tag to compare

General notes

  • Lima support;
  • Tezos domains indexing;
  • minor API improvements.

To update from v1.10.* to v1.11.0 just update the tzkt-sync and tzkt-api binaries. DB will migrate automatically.
Note, that the DB migration will take some time (about 40 minutes for mainnet and a couple of minutes for testnets).
Or, if you have any issues with DB migration (like not enough disk space), you can restore the DB from the latest snapshot as usual.

General changes

  • [BREAKING] we've migrated to .NET 7, so if you build tzkt from sources, you will need to install .NET 7.

Changes in the WebSocket API:

  • new operation types are available in the operations subscription.

Changes in the API models

  • [BREAKING] field lbSunsetLevel in the protocol constants was deprecated and will be removed in the near future;
  • field drainDelegateCount was added to the user model;
  • fields drainDelegateCount and updateConsensusKeyCount were added to the delegate model;
  • fields drainDelegateOps and updateConsensusKeyOps were added to the block model;

Changes in the API endpoints

  • endpoints /accounts and /contracts now allow to filter by address, and request multiple accounts by using .in mode;
  • endpoints /operations/drain_delegate* and /operations/update_consensus_key* were added;
  • endpoints /domains* were added.

Changes in the DB schema

  • all columns of type timestamp were altered to timestamptz;
  • columns UpdateConsensusKeyCountand DrainDelegateCount were added to the Accounts table;
  • columns UpdateConsensusKeyOpsCount, DrainDelegateOpsCount, DomainsNameRegistry, and DomainsLevel were added to the AppState table;
  • column LBSunsetLevel was removed from the Protocols table;
  • column Operations in the Blocks table was altered from integer to bigint;
  • tables UpdateConsensusKeyOps, DrainDelegateOps, and Domains were added.

Commits

v1.10.3

03 Nov 08:20
Compare
Choose a tag to compare

General notes

  • bugfixes and minor improvements.

To update from v1.10.* to v1.10.3 just update the tzkt-sync and tzkt-api binaries. In case of updating a kathmandunet indexer, it's strongly recommended to restore the DB from the latest snapshot.

Commits

  • 58014fa: Fix voting periods with multiple winners (257Byte)
  • ea19d53: Better handle contract events with missed payload (257Byte)
  • 998a109: v1.10.3 (257Byte)

v1.10.2

28 Oct 09:36
Compare
Choose a tag to compare

General notes

  • bugfixes.

To update from v1.10.* to v1.10.2 just update the tzkt-sync and tzkt-api binaries.

Commits

  • 411a0d5: Allow subscribing to all accounts (257Byte)
  • 7d0028a: Links update (Dmitry Mirgaleev)
  • 7fb9338: Handle unparsable tx parameters (257Byte)
  • b11856a: v1.10.2 (257Byte)

v1.10.1

11 Oct 08:06
Compare
Choose a tag to compare

General notes

  • bugfixes and improvements.

To update from v1.10.* to v1.10.1 just update the tzkt-sync and tzkt-api binaries.

Commits

  • 9a7f6c2: Fix lastId parameter type at /accounts/{address}/operations (MS)
  • 27dd890: Sanitize invalid unicode symbols in token metadata (MS)
  • ce61d73: Better token metadata sanitizing (257Byte)
  • 68e02ad: Switched from giganode to rpc.tzkt (dmirgaleev)
  • c07815b: Workaround for bug in ghostnet (257Byte)
  • 736b35c: v1.10.1 (257Byte)

v1.10.0

19 Sep 14:07
34647c6
Compare
Choose a tag to compare

General notes

  • Kathmandu support;
  • deterministic IDs.

To update from v1.9.* to v1.10.0 you should drop the indexer database and restore it from the latest snapshot, or reindex from scratch.

Changes in the WebSocket API:

  • [breaking] WebSocket API moved to the new endpoint /v1/ws, instead of /v1/events, to avoid confusion with events, introduced in Kathmandu;
  • contract events subscription was added.

Changes in the API models

  • Type of ids of all operation types, tokens, token transfers, and token balances was changed to long, instead of int;
  • Contract model:
    • fields tokensCount, increasePaidStorageCount, and eventsCount were added.
  • Delegate model:
    • fields increasePaidStorageCount and vdfRevelationsCount were added.
  • User model:
    • field increasePaidStorageCount was added.
  • ContractInterface model:
    • field events was added.
  • Block model:
    • fields VdfRevelations and IncreasePaidStorageOps were added.
  • Protocol model:
    • field dictator was added.
  • Transaction operation model:
    • field eventsCount was added.
  • Token model:
    • field firstMinter was added.
  • Voting period model:
    • field dictator was added.

Changes in the API endpoints

  • /contracts/events/* were added;
  • /operations/vdf_revelations/* were added;
  • /operations/increase_paid_storage/* were added;

Changes in the DB schema

  • VdfRevelationOps table was added;
  • IncreasePaidStorageOps table was added;
  • Events table was added;
  • column Id (int32) was altered to (int64) in all operation tables: ActivationOps, BallotOps, DelegationOps, DoubleBakingOps, DoubleEndorsingOps, DoublePreendorsingOps, EndorsementOps, PreendorsementOps, NonceRevelationOps, OriginationOps, ProposalOps, RevealOps, TransactionOps, RegisterConstantOps, SetDepositsLimitOps, TxRollupOriginationOps, TxRollupSubmitBatchOps, TxRollupCommitOps, TxRollupFinalizeCommitmentOps, TxRollupRemoveCommitmentOps, TxRollupReturnBondOps, TxRollupRejectionOps, TxRollupDispatchTicketsOps, TransferTicketOps, EndorsingRewardOps, MigrationOps, and RevelationPenaltyOps;
  • column SubId was added to the TransactionOps, OriginationOps, and MigrationOps tables;
  • column EventsCount was added to the TransactionOps table;
  • columns Id (int32) and RevelationId (int32) were altered to (int64) in the Blocks table;
  • columns TransactionId (int32), OriginationId (int32), and MigrationId (int32) were altered to (int64) in the BigMapUpdates table;
  • columns TransactionId (int32), OriginationId (int32), and MigrationId (int32) were altered to (int64) in the Storages table;
  • columns OriginationId (int32) and MigrationId (int32) were altered to (int64) in the Scripts table;
  • column Id (int32) was altered to (int64) in the Tokens table;
  • columns Id (int32) and TokenId (int32) were altered to (int64) in the TokenBalances table;
  • columns Id (int32), TokenId (int32), TransactionId (int32), OriginationId (int32), and MigrationId (int32) were altered to (int64) in the TokenTransfers table;
  • column IndexedAt was added to the Tokens, TokenBalances, and TokenTransfers tables;
  • column FirstMinterId was added to the Tokens table;
  • columnt Dictator was added to the Protocols and VotingPeriods tables;
  • columns IncreasePaidStorageCount, VdfRevelationsCount, and EventsCount were added to the Accounts table;
  • columns EventCounter, IncreasePaidStorageOpsCount, VdfRevelationOpsCount, and EventsCount were added to the AppState table;
  • columns TokenCounter and TokenBalanceCounter were removed from the AppState table;
  • column OperationCounter (int32) was altered to (int64) in the AppState table;

Changes in the configuration

  • Websocket.MaxEventSubscriptions was added to the API config.

Commits

  • 7ffae69: Update Netezos package (257Byte)
  • bf4c4dc: Add API endpoints to check operation status (MS)
  • 19ae6cf: Fix account operations cache (257Byte)
  • 35c1f9f: Fix missed field tokenTransfersCount in origination API model (257Byte)
  • bc6eb5e: Kathmandu scaffold (257Byte) #127
  • d6b0bd4: Implement migration and change account bootstrap logic (MS) #127
  • 4273407: Move from deprecated consumed_gas to consumed_milligas. (MS) #127
  • 67c6076: Make storage fee and storage used more consistent (257Byte) #127
  • 96150c7: Rework emptying logic due to breaking changes in Jakarta (MS) #127
  • 29d6de6: Failed reveals no longer take effect (MS) #127
  • 58085ca: Add increase_paid_storage op type (MS) #127
  • 763515c: Add events indexing (257Byte) #127
  • 0faf43b: Add vdf_revelation op type (257Byte) #127
  • e4a67f0: Update diagnostics (257Byte) #127
  • 3125a07: Add db migration (257Byte) #127
  • 7cf428d: Add contract code hash to events (257Byte) #127
  • 783ecd5: Handle missed balance_updates in failed increase_paid_storage op (257Byte) #127
  • 49d018b: Update accounts API models (257Byte) #127
  • 122a9bf: Add new op types to the API (MS) #127
  • e4c935c: Add API for contract events (MS) #127
  • ff51995: Add governance dictator (MS) #127
  • 4b16f87: Return jsonschema for static contract event types (#126) (Michael Zaikin) #127
  • 39bd91e: Make internal ids deterministic (MS) #127
  • 2449819: Add FirstMinter to the Token model (MS) #127
  • c0e97cc: Make .as mode case-insensitive (MS) #127
  • f6d5fd1: Add token.totalSupply to token balances and token transfers (MS) #127
  • 198b27b: Reset DB migrations (MS) #127
  • 080fd36: Update docs, docker files, and minor fixes (MS) #127
  • f2f3923: v1.10.0 (MS) #127
  • 92766d7: Revert accidentally deleted deprecated fields (MS) #127
  • 34647c6: Add TS SDK page to the docs (#125) (Michael Zaikin) #125

v1.9.4

03 Aug 11:35
Compare
Choose a tag to compare

General notes

  • bugfixes and improvements.

To update from v1.9.* to v1.9.4 just update the tzkt-sync and tzkt-api binaries.

Commits

  • 5787fee: Fix voting power home stats (#118) (dmirgaleev) #118
  • d80e338: Handle underscores in the tx_rollup_commitment_bond protocol parameter (MS)
  • 07de8a6: Add firstActivity filter to /accounts/count (#119) (dmirgaleev) #119
  • f9ec301: Add WebSocket subscription to new cycles (#120) (V) #120
  • 69be5df: Fix upgraded entity state (MS)
  • 3a2fdcb: home fix (Dmitry Mirgaleev)
  • a4ad4ec: Update new relations on delegate activation (257Byte)
  • 2216a7c: Fix ws token subscriptions (MS)
  • dd08240: Add filtering by parameter in the /transactions/count API endpoint and some docs improvements (257Byte)
  • 72a9d58: v1.9.4 (257Byte)

v1.9.3

14 Jul 14:50
Compare
Choose a tag to compare

General notes

  • bugfixes and improvements.

To update from v1.9.* to v1.9.3 just update the tzkt-sync and tzkt-api binaries.

Commits

  • c2f9c9b: Diagnostics fix (dmir)
  • a57b068: Add output cache for /accounts, /operations, and /tokens/balances endpoints (dmirgaleev) #115
  • 3cee7ee: Fix sampler one more time (257Byte)
  • 92f385a: Improve performance of token balances and token transfers API endpoints (257Byte)
  • 5753e47: Add filtering operations by contract code hash (257Byte)
  • 4aaf8fe: Update WS docs (257Byte)
  • a46d5ef: Extend anyof parameter with .in and .null modes (257Byte)
  • 3b3da66: Update anyof swagger extension (257Byte)
  • 67b4431: Fix rollup origination API endpoint (257Byte)
  • 88c0f6d: v1.9.3 (MS)

v1.9.2

30 Jun 13:22
Compare
Choose a tag to compare

General notes

  • bugfixes.

To update from v1.9.* to v1.9.2 just update the tzkt-sync and tzkt-api binaries.

Commits

  • 544b6bc: Play with sampler sorting (257Byte)
  • 21fd85a: Update packages (257Byte)
  • 4a6ca19: v1.9.2 (257Byte)

v1.9.1

28 Jun 18:21
Compare
Choose a tag to compare

General notes

  • bugfixes and minor improvements.

To update from v1.9.0 to v1.9.1 just update the tzkt-sync and tzkt-api binaries.

Commits

  • 3230b38: Fix temp bigmap ptr (257Byte)
  • f7669d0: Enable sorting by rollup bonds (257Byte)
  • 1027b3c: Include transactions to the rollup flow (257Byte)
  • 41e5e03: Fix output cache revalidation (257Byte)
  • a594d8f: Fix sampler selection (257Byte)
  • f9a05a0: Add ghostnet (#117) (dmirgaleev) #117
  • 676814d: Update historical balances and statements endpoints (257Byte)
  • 7bcd770: Update home stats (257Byte)
  • 345586e: v1.9.1 (257Byte)

v1.9.0

24 Jun 11:03
Compare
Choose a tag to compare

General notes

  • Jakarta support;
  • response caching;
  • data optimization.

To update from v1.8.* to v1.9.0 you should drop the indexer database and restore it from the latest snapshot, or reindex from scratch.

Changes in the API models

  • Account models:
    • [breaking] field type now may contain the "rollup" value;
    • fields rollupBonds, rollupsCount, txRollupOriginationCount, txRollupSubmitBatchCount, txRollupCommitCount, txRollupReturnBondCount, txRollupFinalizeCommitmentCount, txRollupRemoveCommitmentCount, txRollupRejectionCount, txRollupDispatchTicketsCount, and TransferTicketCount were added.
  • Block model:
    • [breaking] field lbEscapeVote was replaced with lbToggle;
    • [breaking] field lbEscapeEma was replaced with lbToggleEma;
    • fields transferTicketOps, txRollupCommitOps, txRollupDispatchTicketsOps, txRollupFinalizeCommitmentOps, txRollupOriginationOps, txRollupRejectionOps, txRollupRemoveCommitmentOps, txRollupReturnBondOps, txRollupSubmitBatchOps were added.
  • Home model:
    • [breaking] field rolls was replaced with votingPower;
    • [breaking] field rollsPercentage was replaced with votingPowerPercentage.
  • Ballot operation model:
    • [breaking] field rolls was replaced with votingPower.
  • Proposal operation model:
    • [breaking] field rolls was replaced with votingPower.
  • Protocol model:
    • [breaking] field lbEscapeThreshold was replaced with lbToggleThreshold;
    • fields txRollupOriginationSize and txRollupCommitmentBond were added.
  • Statistics model:
    • field TotalRollupBonds was added.
  • Proposal model:
    • [breaking] field rolls was replaced with votingPower.
  • Voter snapshot model:
    • [breaking] field rolls was replaced with votingPower.
  • Voting period model:
    • [breaking] field totalRolls was replaced with totalVotingPower;
    • [breaking] field topRolls was replaced with topVotingPower;
    • [breaking] field yayRolls was replaced with yayVotingPower;
    • [breaking] field nayRolls was replaced with nayVotingPower;
    • [breaking] field passRolls was replaced with passVotingPower.

Changes in the API endpoints

  • /operations/transfer_ticket/* were added;
  • /operations/tx_rollup_commit/* were added;
  • /operations/tx_rollup_dispatch_tickets/* were added;
  • /operations/tx_rollup_finalize_commitment/* were added;
  • /operations/tx_rollup_origination/* were added;
  • /operations/tx_rollup_rejection/* were added;
  • /operations/tx_rollup_remove_commitment/* were added;
  • /operations/tx_rollup_return_bond/* were added;
  • /operations/tx_rollup_submit_batch/* were added.

Changes in the DB schema

  • TxRollupOriginationOps table was added;
  • TxRollupSubmitBatchOps table was added;
  • TxRollupCommitOps table was added;
  • TxRollupFinalizeCommitmentOps table was added;
  • TxRollupRemoveCommitmentOps table was added;
  • TxRollupReturnBondOps table was added;
  • TxRollupRejectionOps table was added;
  • TxRollupDispatchTicketsOps table was added;
  • TransferTicketOps table was added;-
  • column Rolls (int32) was altered to VotingPower (int64) in the BallotOps table;
  • column Rolls (int32) was altered to VotingPower (int64) in the ProposalOps table;
  • column Rolls (int32) was altered to VotingPower (int64) in the Proposals table;
  • column Rolls (int32) was altered to VotingPower (int64) in the VotingSnapshots table;
  • column TotalRolls (int32) was altered to TotalVotingPower (int64) in the VotingPeriods table;
  • column TopRolls (int32) was altered to TopVotingPower (int64) in the VotingPeriods table;
  • column YayRolls (int32) was altered to YayVotingPower (int64) in the VotingPeriods table;
  • column NayRolls (int32) was altered to NayVotingPower (int64) in the VotingPeriods table;
  • column PassRolls (int32) was altered to PassVotingPower (int64) in the VotingPeriods table;
  • column TotalRollupBonds was added to the Statistics table;
  • column ContractId was added to the TokenTransfers table;
  • column ContractId was added to the TokenBalances table;
  • columns SenderCodeHash and TargetCodeHash were added to the TransactionOps table;
  • columns SenderCodeHash and ContractCodeHash were added to the OriginationOps table;
  • column SenderCodeHash was added to the DelegationOps table;
  • column LBEscapeThreshold was altered to LBToggleThreshold (with precision of 1000000, intead of 1000) in the Protocols table;
  • columns TxRollupOriginationSize and TxRollupCommitmentBond were added to the Protocols table;
  • column LBEscapeVote (bool) was altered to LBToggle (bool?) in the Blocks table;
  • column LBEscapeEma was altered to LBToggleEma (with precision of 1000000, intead of 1000) in the Blocks table;
  • columns TxRollupOriginationOpsCount, TxRollupSubmitBatchOpsCount, TxRollupCommitOpsCount, TxRollupFinalizeCommitmentOpsCount, TxRollupRemoveCommitmentOpsCount, TxRollupReturnBondOpsCount, TxRollupRejectionOpsCount, TxRollupDispatchTicketsOpsCount, and TransferTicketOpsCount were added to the AppState table;
  • colums RollupBonds, RollupsCount, TxRollupOriginationCount, TxRollupSubmitBatchCount, TxRollupCommitCount, TxRollupReturnBondCount, TxRollupFinalizeCommitmentCount, TxRollupRemoveCommitmentCount, TxRollupRejectionCount, TxRollupDispatchTicketsCount, and TransferTicketCount were added to the Accounts table.

Changes in the configuration

  • ResponseCache.CacheSize (sets max size of the output cache in MB) was added to the API config.

Commits