github baking-bad/tzkt v1.9.0

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

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

Don't miss a new tzkt release

NewReleases is sending notifications on new releases.