diff --git a/cmd/mempool/models/reveal.go b/cmd/mempool/models/reveal.go index 52c1f58..b282122 100644 --- a/cmd/mempool/models/reveal.go +++ b/cmd/mempool/models/reveal.go @@ -18,4 +18,4 @@ type Reveal struct { // comment:"A cap on the amount of gas a given operation can consume."` // comment:"A cap on the amount of storage a given operation can consume."` // comment:"Address of the account who has sent the operation."` // DISCUSS -// comment:"Smart rollup to which the operation was sent."` +// comment:"Address of the rollup to which the operation was sent."` diff --git a/cmd/mempool/models/tx_rollup_commit.go b/cmd/mempool/models/tx_rollup_commit.go index b764fe1..f17477e 100644 --- a/cmd/mempool/models/tx_rollup_commit.go +++ b/cmd/mempool/models/tx_rollup_commit.go @@ -6,12 +6,12 @@ type TxRollupCommit struct { tableName struct{} `pg:"tx_rollup_commit"` 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:"tx_rollup_commit_source_idx"` - Rollup string `json:"rollup,omitempty" index:"tx_rollup_commit_rollup_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:"tx_rollup_commit_source_idx" comment:"Address of the account who has sent the operation."` // DISCUSS + Rollup string `json:"rollup,omitempty" index:"tx_rollup_commit_rollup_idx" comment:"Address of the rollup to which the operation was sent."` } // SetMempoolOperation -