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