github baking-bad/tzkt v1.10.0

latest releases: v1.14.5, v1.14.4, v1.14.3...
2 years ago

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

Don't miss a new tzkt release

NewReleases is sending notifications on new releases.