-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR modifies the `LogEntry` type in `kore-rpc-types` in two ways: * add `origianlTerm` into `Rewrite` log entry constructor (and emit Nothing for now in Kore to retain the current behavior. This change is not necessary at the moment, but we may need to log these terms in future. * Add `Fallback` constructor to `LogEntry` to enable `kore-rpc-booster` to emit a trace when it falls back from Booster to Kore.
- Loading branch information
Showing
4 changed files
with
43 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module Kore.JsonRpc.Types.Depth (module Kore.JsonRpc.Types.Depth) where | ||
|
||
import Data.Aeson.Types (FromJSON (..), ToJSON (..)) | ||
import Numeric.Natural | ||
|
||
newtype Depth = Depth {getNat :: Natural} | ||
deriving stock (Show, Eq) | ||
deriving newtype (FromJSON, ToJSON, Num) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters