Add getMerkleProofForFile
This commit is contained in:
parent
9edcc2e897
commit
d8422de94e
@ -1414,6 +1414,10 @@ export default class Services {
|
||||
return this.sdkClient.hash_value(fileBlob, commitedIn, label);
|
||||
}
|
||||
|
||||
public getMerkleProofForFile(processState: ProcessState, attributeName: string): MerkleProofResult {
|
||||
return this.sdkClient.get_merkle_proof(processState, attributeName);
|
||||
}
|
||||
|
||||
public getLastCommitedState(process: Process): ProcessState | null {
|
||||
if (process.states.length === 0) return null;
|
||||
const processTip = process.states[process.states.length - 1].commited_in;
|
||||
|
Loading…
x
Reference in New Issue
Block a user