Closed nelsonic closed 10 months ago
It's probably this line change:
https://github.com/dwyl/cid/commit/7c3e41bc9750ffbc31ae6b64f3f50ccfa6af928c
imgup
is failing because the CID that is being created is becoming base58BTC
instead of the previous base32
Indeed. base58
is preferable to base32
because it uses fewer characters to represent the same cid
. ๐ญ
Lowering the priority of this in light of the fact that https://github.com/dwyl/imgup/pull/122 is merged and on
main
of imgup
โ
We still want to confirm that cid
created in Dart
matches the one in Elixir
.
That is probably a T5m
task if you have the project open on your Mac
...
Running a locally created test on dart_cid
yields a correct response:
String input = 'hello';
final output = CID.createCid(input, Multibase.base32).cid;
expect(output == "bafkreibm6jg3ux5qumhcn2b3flc3tyu6dmlb4xa7u5bf44yegnrjhc4yeq", true);
00:01 +28: All tests passed!
Cool. As long as they match we're all good. ๐ ๐
@nelsonic can't find the repo for the Go
project. Where is it?
We have an issue with the build failing for our
imgup
app because thecid
(which is used as the filename) for the images uploaded toS3
has changed ... ๐ We need to:cid
created inElixir
is identical to the one created byGo
Dart
implementation ofcid
.This is as easy as: