Releases: baking-bad/tzkt
v1.11.0
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 theuser
model; - fields
drainDelegateCount
andupdateConsensusKeyCount
were added to thedelegate
model; - fields
drainDelegateOps
andupdateConsensusKeyOps
were added to theblock
model;
Changes in the API endpoints
- endpoints
/accounts
and/contracts
now allow to filter byaddress
, 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 totimestamptz
; - columns
UpdateConsensusKeyCount
andDrainDelegateCount
were added to theAccounts
table; - columns
UpdateConsensusKeyOpsCount
,DrainDelegateOpsCount
,DomainsNameRegistry
, andDomainsLevel
were added to theAppState
table; - column
LBSunsetLevel
was removed from theProtocols
table; - column
Operations
in theBlocks
table was altered frominteger
tobigint
; - tables
UpdateConsensusKeyOps
,DrainDelegateOps
, andDomains
were added.
Commits
- 466cd44: Lima scaffold (257Byte) #132
- 3d185d9: Lima activation (257Byte) #132
- 52fd90a: Add
update_consensus_key
op type (257Byte) #132 - 6dd5023: Add
drain_delegate
op type (257Byte) #132 - 561c518: Deprecate lb sunset level constant (257Byte) #132
- c779365: Add DB migration (257Byte) #132
- f12e613: Simplify drain delegate model (257Byte) #132
- 81d6b00: Add new ops to API, update account models (257Byte) #132
- dea7bf3: Fix typo (257Byte) #132
- a2f4173: Migrate to .NET 7, close #131 (257Byte) #132
- 30515f8: Refactor logger format strings (257Byte) #132
- 1650351: Add tzkt sync tests (257Byte) #132
- 4a769b1: Add domains indexing and API, close #109 (257Byte) #132
- b1d4cda: Add fetching multiple accounts and contracts by addresses (257Byte) #132
- 0face27: Workaround for ghostnet bugs (257Byte) #132
- e41d587: Update docker-compose for lima, add docker file for Tzkt.Sync.Tests (#133) (dmirgaleev) #132
- a44e65a: Update README.md (Maksim Strebkov)
- 9e28cb6: v1.11.0 (257Byte)
v1.10.3
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
v1.10.2
v1.10.1
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
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
id
s of all operation types, tokens, token transfers, and token balances was changed tolong
, instead ofint
; - Contract model:
- fields
tokensCount
,increasePaidStorageCount
, andeventsCount
were added.
- fields
- Delegate model:
- fields
increasePaidStorageCount
andvdfRevelationsCount
were added.
- fields
- User model:
- field
increasePaidStorageCount
was added.
- field
- ContractInterface model:
- field
events
was added.
- field
- Block model:
- fields
VdfRevelations
andIncreasePaidStorageOps
were added.
- fields
- Protocol model:
- field
dictator
was added.
- field
- Transaction operation model:
- field
eventsCount
was added.
- field
- Token model:
- field
firstMinter
was added.
- field
- Voting period model:
- field
dictator
was added.
- field
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
, andRevelationPenaltyOps
; - column
SubId
was added to theTransactionOps
,OriginationOps
, andMigrationOps
tables; - column
EventsCount
was added to theTransactionOps
table; - columns
Id
(int32) andRevelationId
(int32) were altered to (int64) in theBlocks
table; - columns
TransactionId
(int32),OriginationId
(int32), andMigrationId
(int32) were altered to (int64) in theBigMapUpdates
table; - columns
TransactionId
(int32),OriginationId
(int32), andMigrationId
(int32) were altered to (int64) in theStorages
table; - columns
OriginationId
(int32) andMigrationId
(int32) were altered to (int64) in theScripts
table; - column
Id
(int32) was altered to (int64) in theTokens
table; - columns
Id
(int32) andTokenId
(int32) were altered to (int64) in theTokenBalances
table; - columns
Id
(int32),TokenId
(int32),TransactionId
(int32),OriginationId
(int32), andMigrationId
(int32) were altered to (int64) in theTokenTransfers
table; - column
IndexedAt
was added to theTokens
,TokenBalances
, andTokenTransfers
tables; - column
FirstMinterId
was added to theTokens
table; - columnt
Dictator
was added to theProtocols
andVotingPeriods
tables; - columns
IncreasePaidStorageCount
,VdfRevelationsCount
, andEventsCount
were added to theAccounts
table; - columns
EventCounter
,IncreasePaidStorageOpsCount
,VdfRevelationOpsCount
, andEventsCount
were added to theAppState
table; - columns
TokenCounter
andTokenBalanceCounter
were removed from theAppState
table; - column
OperationCounter
(int32) was altered to (int64) in theAppState
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
toconsumed_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 theToken
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
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
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
v1.9.1
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
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
, andTransferTicketCount
were added.
- [breaking] field
- Block model:
- [breaking] field
lbEscapeVote
was replaced withlbToggle
; - [breaking] field
lbEscapeEma
was replaced withlbToggleEma
; - fields
transferTicketOps
,txRollupCommitOps
,txRollupDispatchTicketsOps
,txRollupFinalizeCommitmentOps
,txRollupOriginationOps
,txRollupRejectionOps
,txRollupRemoveCommitmentOps
,txRollupReturnBondOps
,txRollupSubmitBatchOps
were added.
- [breaking] field
- Home model:
- [breaking] field
rolls
was replaced withvotingPower
; - [breaking] field
rollsPercentage
was replaced withvotingPowerPercentage
.
- [breaking] field
- Ballot operation model:
- [breaking] field
rolls
was replaced withvotingPower
.
- [breaking] field
- Proposal operation model:
- [breaking] field
rolls
was replaced withvotingPower
.
- [breaking] field
- Protocol model:
- [breaking] field
lbEscapeThreshold
was replaced withlbToggleThreshold
; - fields
txRollupOriginationSize
andtxRollupCommitmentBond
were added.
- [breaking] field
- Statistics model:
- field
TotalRollupBonds
was added.
- field
- Proposal model:
- [breaking] field
rolls
was replaced withvotingPower
.
- [breaking] field
- Voter snapshot model:
- [breaking] field
rolls
was replaced withvotingPower
.
- [breaking] field
- Voting period model:
- [breaking] field
totalRolls
was replaced withtotalVotingPower
; - [breaking] field
topRolls
was replaced withtopVotingPower
; - [breaking] field
yayRolls
was replaced withyayVotingPower
; - [breaking] field
nayRolls
was replaced withnayVotingPower
; - [breaking] field
passRolls
was replaced withpassVotingPower
.
- [breaking] field
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 toVotingPower
(int64) in theBallotOps
table; - column
Rolls
(int32) was altered toVotingPower
(int64) in theProposalOps
table; - column
Rolls
(int32) was altered toVotingPower
(int64) in theProposals
table; - column
Rolls
(int32) was altered toVotingPower
(int64) in theVotingSnapshots
table; - column
TotalRolls
(int32) was altered toTotalVotingPower
(int64) in theVotingPeriods
table; - column
TopRolls
(int32) was altered toTopVotingPower
(int64) in theVotingPeriods
table; - column
YayRolls
(int32) was altered toYayVotingPower
(int64) in theVotingPeriods
table; - column
NayRolls
(int32) was altered toNayVotingPower
(int64) in theVotingPeriods
table; - column
PassRolls
(int32) was altered toPassVotingPower
(int64) in theVotingPeriods
table; - column
TotalRollupBonds
was added to theStatistics
table; - column
ContractId
was added to theTokenTransfers
table; - column
ContractId
was added to theTokenBalances
table; - columns
SenderCodeHash
andTargetCodeHash
were added to theTransactionOps
table; - columns
SenderCodeHash
andContractCodeHash
were added to theOriginationOps
table; - column
SenderCodeHash
was added to theDelegationOps
table; - column
LBEscapeThreshold
was altered toLBToggleThreshold
(with precision of 1000000, intead of 1000) in theProtocols
table; - columns
TxRollupOriginationSize
andTxRollupCommitmentBond
were added to theProtocols
table; - column
LBEscapeVote
(bool) was altered toLBToggle
(bool?) in theBlocks
table; - column
LBEscapeEma
was altered toLBToggleEma
(with precision of 1000000, intead of 1000) in theBlocks
table; - columns
TxRollupOriginationOpsCount
,TxRollupSubmitBatchOpsCount
,TxRollupCommitOpsCount
,TxRollupFinalizeCommitmentOpsCount
,TxRollupRemoveCommitmentOpsCount
,TxRollupReturnBondOpsCount
,TxRollupRejectionOpsCount
,TxRollupDispatchTicketsOpsCount
, andTransferTicketOpsCount
were added to theAppState
table; - colums
RollupBonds
,RollupsCount
,TxRollupOriginationCount
,TxRollupSubmitBatchCount
,TxRollupCommitCount
,TxRollupReturnBondCount
,TxRollupFinalizeCommitmentCount
,TxRollupRemoveCommitmentCount
,TxRollupRejectionCount
,TxRollupDispatchTicketsCount
, andTransferTicketCount
were added to theAccounts
table.
Changes in the configuration
ResponseCache.CacheSize
(sets max size of the output cache in MB) was added to the API config.
Commits
- 91cd419: Remove token transfers from the account op flow (257Byte)
- b263fb7: Add response caching (dmirgaleev) #106
- 790e86b: Cache JsonSerialization fix (#112) (dmirgaleev) #112
- aa85a45: Ensure contract code is an array (257Byte)
- 3bd032d: Add logs for cache used stats (257Byte)
- 7d19181: Jakarta scaffold (257Byte) #114
- 8bc6020: Use lazy_storage_diff instead of deprecated big_map_diff (257Byte) #114
- 844c1df: Rework voting power (257Byte) #114
- 94abbc8: Rework liquidity baking (257Byte) #114
- f8e7e23: Migrate voting listings (257Byte) #114
- 38f2f58: Add initial_seed parameter handling (257Byte) #114
- dc88700: Rework sampler initialization (257Byte) #114
- f0ce039: Minor fixes (257Byte) #114
- 38d0db6: Add 9 new operation types (257Byte) #114
- 9757e84: Update patched contracts (257Byte) #114
- 9303b08: Add some redundant fields for queries optimization (257Byte) #114
- 022c191: Disable internal delegation validation (257Byte) #114
- ed6bd7e: Update API models (257Byte) #114
- 0c4a0bd: Add new operation types (257Byte) #114
- 3aead9e: Enable automatic decompression (257Byte) #114
- 26897e8: Reset DB migrations (257Byte) #114
- bca1c8a: v1.9.0 (257Byte) #114