-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -216,7 +216,7 @@ test_expect_success 'handle multipart/form-data http request' ' | |
' | ||
|
||
# subdomain gateway at *.p2p.example.com requires PeerdID in base32 | ||
RECEIVER_ID_CIDv1=$( ipfs cid format -v 1 -b b --codec libp2p-key -- $RECEIVER_ID) | ||
RECEIVER_ID_CIDv1=$( ipfs cid format -v 1 --codec libp2p-key -b base36 -- $RECEIVER_ID) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
aschmahmann
Contributor
|
||
|
||
# OK: $peerid.p2p.example.com/http/index.txt | ||
test_expect_success "handle http request to a subdomain gateway" ' | ||
|
Hmmmm since we are going "full speed ahead" on keys being b36. Shouldn't the
-b
be implied now?That is it should be enough to say
ipfs cid format --codec libp2p-key
to get the expected canonical version@aschmahmann @petar thoughts?