Open cazala opened 3 years ago
I'm pretty sure the issue is because we are not using the identity
(which holds the type of signature in the auth chain, in this case ECDSA_EIP_1654_EPHEMERAL
) to sign the entity send to the content server.
This is how we sign an entity when we deploy a scene (which works fine with Dapper): https://github.com/decentraland/builder/blob/master/src/modules/deployment/contentUtils.ts#L117
And this is how we sign the profile entity (which doesn't work with Dapper): https://github.com/decentraland/builder/blob/master/src/modules/ens/sagas.ts#L131
When signing the message to upload the new profile entity to the content server (
POST https://peer.decentraland.org/content/entities
), it responds with a 500:The signature is invalid. ERROR. Link type: ECDSA_SIGNED_ENTITY. signature length is invalid.