Releases: baking-bad/tzkt
Releases · baking-bad/tzkt
v1.8.2
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
v1.8.1
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
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 withfrozenDeposit
; - fields
frozenDepositLimit
,delegatedBalance
,numPreendorsements
,numDoublePreendorsing
,numEndorsingRewards
,numSetDepositsLimits
were added.
- [breaking] fields
- Rewards models:
- [breaking] fields
OwnBlocks
,ExtraBlocks
were replaced withblocks
; - [breaking] fields
MissedOwnBlocks
,MissedExtraBlocks
,UncoveredOwnBlocks
,UncoveredExtraBlocks
were replaced withmissedBlocks
; - [breaking] fields
OwnBlockRewards
,ExtraBlockRewards
were replaced withblockRewards
; - [breaking] fields
MissedOwnBlockRewards
,MissedExtraBlockRewards
,UncoveredOwnBlockRewards
,UncoveredExtraBlockRewards
were replaced withmissedBlockRewards
; - [breaking] fields
OwnBlockFees
,ExtraBlockFees
were replaced withblockFees
; - [breaking] fields
MissedOwnBlockFees
,MissedExtraBlockFees
,UncoveredOwnBlockFees
,UncoveredExtraBlockFees
were replaced withmissedBlockFees
; - [breaking] fields
DoubleBakingLostDeposits
,DoubleBakingLostRewards
,DoubleBakingLostFees
were replaced withdoubleBakingLosses
; - [breaking] fields
DoubleEndorsingLostDeposits
,DoubleEndorsingLostRewards
,DoubleEndorsingLostFees
were replaced withdoubleEndorsingLosses
; - [breaking] fields
RevelationLostRewards
,RevelationLostFees
were replaced withrevelationLosses
; - [breaking] fields
UncoveredEndorsements
,UncoveredEndorsementRewards
,FutureBlockDeposits
,BlockDeposits
,FutureEndorsementDeposits
,EndorsementDeposits
were removed; - fields
activeStake
,selectedStake
,doublePreendorsingRewards
,doublePreendorsingLosses
were added.
- [breaking] fields
- Baking right model:
- [breaking] field
priority
was replaced withround
; - [breaking] status
uncovered
was removed.
- [breaking] field
- Cycle model:
- [breaking] field
totalRolls
was removed; - fields
selectedBakers
,selectedStake
were added.
- [breaking] field
- Block model:
- [breaking] field
priority
was replaced with fieldspayloadRound
andblockRound
; - [breaking] field
baker
was replaced with fieldsproposer
andproducer
; - fields
bonus
,preendorsements
,doublePreendorsing
,endorsingRewards
,setDepositsLimits
were added.
- [breaking] field
- Baking operation model:
- [breaking] field
priority
was replaced with fieldspayloadRound
andblockRound
; - [breaking] field
baker
was replaced with fieldsproposer
andproducer
; - field
bonus
was added.
- [breaking] field
- Double baking operation model:
- [breaking] field
accuserRewards
was replaced withaccuserReward
; - [breaking] fields
offenderLostDeposits
,offenderLostRewards
,offenderLostFees
were replaced withoffenderLoss
.
- [breaking] field
- Double endorsing operation model:
- [breaking] field
accuserRewards
was replaced withaccuserReward
; - [breaking] fields
offenderLostDeposits
,offenderLostRewards
,offenderLostFees
were replaced withoffenderLoss
.
- [breaking] field
- Nonce revelation operation model:
- [breaking] field
bakerRewards
was replaced withreward
; - fields
revealedCycle
,nonce
were added.
- [breaking] field
- Revelation penalty operation model:
- [breaking] fields
lostReward
,lostFees
were replaced withloss
.
- [breaking] fields
- Protocol model:
- new Ithaca constants added.
- Statistics model:
- [breaking] field
totalVested
was removed.
- [breaking] field
Changes in the API endpoints
/blocks
parameterbaker
was replaced withproposer
andproducer
;/operations/baking
parametersbaker
andpriority
were replaced withproposer
,producer
,payloadRound
, andblockRound
;/rights
parameterpriority
was replaced withround
;/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
, andFrozenFees
were removed from theAccounts
table; - columns
FrozenDeposit
,FrozenDepositLimit
,DelegatedBalance
,PreendorsementsCount
,DoublePreendorsingCount
,EndorsingRewardsCount
, andSetDepositsLimitsCount
were added to theAccounts
table; - columns
DoublePreendorsingOpsCount
,PreendorsementOpsCount
,EndorsingRewardOpsCount
, andSetDepositsLimitOpsCount
were added to theAppState
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
, andEndorsementDeposits
were removed from theBakerCycles
table; - columns
ActiveStake
,SelectedStake
,Blocks
,MissedBlocks
,BlockRewards
,MissedBlockRewards
,BlockFees
,MissedBlockFees
,DoubleBakingLosses
,DoubleEndorsingLosses
,DoublePreendorsingRewards
,DoublePreendorsingLosses
,RevelationRewards
, andRevelationLosses
were added to theBakerCycles
table; - column
Priority
in theBakingRights
table was renamed toRound
; - column
TotalRolls
was removed from theCycles
table; - columns
SelectedBakers
andSelectedStake
were added to theCycles
table; - type of the column
Seed
in theCycles
table was changed fromvarchar
tobytea
; - columns
DelegatorsCount
,DelegatedBalance
, andStakingBalance
were added to theSnapshotBalances
table; - columns
Priority
,BakerId
, andResetDeactivation
were removed from theBlocks
table; - columns
PayloadRound
,BlockRound
,Bonus
,ProposerId
,ProducerId
,ResetBakerDeactivation
, andResetProposerDeactivation
were added to theBlocks
table; - columns
ConsensusThreshold
,MinParticipationNumerator
,MinParticipationDenominator
,MaxSlashingPeriod
,FrozenDepositsPercentage
,DoubleBakingPunishment
,DoubleEndorsingPunishmentNumerator
,DoubleEndorsingPunishmentDenominator
,MaxBakingReward
, andMaxEndorsingReward
were added to theProtocols
table; - columns
OffenderLostDeposit
,OffenderLostReward
, andOffenderLostFee
in theDoubleBakingOps
table were replaced withOffenderLoss
; - columns
OffenderLostDeposit
,OffenderLostReward
, andOffenderLostFee
in theDoubleEndorsingOps
table were replaced withOffenderLoss
; - columns
LostReward
andLostFees
in theRevelationPenaltyOps
table were replaced withLoss
; - columns
RevealedCycle
,Reward
, andNonce
were added to theNonceRevelationOps
table; - column
TotalVested
was removed from theStatistics
table.
Changes in the configuration
TokenMetadata.DipDupUrl
andTokenMetadata.Network
were replaced withTokenMetadata.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...
v1.7.0
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: fieldtype
now may have another possible value"ghost"
;account
model: fieldsactiveTokensCount
,tokenBalancesCount
, andtokenTransfersCount
were added;periodInfo
model: fieldsid
,startLevel
, andendLevel
were removed;proposal
model: fieldperiod
was removed;software
model: fieldscommitDate
,commitHash
,version
, andtags
were removed;transaction
model: fieldparameters
was removed;/v1/accounts/{address}/operations
endpoint: query parametersparameters
,from
, andto
were removed;/v1/operations/transactions
endpoint: query parameterparameters
was removed;/v1/operations/originations
endpoint: query parameterid
was added;/v1/operations/migrations
endpoint: query parameterid
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
, andTzkt-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
Websocket.MaxTokenTransfersSubscriptions
parameter was added to the API configuration;TokenMetadata
parameter was added to the indexer configuration (disabled by default);TZKT_
prefix is no longer used when passing indexer configs via env vars. Read more: https://baking-bad.org/blog/2022/01/11/tzkt-v17-with-generic-token-indexing-released/#breaking-changes;
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
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
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 theuser
anddelegate
models;registerConstants
field was added to theblock
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 toAccounts.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
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
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
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