Skip to content

Releases: baking-bad/tzkt

v1.8.2

19 Apr 11:35
2c2e8c2
Compare
Choose a tag to compare

General notes

  • bugfixes and minor improvements.

To update from v1.8.* to v1.8.2 just update the tzkt-sync and tzkt-api binaries.

Commits

  • d147479: Optimize stake snapshots and fix baker software (257Byte)
  • 7d2024b: README.md updated (dmir) #91
  • 8ad6af7: Fix bigmap keys cache (257Byte) #92
  • a30dff8: Add filtering contracts by tags (257Byte)
  • 2c2e8c2: Extend authentication service and add API Tests (#90) (dmirgaleev) #90

v1.8.1

06 Apr 13:23
Compare
Choose a tag to compare

General notes

  • bugfixes and minor improvements.

To update from v1.8.* to v1.8.1 just update the tzkt-sync and tzkt-api binaries.

Commits

  • d1bbc36: Skip emptying during internal ops (257Byte)
  • 86627aa: Fix copypaste (257Byte)
  • c31bc3d: Hotfix for inconsistent snapshot index (257Byte)
  • 782e98f: Fix deposit cap calculation (257Byte)
  • af4bd9d: Fix account delegate diagnostics (257Byte)
  • 491c591: Update default settings (257Byte)
  • 1ab4303: v1.8.1 (257Byte)

v1.8.0

28 Mar 12:51
Compare
Choose a tag to compare

General notes

  • Ithaca support;
  • multiple token metadata sources.

To update from v1.7.* to v1.8.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] fields frozenDeposits, frozenRewards, frozenFees were replaced with frozenDeposit;
    • fields frozenDepositLimit, delegatedBalance, numPreendorsements, numDoublePreendorsing, numEndorsingRewards, numSetDepositsLimits were added.
  • Rewards models:
    • [breaking] fields OwnBlocks, ExtraBlocks were replaced with blocks;
    • [breaking] fields MissedOwnBlocks, MissedExtraBlocks, UncoveredOwnBlocks, UncoveredExtraBlocks were replaced with missedBlocks;
    • [breaking] fields OwnBlockRewards, ExtraBlockRewards were replaced with blockRewards;
    • [breaking] fields MissedOwnBlockRewards, MissedExtraBlockRewards, UncoveredOwnBlockRewards, UncoveredExtraBlockRewards were replaced with missedBlockRewards;
    • [breaking] fields OwnBlockFees, ExtraBlockFees were replaced with blockFees;
    • [breaking] fields MissedOwnBlockFees, MissedExtraBlockFees, UncoveredOwnBlockFees, UncoveredExtraBlockFees were replaced with missedBlockFees;
    • [breaking] fields DoubleBakingLostDeposits, DoubleBakingLostRewards, DoubleBakingLostFees were replaced with doubleBakingLosses;
    • [breaking] fields DoubleEndorsingLostDeposits, DoubleEndorsingLostRewards, DoubleEndorsingLostFees were replaced with doubleEndorsingLosses;
    • [breaking] fields RevelationLostRewards, RevelationLostFees were replaced with revelationLosses;
    • [breaking] fields UncoveredEndorsements, UncoveredEndorsementRewards, FutureBlockDeposits, BlockDeposits, FutureEndorsementDeposits, EndorsementDeposits were removed;
    • fields activeStake, selectedStake, doublePreendorsingRewards, doublePreendorsingLosses were added.
  • Baking right model:
    • [breaking] field priority was replaced with round;
    • [breaking] status uncovered was removed.
  • Cycle model:
    • [breaking] field totalRolls was removed;
    • fields selectedBakers, selectedStake were added.
  • Block model:
    • [breaking] field priority was replaced with fields payloadRound and blockRound;
    • [breaking] field baker was replaced with fields proposer and producer;
    • fields bonus, preendorsements, doublePreendorsing, endorsingRewards, setDepositsLimits were added.
  • Baking operation model:
    • [breaking] field priority was replaced with fields payloadRound and blockRound;
    • [breaking] field baker was replaced with fields proposer and producer;
    • field bonus was added.
  • Double baking operation model:
    • [breaking] field accuserRewards was replaced with accuserReward;
    • [breaking] fields offenderLostDeposits, offenderLostRewards, offenderLostFees were replaced with offenderLoss.
  • Double endorsing operation model:
    • [breaking] field accuserRewards was replaced with accuserReward;
    • [breaking] fields offenderLostDeposits, offenderLostRewards, offenderLostFees were replaced with offenderLoss.
  • Nonce revelation operation model:
    • [breaking] field bakerRewards was replaced with reward;
    • fields revealedCycle, nonce were added.
  • Revelation penalty operation model:
    • [breaking] fields lostReward, lostFees were replaced with loss.
  • Protocol model:
    • new Ithaca constants added.
  • Statistics model:
    • [breaking] field totalVested was removed.

