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