事务失败:proto.003-PsddFKi3.storage_exhausted.operation
1 个回答
- 投票数
-
- 2019-03-04
我收到了proto.003-PsddFKi3.storage_exhausted.operation错误,因为我使用的是storage_limit:0,并且我假设因为我是在向区块链"发布"一个新帐户,所以我需要付费需要的存储空间.通过将storage_limit更改为10000,错误消失了,并且事务通过了.
然后,我想知道为什么我的新帐户没有显示.我记得昨天遇到的麻烦是,使用sendOperation会自动处理显示和计数器.因此,我继续尝试从新帐户发送少量的Tezzies,并且成功了!
现在,我只需要了解有关storage_limits的更多信息,以及如何知道在发送操作时对该属性使用哪个数字.
I was getting the proto.003-PsddFKi3.storage_exhausted.operation error because I was using storage_limit: 0, and I am assuming that because I am "publishing" a new account to the blockchain, I need to pay a fee for the storage required. By changing the storage_limit to 10000 the error went away, and the transaction went through.
Then I was wondering why my new account is not revealed. I remember from my troubles yesterday that using the sendOperation handles the revealing and counter automatically. So I went ahead and tried to send a small amount of tezzies from the new account, and it worked!
Now I just need to learn more about storage_limits and how to know what number to use for that property when sending an operation.
-
这是一个很好的指南,可根据以下条件进行限制:https://github.com/TezTech/eztz/blob/master/PROTO_003_FEES.mdThis is a good guide to base your limits on: https://github.com/TezTech/eztz/blob/master/PROTO_003_FEES.md
- 1
- 2019-03-04
- AKISH
-
谢谢,这是非常有帮助的.我从实验中注意到,只要将storage_limit设置为257(发送到无效的隐式帐户所需的金额),它并不会真正影响我的费用.我错了吗?如果这是真的,那么对我来说总是使用257会更简单,这样无论目的地是否处于活动状态,发送都将有效.Thanks, this is very helpful. I noticed from my experiments that it doesn't really affect my fees if I just set the storage_limit to 257, the required amount to send to a inactive implicit account. Am I wrong? If this is true, it would be much simpler for me to always use 257 so that sends will work whether the destination is active or not.
- 0
- 2019-03-04
- Michael Rodriguez
-
是的,应该是正确的.这是一个限制,因此可以防止您做某些意料之外的事情.Yeah that should be correct. It is a limit so is there to prevent you from doing something that you may not have anticipated.
- 1
- 2019-03-05
- AKISH
-
谢谢!我知道您是sotez的开发人员/维护人员?感谢您向Wiki添加示例.这将对未来的开发者有用.一个项目的荣誉做得好!Thanks! I gather you're the developer/maintainer of sotez? Thanks for adding examples to the wiki. That will prove useful to future devs. Kudos for a project well done!
- 0
- 2019-03-06
- Michael Rodriguez
我正在尝试将我从Alphanet水龙头激活的帐户(tz1htPf3VPXrHBTX1E7y3tBteib6hA9Teosj)发送到使用generateKeys(助记符,密码)(tz1VVeF3DUFGydahfawXFN47eSra9G1x2)创建的帐户.
使用相同的发送方法,我可以发送到已知的Tezos地址(例如tz3WXYtyDUNL91qfiCJtVUX746QpNv5i5ve5),但是当我尝试发送到自己创建的地址时,我会返回状态:"回溯",错误为>
搜索此错误会显示以下定义:
我不确定从这里去哪里,或者如何解决它.我会说,我创建的帐户在tzscan上显示为未公开,但是我不知道如何显示它,因为它没有任何资金来支付显示操作的费用.它是否没有激活甚至是失败的原因?还是我需要查看其他内容?
失败的交易此处创建的地址.
编辑: 我确实尝试使用以下代码来揭示新帐户,但它会无限期地挂起,没有结果或错误: