Skip to content

Commit

Permalink
Update types/context.go
Browse files Browse the repository at this point in the history
Signed-off-by: yihuang <[email protected]>
  • Loading branch information
yihuang authored Jul 12, 2024
1 parent 0211c68 commit 3ff3dff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ type Context struct {
// sum the gas wanted by all the transactions in the current block, only accessible by end blocker
blockGasWanted uint64

// incarnationCache is shared between multiple incranations of the same transaction.
// incarnationCache is shared between multiple incarnations of the same transaction,
// it must only cache stateless computation results, like the result of tx signature verification.
incarnationCache map[string]any
}

Expand Down

0 comments on commit 3ff3dff

Please sign in to comment.