Skip to content

Commit 765efc7

Browse files
authored
Merge pull request #5195 from IntersectMBO/coot/dmq-cip-137-update
dmq: using annotated codec and OCert from kes-agent library
2 parents 4d15509 + fbf2875 commit 765efc7

File tree

66 files changed

+1959
-901
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1959
-901
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444
ghc-version: ${{ matrix.ghc }}
4545
cabal-version: "3.12.1.0"
4646

47+
- name: Install system dependencies
48+
uses: input-output-hk/actions/base@latest
49+
with:
50+
use-sodium-vrf: true # default is true
51+
4752
- uses: actions/checkout@v5
4853

4954
- name: "Configure cabal.project.local"
@@ -131,6 +136,9 @@ jobs:
131136
if: runner.os != 'Windows'
132137
run: cabal run ouroboros-network:sim-tests -- +RTS -maxN2 -RTS
133138

139+
- name: dmq-node [test]
140+
run: cabal run dmq-node:dmq-test -- +RTS -maxN2 -RTS
141+
134142
# Uncomment the following back in for debugging. Remember to launch a `pwsh` from
135143
# the tmux session to debug `pwsh` issues. And be reminded that the `/msys2` and
136144
# `/msys2/mingw64` paths are not in PATH by default for the workflow, but tmate

cabal.project

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ packages: ./cardano-ping
3131
./ouroboros-network-testing
3232
./ntp-client
3333
./cardano-client
34-
./decentralized-message-queue
34+
./dmq-node
3535
./acts-generic
3636

3737
tests: True
@@ -59,3 +59,11 @@ package acts
5959
flags: -finitary
6060

6161
allow-newer: quickcheck-instances:QuickCheck
62+
63+
-- kes-agent is not yet in CHaP, so we pull it from its GitHub repo
64+
source-repository-package
65+
type: git
66+
location: https://github.com/input-output-hk/kes-agent
67+
tag: ebf8c0e480adf7b3ccd68bc7dd5b57f781f369ea
68+
--sha256: sha256-QIb6qgcwtO7aB9PUhZTHyKw50GV3ViXOakQvnR3HFIY=
69+
subdir: kes-agent-crypto

decentralized-message-queue/src/DMQ/Protocol/LocalMsgNotification/Codec.hs

Lines changed: 0 additions & 117 deletions
This file was deleted.

decentralized-message-queue/src/DMQ/Protocol/SigSubmission/Codec.hs

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)