Skip to content

Commit

Permalink
adding more codecs
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Dec 22, 2023
1 parent 967b458 commit b239791
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libp2p/cid.nim
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ const
multiCodec("codex-manifest"),
multiCodec("codex-block"),
multiCodec("codex-slot-root"),
multiCodec("codex-proving-root")
multiCodec("codex-proving-root"),
multiCodec("codex-slot-cell"),
]

proc initCidCodeTable(): Table[int, MultiCodec] {.compileTime.} =
Expand Down
1 change: 1 addition & 0 deletions libp2p/multicodec.nim
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ const MultiCodecList = [
("codex-root", 0xCD03),
("codex-slot-root", 0xCD04),
("codex-proving-root", 0xCD05),
("codex-slot-cell", 0xCD06),
]

type
Expand Down

0 comments on commit b239791

Please sign in to comment.