Deploy: Treasury funding fails — script requests more uluna/uusd than test1 holds #29
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#29
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Environment: LocalTerra, fresh deploy via deploy-dex-local.sh\n\nSteps to Reproduce:\n1. Run bash scripts/deploy-dex-local.sh\n2. Observe Phase 1b step [9b.10]\n\nExpected: Treasury funded with 10,000,000 LUNC + 40,000,000 USTC.\n\nGot:\n
\nspendable balance 986491000000uluna is smaller than 10000000000000uluna: insufficient funds\n\n\ntest1 starts with ~1T uluna but prior steps (gas fees, wasm uploads) consume ~14B, leaving ~986B. Script requests 10T uluna (10,000,000 LUNC). uusd also fails — test1 has 10T uusd but script requests 40T.\n\nSuggested fix: Reduce funding amounts to fit within test1 post-deploy balance, e.g. 500,000 LUNC + 5,000,000 USTC. Or increase test1 genesis balance.mentioned in commit
86f148dcd8Fixed in
86f148d— genesis balances for test1 bumped from 1T uluna / 10T uusd to 100T uluna / 100T uusd, so the treasury funding step (10T uluna + 40T uusd) now fits comfortably.@Brouie please pull main and recreate the chain (
make reset && make start) before re-running the deploy script, since the existing chain volume still has the old genesis baked in.mentioned in issue #26