Archway Constantine测试网合约存储失败问题排查
Archway Constantine测试网存储合约手续费不足问题分析
你在Archway Constantine测试网存储合约时遇到以下错误日志:
"raw_log":"tx fee 1538583aconst is less than min fee: 5538898800000000000aconst: insufficient fee"
使用的命令为:
RES=$(archwayd tx wasm store artifacts/cw_nameservice.wasm --from mywallet --node https://rpc.constantine.archway.tech:443 --chain-id constantine-3 --gas-prices 0.25aconst --gas auto --gas-adjustment 1.3 -y --output json -b block)
可能的原因如下:
- gas价格设置过低:你指定的
--gas-prices 0.25aconst远低于当前网络要求的费率标准,导致最终计算出的总手续费(gas用量×gas价格)达不到链上设定的最低手续费阈值。 - gas自动估算不准确:
--gas auto的估算结果可能低估了存储合约所需的实际gas用量,即便加上1.3倍的调整系数,最终的手续费仍未满足要求。存储Wasm合约属于高gas消耗操作,自动估算容易出现偏差。 - 链上存在硬性手续费门槛:Constantine-3测试网可能针对Wasm合约存储这类特定操作设置了最低手续费要求,你的交易手续费未达到该硬性标准。
内容的提问来源于stack exchange,提问作者user22306396
相关产品推荐
相关产品推荐

