fix(frontend): retail gas inventory guardrail and faucet drip (#475) #1015
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!1015
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/475-gas-limit-audit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
executeTerraContract*shapes vsgetGasLimitForTxand add CI inventory fixtures (terraGasRetailInventory.ts, invariants G-RETAIL-1 / G-RETAIL-2).{ drip }→FAUCET_DRIP_GAS_LIMIT(400k) (also closes #474).send→ innerunwraptoUNWRAP_GAS_LIMIT(was legacySWAP_GAS_LIMIT).BASE_GAS_LIMIT_ALLOWLISTfor intentional 200k (increase_allowance/decrease_allowanceonly) + DEVconsole.warnon unmapped fallback.make verify-issue-475.Closes #475
Closes #474
Test plan
terraGas.retailShapes,terraGas.feeDiscount,transactionsgas casesmake verify-issue-475(unit + constant floor; live LocalTerra drip SKIP until faucet redeploy)make verify-issue-475for livegas_used < 400k/mintdrip after Coolify rebuildChecklist for reviewers
RETAIL_GAS_SHAPE_FIXTURESdripno longer returnsBASE_GAS_LIMITAGENTS_TERRACLASSIC_GAS.md/ faucet skill updatedmentioned in issue #475
mentioned in commit
b598b37758