From 34998a77f1f8733644df5a69497572d892e5c79c Mon Sep 17 00:00:00 2001 From: Derek <256792747+decofe@users.noreply.github.com> Date: Mon, 18 May 2026 16:07:42 +0000 Subject: [PATCH 1/2] Use T3 remaining limit query --- src/client/tempo/signing/keychain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/tempo/signing/keychain.rs b/src/client/tempo/signing/keychain.rs index fea1edb5..bd9edcf1 100644 --- a/src/client/tempo/signing/keychain.rs +++ b/src/client/tempo/signing/keychain.rs @@ -64,12 +64,12 @@ pub async fn query_key_spending_limit( } let result = keychain - .getRemainingLimit(wallet_address, key_address, token) + .getRemainingLimitWithPeriod(wallet_address, key_address, token) .call() .await .mpp_http("failed to query remaining limit")?; - Ok(Some(result)) + Ok(Some(result.remaining)) } /// Resolve the spending limit for a token from a key authorization. From 418fe89ac6a3965904f0ffc2840840e9e6ba7446 Mon Sep 17 00:00:00 2001 From: Brendan Ryan <1572504+brendanjryan@users.noreply.github.com> Date: Mon, 18 May 2026 10:03:48 -0700 Subject: [PATCH 2/2] Update remaining limit query to latest Tempo T3 interface --- .changelog/dull-moons-wake.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changelog/dull-moons-wake.md diff --git a/.changelog/dull-moons-wake.md b/.changelog/dull-moons-wake.md new file mode 100644 index 00000000..8f33dedb --- /dev/null +++ b/.changelog/dull-moons-wake.md @@ -0,0 +1,5 @@ +--- +mpp: patch +--- + +Updated remaining limit query to latest Tempo T3 interface