Skip to content

Conversation

@zsculac
Copy link
Contributor

@zsculac zsculac commented Feb 10, 2026

Note

Medium Risk
Adds a new on-chain balance check and throws earlier during publishing; low complexity but touches token-spend gating and introduces a human-readable conversion that could mislead if token decimals differ.

Overview
Bumps the library version to 8.2.4.

When creating a knowledge collection, the flow now checks the sender’s TRAC balanceOf before attempting to approve/increase allowance (when no paymaster is used). If the wallet balance is below requestData.tokenAmount, it fails fast with a clearer “insufficient TRAC” error message instead of proceeding to an approval call.

Written by Cursor Bugbot for commit 7c4f437. This will update automatically on new commits. Configure here.

@zsculac zsculac changed the title Fix/approve called without sufficient trac Fix for approve called without sufficient trac Feb 10, 2026
@zsculac zsculac merged commit b4af128 into v8/develop Feb 11, 2026
5 checks passed
@zsculac zsculac deleted the fix/approve-called-without-sufficient-TRAC branch February 11, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants