Skip to content

Commit

Permalink
Merge pull request #113 from Vib-UX/patch-1
Browse files Browse the repository at this point in the history
fix: attestation with private-data `dataRoot` deprecated
  • Loading branch information
lbeder authored Aug 14, 2024
2 parents 330e559 + 99f17a9 commit 335d38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ const fullTree = privateData.getFullTree();

// Create an attestation with the Merkle root
const schemaEncoder = new SchemaEncoder('bytes32 privateData');
const encodedData = schemaEncoder.encodeData([{ name: 'dataRoot', value: fullTree.root, type: 'bytes32' }]);
const encodedData = schemaEncoder.encodeData([{ name: 'privateData', value: fullTree.root, type: 'bytes32' }]);

// Private data schema
const schemaUID = '0x20351f973fdec1478924c89dfa533d8f872defa108d9c3c6512267d7e7e5dbc2';
Expand Down

0 comments on commit 335d38d

Please sign in to comment.