Skip to content

Commit

Permalink
Added doc-comments for TxRollupOrigination.
Browse files Browse the repository at this point in the history
  • Loading branch information
vvuwei committed Jun 28, 2023
1 parent 0692b79 commit 9986959
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/mempool/models/tx_rollup_origination.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down

0 comments on commit 9986959

Please sign in to comment.