Skip to content

Commit 8345c3f

Browse files
committed
Merge remote-tracking branch 'origin/master' into remove-ts-interface
2 parents 61ed144 + 69dab13 commit 8345c3f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Diff for: CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
(modification: no type change headlines) and this project adheres to
66
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## 0.4.4 - 2024-06-21
8+
## 0.4.5 - 2024-06-21
99

1010
- Remove duplicative `VerkleCrypto` typescript interface as unnecessary. [#55](https://github.com/ethereumjs/verkle-cryptography-wasm/pull/55)
1111

12+
## 0.4.4 - 2024-06-11
13+
14+
- Add `serializeCommitment` to to the public API, PR [#53](https://github.com/ethereumjs/verkle-cryptography-wasm/pull/53)
15+
1216
## 0.4.3 - 2024-06-03
1317

1418
- Add `hashCommitment` to the public API and add new test to demonstrate how to derive a

Diff for: src.ts/index.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ export const loadVerkleCrypto = async () => {
3333
const zeroCommitment = zeroCommitmentBase()
3434

3535
const hashCommitment = (commitment: Uint8Array) => verkleFFI.hashCommitment(commitment)
36+
const serializeCommitment = (commitment: Uint8Array) => verkleFFI.serializeCommitment(commitment)
3637
return {
3738
getTreeKey,
3839
getTreeKeyHash,
3940
updateCommitment,
4041
zeroCommitment,
4142
verifyExecutionWitnessPreState,
42-
hashCommitment
43+
hashCommitment,
44+
serializeCommitment
4345
}
4446
}
4547

0 commit comments

Comments
 (0)