refactor: enhance quota handling and logging for pre-consume operations

This commit is contained in:
CaIon
2025-08-14 21:30:03 +08:00
parent c9e9a24e99
commit 112de0b6a6
4 changed files with 58 additions and 7 deletions

5
common/quota.go Normal file
View File

@@ -0,0 +1,5 @@
package common
func GetTrustQuota() int {
return int(10 * QuotaPerUnit)
}