f-o-a-m / kepler

A Haskell framework that facilitates writing ABCI applications
https://kepler.dev
Apache License 2.0
34 stars 10 forks source link

Add Nonce #187

Closed IvantheTricourne closed 4 years ago

IvantheTricourne commented 4 years ago

Closes #183

IvantheTricourne commented 4 years ago

But, for some reason, the Tx nonce is always 0.

EDIT: Fixed. Nonce updating should only happen during DeliverTx. Checking (i.e., throwing exceptions from checking the nonce) only happens during CheckTx