Changes in the API endpoints

  • /blocks parameter baker was replaced with proposer and producer;
  • /operations/baking parameters baker and priority were replaced with proposer, producer, payloadRound, and blockRound;
  • /rights parameter priority was replaced with round;
  • /operations/preendorsements/* were added;
  • /operations/double_preendorsing/* were added;
  • /operations/endorsing_rewards/* were added;
  • /operations/set_deposits_limits/* were added.

Changes in the DB schema

  • DoublePreendorsingOps table was added;
  • PreendorsementOps table was added;
  • SetDepositsLimitOps table was added;
  • EndorsingRewardOps table was added;
  • FreezerUpdates table was added;
  • columns FrozenDeposits, FrozenRewards, and FrozenFees were removed from the Accounts table;
  • columns FrozenDeposit, FrozenDepositLimit, DelegatedBalance, PreendorsementsCount, DoublePreendorsingCount, EndorsingRewardsCount, and SetDepositsLimitsCount were added to the Accounts table;
  • columns DoublePreendorsingOpsCount, PreendorsementOpsCount, EndorsingRewardOpsCount, and SetDepositsLimitOpsCount were added to the AppState table;
  • columns Rolls, OwnBlocks, ExtraBlocks, MissedOwnBlocks, MissedExtraBlocks, UncoveredOwnBlocks, UncoveredExtraBlocks, UncoveredEndorsements, OwnBlockRewards, ExtraBlockRewards, MissedOwnBlockRewards, MissedExtraBlockRewards, UncoveredOwnBlockRewards, UncoveredExtraBlockRewards, UncoveredEndorsementRewards, OwnBlockFees, ExtraBlockFees, MissedOwnBlockFees, MissedExtraBlockFees, UncoveredOwnBlockFees, UncoveredExtraBlockFees, DoubleBakingLostDeposits, DoubleBakingLostRewards, DoubleBakingLostFees, DoubleEndorsingLostDeposits, DoubleEndorsingLostRewards, DoubleEndorsingLostFees, RevelationRewards, RevelationLostRewards, RevelationLostFees, FutureBlockDeposits, BlockDeposits, FutureEndorsementDeposits, and EndorsementDeposits were removed from the BakerCycles table;
  • columns ActiveStake, SelectedStake, Blocks, MissedBlocks, BlockRewards, MissedBlockRewards, BlockFees, MissedBlockFees, DoubleBakingLosses, DoubleEndorsingLosses, DoublePreendorsingRewards, DoublePreendorsingLosses, RevelationRewards, and RevelationLosses were added to the BakerCycles table;
  • column Priority in the BakingRights table was renamed to Round;
  • column TotalRolls was removed from the Cycles table;
  • columns SelectedBakers and SelectedStake were added to the Cycles table;
  • type of the column Seed in the Cycles table was changed from varchar to bytea;
  • columns DelegatorsCount, DelegatedBalance, and StakingBalance were added to the SnapshotBalances table;
  • columns Priority, BakerId, and ResetDeactivation were removed from the Blocks table;
  • columns PayloadRound, BlockRound, Bonus, ProposerId, ProducerId, ResetBakerDeactivation, and ResetProposerDeactivation were added to the Blocks table;
  • columns ConsensusThreshold, MinParticipationNumerator, MinParticipationDenominator, MaxSlashingPeriod, FrozenDepositsPercentage, DoubleBakingPunishment, DoubleEndorsingPunishmentNumerator, DoubleEndorsingPunishmentDenominator, MaxBakingReward, and MaxEndorsingReward were added to the Protocols table;
  • columns OffenderLostDeposit, OffenderLostReward, and OffenderLostFee in the DoubleBakingOps table were replaced with OffenderLoss;
  • columns OffenderLostDeposit, OffenderLostReward, and OffenderLostFee in the DoubleEndorsingOps table were replaced with OffenderLoss;
  • columns LostReward and LostFees in the RevelationPenaltyOps table were replaced with Loss;
  • columns RevealedCycle, Reward, and Nonce were added to the NonceRevelationOps table;
  • column TotalVested was removed from the Statistics table.

Changes in the configuration

  • TokenMetadata.DipDupUrl and TokenMetadata.Network were replaced with TokenMetadata.DipDup, accepting an array of DipDup sources.

Commits

  • 6a7c5d1: Filter out null token metadata from DipDup (257Byte)
  • 7a08f4e: Add openapi extensions for json and anyof parameters (Michael Zaikin) #81
  • cc714a3: Fix bigmap tags displaying and add more tags (257Byte)
  • 5fae6a5: Fix spaces in json parameter .in and .ni modes (257Byte)
  • 212e5af: Optimize sql queries for historical entities (257Byte)
  • 53946f4: Init ithaca scaffold (257Byte) #86
  • 50c7da6: Remove frozen rewards, frozen fees, and uncovered rights (257Byte) #86
  • 94d0264: Don't try to save token metadata for non-existing tokens (257Byte) #86
  • 61368bd: Store nonces in seed_nonce_revelation operations (257Byte) #86
  • bcbcef1: Rework random cycle seed calculation (257Byte) #86
  • 1db3fa3: Rework baker cycles, double baking/endorsing and revelation penalty ops (257Byte) #86
  • c253ad8: Remove rolls (257Byte) #86
  • 8976a15: Rework deposits (257Byte) #86
  • 4a77a25: Migrate protocol constants (257Byte) #86
  • 7ac0e98: Migrate bakers staking (257Byte) #86
  • fd091ab: Migrate cycles and make snapshot (257Byte) #86
  • d470e8b: Migrate baking/endorsing rights and rewards (257Byte) #86
  • 8ddf804: Migrate statistics (257Byte) #86
  • 36afd0f: Rework protocol validators (257Byte) #86
  • dd4c0c8: Rework block commit (257Byte) #86
  • 3cffa97: Rework diagnostics (257Byte) [#86](ht...
Read more

v1.7.0

04 Feb 17:15
Compare
Choose a tag to compare

General notes

  • generic token indexing;
  • bugfixes and UX improvements.

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

Changes in the API

  • account model: field type now may have another possible value "ghost";
  • account model: fields activeTokensCount, tokenBalancesCount, and tokenTransfersCount were added;
  • periodInfo model: fields id,startLevel, and endLevel were removed;
  • proposal model: field period was removed;
  • software model: fields commitDate, commitHash, version, and tags were removed;
  • transaction model: field parameters was removed;
  • /v1/accounts/{address}/operations endpoint: query parameters parameters, from, and to were removed;
  • /v1/operations/transactions endpoint: query parameter parameters was removed;
  • /v1/operations/originations endpoint: query parameter id was added;
  • /v1/operations/migrations endpoint: query parameter id was added;
  • /v1/tokens endpoint was added;
  • /v1/tokens/count endpoint was added;
  • /v1/tokens/balances endpoint was added;
  • /v1/tokens/balances/count endpoint was added;
  • /v1/tokens/transfers endpoint was added;
  • /v1/tokens/transfers/count endpoint was added;
  • /v1/tokens/historical_balances endpoint was added;
  • all API responses now contain information about indexer state (at the beginning of the request execution) in HTTP headers: Tzkt-Level, Tzkt-Known-Level, and Tzkt-Synced-At;
  • websocket subscription SubscribeToTokenTransfers was added.

Changes in the DB schema

  • Tokens table was added;
  • TokenBalances table was added;
  • TokenTransfers table was added;
  • BigMaps.Tags column now may have more possible values;
  • Blocks.Events column now may have more possible values;
  • TransactionOps.TokenTransfers column was added;
  • OriginationOps.TokenTransfers column was added;
  • MigrationOps.TokenTransfers column was added;
  • AppState.TokenCounter column was added;
  • AppState.TokenBalanceCounter column was added;
  • AppState.TokensCount column was added;
  • AppState.TokenBalancesCount column was added;
  • AppState.TokenTransfersCount column was added;
  • Accounts.TokensCount column was added;
  • Accounts.ActiveTokensCount column was added;
  • Accounts.TokenBalancesCount column was added;
  • Accounts.TokenTransfersCount column was added;
  • Accounts.Tags column now may have more possible values;
  • Accounts.Type column now may have more possible values.

Changes in the configuration

Commits

  • 8e2b5cb: Print version on start (257Byte)
  • fde915e: Added Docker Hub description update action (dmir) #77
  • c3168cb: Expose 5000 in Dockerfile and secure postgresql database (jpic ∞) #79
  • 66e3e73: Using env vars for pg creds (Michael Zaikin) #80
  • 81520a3: Add tokens indexing (257Byte) #82
  • 5ebc2b7: Add API model for ghost contract (257Byte) #82
  • 25a538e: Add /tokens* API endpoints, extend indexer's cache, minor fixes (257Byte) #82
  • 27c992b: Add WS subscription for token transfers (257Byte) #82
  • 65755c8: Add filter by id for origination and migration operations (257Byte) #82
  • fe78d8f: Add DipDup metadata syncer (257Byte) #82
  • 88e8877: Add token metadata API endpoints (257Byte) #82
  • 0c2765a: Remove all deprecated fields and parameters (257Byte) #82
  • cbb8062: Update default configs and env vars (257Byte) #82
  • 689ae69: Add historical token balances endpoint, close #62 (257Byte) #82
  • fcdaf89: Add some token stats to account API models (257Byte) #82
  • 056d14e: More token handlers and some fixes (257Byte) #82
  • 68ccdaa: More legacy token metadata (257Byte) #82
  • a357f4a: Fix proposals cache (257Byte) #82
  • ffddaa3: Add custom token handler for Tezos Domains (257Byte) #82
  • 4b1d286: Generate token metadata for tezos domains (257Byte) #82
  • 1d1985f: Minor review (257Byte) #82
  • 48f6a62: Fix binding JsonParameter with root path (257Byte) #82
  • 84d198d: Add custom token metadata converter (257Byte) #82
  • e7b69db: Fix handling nats in sql builder (257Byte) #82
  • 5a71102: Move account metadata to dedicated section (257Byte) #82
  • 0c03232: Inject tzkt state to http headers (257Byte) #82
  • 1e3af2d: Reset migrations (257Byte) #82
  • 3029b4c: Prefetch cache entities by chunks (257Byte) #82
  • 75acbbf: Update docs and default configs (257Byte) #82

v1.6.4

08 Dec 10:49
aa7ce51
Compare
Choose a tag to compare

General notes

  • fixed issue with global constants tracking;
  • minor API improvements.

To update from v1.6.* to v1.6.4 just update the tzkt-sync and tzkt-api binaries. All migrations will be done automatically.

Commits

  • 2a958ff: Migrate snapshots to Digital Ocean (dmirgaleev) #75
  • 388a9f7: Add filter by level for contract code API endpoint (257Byte)
  • 9da6c42: Add filter by timestamp for bigmap updates API endpoint (257Byte)
  • 21bc837: Add nextProtocol to the head info (257Byte)
  • aa7ce51: Fix constants AsNoTracking (Maksim Strebkov) #76

v1.6.3

22 Nov 19:20
Compare
Choose a tag to compare

General notes

  • Hanghzou protocol support;
  • minor bugfixes and improvements.

To update from v1.6.* to v1.6.3 just update the tzkt-sync and tzkt-api binaries. All migrations will be done automatically.

Changes in the API

  • new operation type register_constant was added;
  • numRegisterConstants field was added to the user and delegate models;
  • registerConstants field was added to the block model;
  • /v1/operations/register_constants endpoint was added;
  • /v1/operations/register_constants/{hash} endpoint was added;
  • /v1/operations/register_constants/count endpoint was added;
  • /v1/contracts/{address}/views endpoint was added;
  • /v1/contracts/{address}/views/{name} endpoint was added;
  • /v1/constants endpoint was added;
  • /v1/constants/{address} endpoint was added;
  • /v1/constants/count endpoint was added;
  • WS subscription methods now return subscription state directly ('state' messages will be deprecated in the future).

Changes in the DB schema

  • Accounts.Tzips column was renamed to Accounts.Tags (breaking change);
  • Accounts.RegisterConstantsCount column was added;
  • AppState.RegisterConstantOpsCount column was added;
  • AppState.ConstantsCount column was added;
  • Scripts.Views column was added;
  • RegisterConstantOps table was added.

Commits

  • cd1e83b: Return subscription state immediately (257Byte)
  • 4b4bc3b: Init hangzhounet scaffold (257Byte) #74
  • 8e9f607: Add contract views indexing (Groxan) #74
  • 424dab1: Add register_global_constant operation type (257Byte) #74
  • c1921a6: Add API endpoints for global constants (257Byte) #74
  • 410fe76: Extend metadata API endpoints for global constants (257Byte) #74
  • f288cd6: Expand view's parameter and return types (257Byte) #74
  • 27bf4ea: Add contract view API endpoints (257Byte) #74
  • b7ce783: Reorder triggers migrations (257Byte) #74
  • 0fa1feb: Fix null storage fee (257Byte) #74
  • 055a51e: Add format parameter for constant values (Groxan) #74
  • f783fea: Ignore CommandTimeout when migrating DB (Groxan) #74
  • 44a509a: Improve sync state handling (Groxan) #74
  • dd2a87d: Add Hangzhou2 support (Groxan) #74
  • c759bc2: Reorder migrations (257Byte) #74
  • 441b9c6: Update docs (257Byte) #74

v1.6.2

04 Nov 23:19
0cf84d2
Compare
Choose a tag to compare

Commits

  • b3233e3: Fix getting protocol by cycle (Groxan)
  • d31577e: D'oh (257Byte)
  • 798c4ce: Add LBSubsidy to the inflation calculation (dmirgaleev) #61
  • 5a046d4: Add filtering txs by id and docs fixes, close #59 (257Byte)
  • debb5cb: Fix staking ROI and inflation (257Byte)
  • 26a6563: Fix typo (257Byte)
  • 5a4f242: Fix BigMapTags parameter (Groxan)
  • e282e0f: Update Netezos version (257Byte)
  • 55c0559: Fix single-value reward parameter initialization (257Byte)
  • fb54a34: Fix schedule boundaries (257Byte)
  • c55d4f3: Fix historical keys API endpoint, close #64 (dmirgaleev) #65
  • 8f08469: Update snapshot links (dmirgaleev) #67
  • 35ddf53: Add docker files for testnets (dmirgaleev) #68
  • 2c69d20: Add Docker Hub GitHub Actions (dmirgaleev) #70
  • 0c9ad70: Fix empty response for rewards and bigmap key updates (Groxan)
  • 4fda3b9: Improve searching aliases (257Byte)
  • c5d442e: Add filtering proposals by hash (257Byte)
  • 5b35aab: Update README.md (Maksim Strebkov)
  • 11449f9: Fix deep Micheline serialization (Maksim Strebkov) #72
  • b93c563: Fix deposit updates validation (Maksim Strebkov) #73
  • 0cf84d2: Add XTZ/GBP quotes indexing (dmirgaleev) #71

v1.6.1

10 Aug 13:15
Compare
Choose a tag to compare

Commits

  • 8891ab3: Fix docker-compose API IP binding (Simon Bihel) #57
  • 198e387: Explicit API endpoint configuration (Groxan)
  • 30709a4: Temporarily change the fetching of endorsing rights for a cycle (257Byte)
  • bacfc18: More resilient to RPC errors fetching (257Byte)
  • 9c21b64: Fix home stats periods (257Byte)
  • 5d63cc8: Fix OpenAPI specification (Michael Zaikin) #56
  • 394922d: Endorsing rights throttling (Groxan)
  • 57ab74e: Fix duplicated proposals (257Byte)
  • 780b4d9: Update packages and increment version (Groxan)

v1.6.0

02 Aug 15:01
Compare
Choose a tag to compare

Commits

  • fd51845: Fix polymorphic deserialization (257Byte)
  • 45cd2f1: Fix future block timestamps (257Byte)
  • 1dcab85: Add auth service and /metadata endpoints (Groxan) #51
  • 71e15ee: Add accessing metadata by key (Groxan) #51
  • 4f7bf4a: Rework proposal and protocol metadata, minor fixes. (Groxan) #51
  • c4380a9: Rework account metadata (Groxan) #51
  • cb68333: Automatically update cached metadata on post (Groxan) #51
  • 84548a8: Add home stats cache service (Maksim Strebkov) #51
  • 30dff26: Minor refactoring (Groxan) #51
  • 0116d90: Restore state listener after DB disconnect (Groxan)
  • e3f6369: Cache bigmap ptrs (Groxan)
  • 5812aad: Optimize balance history endpoint (Groxan)
  • 48df3e5: Fix metadata overwriting (257Byte)
  • 8ba1b03: Added EpochStartTime, changed Quorum to BallotsQuorum (dmir) #52
  • d3eb23c: Granada scaffold (257Byte) #54
  • 85b3ef4: Refactor cycle calculation and use of other constants (257Byte) #54
  • 37bcee0: Add Granada migration (257Byte) #54
  • 86defce: Add liquidity baking (257Byte) #54
  • 9218b94: Introduce null-address (Groxan) #54
  • 6b18a9a: Reset DB migration (Groxan) #54
  • 12da4aa: Better validation of db migrations (Groxan) #54
  • d2ab15b: Add snapshot and API links (Groxan) #54
  • 518df14: Minor fixes (Groxan) #54
  • 12138fa: Update protocol API model (Groxan) #54
  • 552a642: Update block API model (Groxan) #54
  • 5b3fd92: Minor refactoring (257Byte) #54
  • 780c1e9: Optimize operation hub processor (257Byte) #54
  • 8fa7c01: Improve bootstrap contracts handling (Groxan) #54
  • c086167: Fix empty prevDelegate in reactivations (Groxan) #54
  • ab51034: Auto detect chain id and chain name (Groxan) #54
  • e97eaf9: Fix json=false in contract entrypoints (257Byte) #54
  • c44a4c8: Fix invalid JSON array handling (257Byte) #54
  • a1f3114: Add account /balance and /counter API endpoints (257Byte) #54
  • 2b861a1: Add filtering contracts by balance (257Byte) #54
  • 063e974: Add API endpoints for access implicit operations by id (257Byte) #54
  • a8d9e31: Add implicit operations to the block API model (257Byte) #54
  • c82864a: Add health checks, close #37 (Groxan) #54
  • 29578bd: Add DB triggers on metadata update (257Byte) #54
  • c5e6a12: Listen metadata DB triggers (257Byte) #54
  • ef73bb7: Minor code cleanup (257Byte) #54
  • 0eb8c36: Fix node sleep time (257Byte) #54
  • af800df: Make metadata properties shadow, add block and app state metadata (Groxan) #54
  • 92d5844: Introduce metadata sections (Groxan) #54
  • 64f39b7: Update docs and snapshots (Groxan) #54
  • aaab487: Add WebSocket subscription for account updates (dmirgaleev) #54
  • 44ed76f: Fix docs (257Byte) #54
  • dc5d040: Minor fixes (257Byte) #54

v1.5.2

08 Jun 19:10
Compare
Choose a tag to compare

Commits

  • 70a4066: Add active proposals to voting epoch model (Groxan)
  • 2f83a45: Update README (Groxan)
  • 9c93dbf: Fix voting period shift in Edo (257Byte)
  • 725773e: Speed-up metadata cache initialization (257Byte)
  • dd33494: Update version and snapshots (257Byte)