Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/release-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,15 @@ jobs:
- name: Compress binary
run: tar -czf dmq-node-linux.tar.gz result/bin/dmq-node

- name: Checksums
run: |
sha256sum dmq-node-linux.tar.gz >> "dmq-node-linux.tar.gz.sha256sum.txt"

- name: Release
uses: input-output-hk/action-gh-release@v1
with:
draft: true
name: "Release dmq-node-${{ github.ref_name }}"
files: |
dmq-node-linux.tar.gz
dmq-node-linux.tar.gz.sha256sum.txt
17 changes: 12 additions & 5 deletions dmq-node/src/DMQ/Protocol/SigSubmission/Type.hs
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,18 @@ data Sig crypto = SigWithBytes {
-- ^ the `SigRaw` data type along with signed bytes
}

deriving instance ( DSIGNAlgorithm (KES.DSIGN crypto)
, Show (VerKeyKES (KES crypto))
, Show (SigKES (KES crypto))
)
=> Show (Sig crypto)
-- TODO: this show instance is too minimal. Proper `Show` instance is useful
-- in `QuickCheck` tests. This minimal instance is for example
-- useful in `TraceTxLogic` tracer..
--
instance Show (Sig crypto) where
show Sig { sigId } = "Sig { sigId = \"" ++ show (getSigId sigId) ++ "\" }"

-- deriving instance ( DSIGNAlgorithm (KES.DSIGN crypto)
-- , Show (VerKeyKES (KES crypto))
-- , Show (SigKES (KES crypto))
-- )
-- => Show (Sig crypto)
deriving instance ( DSIGNAlgorithm (KES.DSIGN crypto)
, Eq (VerKeyKES (KES crypto))
, Eq (SigKES (KES crypto))
Expand Down
Loading