Closed gnarula closed 4 years ago
I don't think uuid.UUID
is exposed directly to the users - the end users would always deal with types like ServerIdentityID
and the methods defined on it.
Under the hood, both dependencies share the same representation and conform to the same spec: https://github.com/satori/go.uuid/blob/b2ce2384e17bbe0c6d34077efa39dbab3e09123b/uuid.go#L37 and https://github.com/google/uuid/blob/0e4e31197428a347842d152773b4cace4645ca25/uuid.go#L19
Did you try to compile dedis/cothority
using these changes?
So I can compile dedis/cothority
with these changes - so it should be OK...
@ineiti it builds fine but I'm getting some test failures on dedis/cothority
which I'm looking into
router.go:215 (network.(*Router).Start.func1) - receiving server identity from "" failed: Error while receiving ServerIdentity during negotiation receiving: [::1]:64212 sends too big packet: 1195725856>10485760
Edit: Nvm, getting it irrespective of this change :/
Edit: Nvm, getting it irrespective of this change :/
Which test is that?
Edit: Nvm, getting it irrespective of this change :/
Which test is that?
blscosi.TestClient_SignatureRequest
, blscosi.TestService_SignatureRequest
byzcoin.TestClient_NoPhantomSkipchain
,contracts.TestDeferred_ExpireBlockIndex
, calypso.TestClient_Authorize
blscosi.TestClient_SignatureRequest
,blscosi.TestService_SignatureRequest
byzcoin.TestClient_NoPhantomSkipchain
,contracts.TestDeferred_ExpireBlockIndex
,calypso.TestClient_Authorize
Here the error disappears if I run them individually - can you confirm that? Else we'll need to open an issue for this...
blscosi.TestClient_SignatureRequest
,blscosi.TestService_SignatureRequest
byzcoin.TestClient_NoPhantomSkipchain
,contracts.TestDeferred_ExpireBlockIndex
,calypso.TestClient_Authorize
Here the error disappears if I run them individually - can you confirm that? Else we'll need to open an issue for this...
Same here, errors disappear if I run the tests individually
So I think this should go in.
Replaces the uuid dependency to google/uuid which is actively maintained and uses go.mod
Closes #660