From e6a8306ff1a4328818f70eaeda26d1f962699137 Mon Sep 17 00:00:00 2001 From: Kyle Kingsbury Date: Wed, 4 Dec 2024 12:37:16 -0600 Subject: [PATCH] fix net.proto --- src/maelstrom/net.clj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/maelstrom/net.clj b/src/maelstrom/net.clj index ff21b1f..3a3c56f 100644 --- a/src/maelstrom/net.clj +++ b/src/maelstrom/net.clj @@ -5,6 +5,7 @@ [jepsen [core :as jepsen] [net :as net] [os :as os]] + [jepsen.net.proto :as net.proto] [maelstrom [util :as u]] [maelstrom.net [message :as msg] [journal :as j]] @@ -102,9 +103,9 @@ :next-message-id (atom -1)})) (defn jepsen-net - "A jepsen.net/Net which controls this network." + "A Jepsen network implementation which controls this virtual network." [net] - (reify net/Net + (reify net.proto/Net (drop! [_ test src dest] (swap! net update-in [:partitions dest] conj src))