From 99869598846d48e7376d29445650c544a3612c1f Mon Sep 17 00:00:00 2001 From: Lavysh Alexander Date: Wed, 28 Jun 2023 21:05:32 +0300 Subject: [PATCH] Added doc-comments for TxRollupOrigination. --- cmd/mempool/models/tx_rollup_origination.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/mempool/models/tx_rollup_origination.go b/cmd/mempool/models/tx_rollup_origination.go index ee96a70..1f1ea88 100644 --- a/cmd/mempool/models/tx_rollup_origination.go +++ b/cmd/mempool/models/tx_rollup_origination.go @@ -6,11 +6,11 @@ type TxRollupOrigination struct { tableName struct{} `pg:"tx_rollup_origination"` MempoolOperation - Fee int64 `json:"fee,string"` - Counter int64 `pg:",pk" json:"counter,string"` - GasLimit int64 `json:"gas_limit,string"` - StorageLimit int64 `json:"storage_limit,string"` - Source string `json:"source,omitempty" index:"ttx_rollup_origination_source_idx"` + Fee int64 `json:"fee,string" comment:"Fee to the baker, produced block, in which the operation was included (micro tez)."` // DISCUSS + Counter int64 `pg:",pk" json:"counter,string" comment:"An account nonce which is used to prevent operation replay."` + GasLimit int64 `json:"gas_limit,string" comment:"A cap on the amount of gas a given operation can consume."` + StorageLimit int64 `json:"storage_limit,string" comment:"A cap on the amount of storage a given operation can consume."` + Source string `json:"source,omitempty" index:"ttx_rollup_origination_source_idx" comment:"Address of the account who has sent the operation."` // DISCUSS } // SetMempoolOperation -