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 6748b006b7
commit 89caccd4e0
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)
}