Skip to content

Commit 143431b

Browse files
committed
Update README.md / CHANGELOG.md
1 parent 16ebeaf commit 143431b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ and this project adheres to
88

99
### Added
1010

11-
- cosmwasm-crypto: Add new crypto-related crate. Add `secp256k1_verify`, ECDSA
12-
secp256k1 signature verification scheme for Cosmos signature formats. ([#780])
11+
- cosmwasm-crypto: Add `ed25519_verify`, EdDSA ed25519 signature verification
12+
scheme for Tendermint signature and public key formats. ([#771])
13+
- cosmwasm-crypto: New crypto-related crate. Add `secp256k1_verify`, ECDSA
14+
secp256k1 signature verification scheme for Cosmos signature and public key
15+
formats. ([#780])
1316
- cosmwasm-vm: Add PinnedMemoryCache. ([#696])
1417
- cosmwasm-vm: The new `Cache::analyze` provides a static analyzis of the Wasm
1518
bytecode. This is used to tell the caller if the contract exposes IBC entry

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,11 @@ extern "C" {
139139
/// Returns 1 on verification success and 0 on failure.
140140
fn secp256k1_verify(message_hash_ptr: u32, signature_ptr: u32, public_key_ptr: u32) -> u32;
141141

142+
/// verifies a message against a signature with a public key, using the
143+
/// ed25519 EdDSA scheme.
144+
/// Returns 1 on verification success and 0 on failure.
145+
fn ed25519_verify(message_ptr: u32, signature_ptr: u32, public_key_ptr: u32) -> u32;
146+
142147
/// Executes a query on the chain (import). Not to be confused with the
143148
/// query export, which queries the state of the contract.
144149
fn query_chain(request: u32) -> u32;

0 commit comments

Comments
 (0)