简体   繁体   English

rinkeby网络上sendRawTransaction的气体问题

[英]Gas issue on sendRawTransaction on the rinkeby network

I'm facing a gas issue on rinkeby network on sendRawTransaction . 我在sendRawTransaction上的rinkeby网络上sendRawTransaction天然气问题。

Tested with various gas value to experiment and getting either insufficient funds for gas * price + value or exceeds block gas limit. 测试了各种燃气价值以进行实验,并获得了不足的资金*燃气价格*价格+价值或超出了区块燃气限额。

Some more info: Gas Estimate: 32872 Balance: 1100000 Gwei gas: 87200

Any suggestions or anybody faced similar issue? 有什么建议或有人遇到类似的问题吗?

My code here: https://gist.github.com/anistark/2daf9295a4d5a03cb405ff5a47924b32 我的代码在这里: https : //gist.github.com/anistark/2daf9295a4d5a03cb405ff5a47924b32

The new private key is unrelated to the original address. 新的私钥与原始地址无关。 And it will have zero balance unless funded explicitely. 除非明确资助,否则余额将为零。

Solution: Extract the same private key instead. 解决方案:提取相同的私钥。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM