General notes
- Paris protocol was implemented;
- more FA tokens are supported as more edge cases are handled;
- default indexes were optimized for better indexing performance;
- minor improvements and bugfixes.
To update from v1.13.*
to v1.14.0
you should drop the indexer database and restore it from the latest snapshot, or reindex from scratch. This is due to changes, that make automatic DB migration too complicated.
Changes in the API endpoints
- [BREAKING]
/accounts/{address}/balance_history/*
now has specific behavior: for non-baker tz-accounts it doesn't take into account historical staked tez when calculating historical balances, because stakers do not really have staked tez on their balance, they have staking pseudotokens instead. If you want to get a full historical balance, including staked tez, use the Tezos node RPC:/chains/main/blocks/{level}/context/contracts/{address}/full_balance
; - [BREAKING]
/cycles
no longer supports the query parametersnapshotIndex
, because the cycle model doesn't contain that field anymore; /operations/set_delegate_parameters
was added;/operations/dal_publish_commitment
was added;/smart_rollups/{address}/entrypoints
was added;/staking/unstake_requests
was added;/staking/updates
was added.
Changes in the API models
Tokens, tickets and operations:
- [BREAKING] internal IDs of operations (and therefore tokens, token balances, token transfers, tickets, ticket balances, ticket transfers) happened after Oxford upgrade were changed, because of different autostaking operations processing, so if you store those IDs locally, make sure to reindex them.
Delegates:
- [BREAKING] field
stakedPseudotokens
was removed, because bakers do not have staked pseudotokens; - [BREAKING] field
issuedPseudotokens
now has typeBigInteger
instead ofInt64
; - [BREAKING] field
lostBalance
was renamed toroundingError
; - fields
stakingUpdatesCount
,setDelegateParametersOpsCount
, anddalPublishCommitmentOpsCount
were added.
Users:
- [BREAKING] field
stakedPseudotokens
now has typeBigInteger
instead ofInt64
; - [BREAKING] field
lostBalance
was removed; - fields
stakingUpdatesCount
,setDelegateParametersOpsCount
, anddalPublishCommitmentOpsCount
were added.
Baker rewards:
- [BREAKING] field
blockRewardsLiquid
was renamed toblockRewardsDelegated
; - [BREAKING] field
endorsementRewardsLiquid
was renamed toendorsementRewardsDelegated
; - [BREAKING] field
vdfRevelationRewardsLiquid
was renamed tovdfRevelationRewardsDelegated
; - [BREAKING] field
nonceRevelationRewardsLiquid
was renamed tononceRevelationRewardsDelegated
; - field
delegatedBalance
returns delegated balance at the end of the cycle, instead of minimal-over-cycle value, which is used for rights distribution. Read more here; - fields
blockRewardsStakedEdge
,endorsementRewardsStakedEdge
,vdfRevelationRewardsStakedEdge
andnonceRevelationRewardsStakedEdge
were added.
Delegator rewards:
- same changes as for baker rewards, described above.
Rewards split:
- same changes as for baker rewards, described above.
Rewards split delegator:
- [BREAKING] fields
currentDelegatedBalance
andcurrentStakedBalance
were deprecated. Since they were used only for checking whether or not the delegator is currently emptied, you can use the fieldemptied
instead.
Cycles:
- [BREAKING] field
snapshotIndex
was deprecated, usesnapshotLevel
instead; - [BREAKING] field
lbSubsidy
was deprecated.
Blocks and baking operations:
- [BREAKING] field
rewardLiquid
was renamed torewardDelegated
; - [BREAKING] field
bonusLiquid
was renamed tobonusDelegated
; - fields
rewardStakedEdge
andbonusStakedEdge
were added.
Autostaking operations:
- [BREAKING] field
cycle
was deprecated; - field
stakingUpdatesCount
was added.
Delegation operations:
- [BREAKING] fields
unstakedPseudotokens
,unstakedBalance
, andunstakedRewards
were deprecated; - field
stakingUpdatesCount
was added.
Double baking/endorsing/preendorsing operations:
- [BREAKING] field
roundingLoss
was deprecated; - field
stakingUpdatesCount
was added.
Endorsing reward and nonce/vdf revelation operations:
- [BREAKING] field
rewardLiquid
was renamed torewardDelegated
; - field
rewardStakedEdge
was added.
Staking operations:
- [BREAKING] field
kind
was renamed toaction
; - [BREAKING] fields
pseudotokens
,limitOfStakingOverBaking
,edgeOfBakingOverStaking
, andactivationCycle
were deprecated; - fields
requestedAmount
andstakingUpdatesCount
were added.
Protocols:
- field
version
was added.
Protocol constants:
- field
preservedCycles
was deprecated and replaced with the new two fieldsconsensusRightsDelay
anddelegateParametersActivationDelay
.
Smart rollup inbox messages:
- field
index
was added.
Changes in the WebSocket API:
- new operation types are available in the operations subscription.
Changes in the DB schema
Basically, DB schema has almost the same changes as the API models, described above.
For more details check out the full diffs at Tzkt.Data/Models/ here.
Commits
- 9e87ff5: Add Paris protocol (Maksim Strebkov) #171
- d89b2b5: Index parameter type for smart rollups (Maksim Strebkov) #171
- 13b2e99: Index voting snapshots for waiting periods as well (Maksim Strebkov) #171
- c347346: Add version number to the protocol model (Maksim Strebkov) #171
- 3d65672: Add non-root ledgers support (Maksim Strebkov) #171
- c00a973: Add inbox message index (Maksim Strebkov) #171
- 60ab3ad: Improve indexes, close #151 (Maksim Strebkov) #171
- 9f46ff2: Use AI for home stats calculation (Maksim Strebkov) #171
- f03b15f: Add version to the protocol API model, update sr constants. (Maksim Strebkov) #171
- bf2078b: Update dependencies (Maksim Strebkov) #171
- e670d34: Expose smart rollup entrypoints via API (257Byte) #171
- 81d7758: Expose inbox message index (Maksim Strebkov) #171
- b16ca5b: Add ParisB 2 (Maksim Strebkov) #171
- 5338801: Add Paris docker-compose (dm) #171
- 77a33e4: Update
VotingPeriod
API model (Maksim Strebkov) #171 - b401fe8: Explicit numeric conversion (Maksim Strebkov) #171
- c07d3ef: Register chain id for ParisB 2 (Maksim Strebkov) #171
- ae997e3: v1.14.0 (Maksim Strebkov)