Skip to content

Commit

Permalink
batchHash not lastBatchHash
Browse files Browse the repository at this point in the history
  • Loading branch information
gupadhyaya committed Sep 6, 2024
1 parent f797998 commit 430ed21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ go-sequencing defines a generic sequencing interface for modular blockchains
| Method | Params | Return |
| ------------- | -------------------------------------------------------- | --------------- |
| `SubmitRollupTransaction` | `context.Context`, `rollupId RollupId`, `tx Tx` | `error` |
| `GetNextBatch` | `context.Context`, `lastBatchHash Hash` | `batch Batch`, `error` |
| `VerifyBatch` | `context.Context`, `lastBatchHash Hash` | `success bool`, `error` |
| `GetNextBatch` | `context.Context`, `lastBatchHash Hash` | `batch Batch`, `timestamp Time` `error` |
| `VerifyBatch` | `context.Context`, `batchHash Hash` | `success bool`, `error` |

Note: `Batch` is []`Tx` and `Tx` is `[]byte`. Also `Hash` and `RollupId` are `[]byte`.

Expand Down

0 comments on commit 430ed21

Please sign in to comment.