Skip to content

Commit 3ac85dd

Browse files
authored
Merge pull request #168 from paritytech/docs/deprecate-create-proof
docs: deprecate create_proof in favour of create_proof_authorized
2 parents c56df37 + eea6541 commit 3ac85dd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

rust/crates/truapi/src/api/statement_store.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ pub trait StatementStore: Send + Sync {
5858

5959
/// Create a proof for a statement.
6060
///
61+
/// **Deprecated:** use [`create_proof_authorized`](Self::create_proof_authorized)
62+
/// instead, which uses a pre-allocated allowance account and does not
63+
/// require a per-call signing prompt.
64+
///
6165
/// ```ts
6266
/// // Expiry packs a Unix-seconds timestamp in the high 32 bits; a day out
6367
/// // keeps the statement unexpired when it is submitted.

0 commit comments

Comments
 (0)