If I go back to the commit before https://github.com/ethereum/go-ethereum/commit/19b2640e89465c1c57f1bbea0274d52d97151f60 I can broadcast transactions fine.
Even on the lastest commit https://github.com/ethereum/go-ethereum/commit/3274db19c7563e31f79418b63f6c10233cbaa32a it does not work.
Could you provide a curl or whatever else RPC call to too what doesn't work exactly (redacted is fine)? Maybe an error message to go along with it?
Okay, it's specifically transactions that deploy contracts that aren't being broadcast anymore.
If I run the following code in the Geth JS console no transaction is broadcast:
var accountkeyvalueContract = web3.eth.contract([{"constant":false,"inputs":[{"name":"key","type":"string"},{"name":"value","type":"bytes"}],"name":"valueSet","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"key","type":"string"}],"name":"valueDelete","outputs":[],"type":"function"},{"constant":true,"inputs":[{"name":"key","type":"string"}],"name":"valueGet","outputs":[{"name":"","type":"bytes"}],"type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"},{"name":"key","type":"string"}],"name":"valueGet","outputs":[{"name":"","type":"bytes"}],"type":"function"},{"anonymous":true,"inputs":[{"indexed":true,"name":"account","type":"address"},{"indexed":false,"name":"key","type":"string"}],"name":"logUpdate","type":"event"}]);
var accountkeyvalue = accountkeyvalueContract.new(
{
from: web3.eth.accounts[0],
data: '6060604052610470806100126000396000f3606060405260e060020a600035046317676e4c811461003c578063579f61d8146100fb5780638e6b851d146101a857806398e0933314610251575b005b61003a602460048035828101929082013591813591820191013581816000600050600033600160a060020a0316815260200190815260200160002060005086866040518083838082843782019150509250505090815260200160405180910390206000509190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106103ad57828001813560ff19161785555b5061036b9291505b808211156103dd57600081556001016100e7565b61003a60246004803591820191013533600160a060020a03166000908152602081905260409081902090518390839080838380828437505050019182525060405190819003602001902080546000825560026001821615610100026000190190911604601f8190106103e157505b5033600160a060020a03168282604051808060200182810382528484828181526020019250808284378201915050935050505060405180910390a15050565b6102fd6024600480359182019101356040805160208181018352600080835233600160a060020a0316815290819052829020915190919084908490808383808284375050500191825250604080519182900360209081018320805460026001821615610100026000190190911604601f8101839004830285018301909352828452919083018282801561042a5780601f106103ff5761010080835404028352916020019161042a565b6102fd60048035906024803590810191013560408051602081810183526000808352600160a060020a038716815290819052829020915190919084908490808383808284375050500191825250604080519182900360209081018320805460026001821615610100026000190190911604601f810183900483028501830190935282845291908301828280156104625780601f1061043757610100808354040283529160200191610462565b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f16801561035d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b505033600160a060020a03168484604051808060200182810382528484828181526020019250808284378201915050935050505060405180910390a150505050565b828001600101855582156100df579182015b828111156100df5782358260005055916020019190600101906103bf565b5090565b601f01602090049060005260206000209081019061016991906100e7565b820191906000526020600020905b81548152906001019060200180831161040d57829003601f168201915b5050505050905092915050565b820191906000526020600020905b81548152906001019060200180831161044557829003601f168201915b50505050509050939250505056',
gas: 3000000
}, function(e, contract){
console.log(e, contract);
if (typeof contract.address != 'undefined') {
console.log('Contract mined! address: ' + contract.address + ' transactionHash: ' + contract.transactionHash);
}
})
transactionHash: "0x0000000000000000000000000000000000000000000000000000000000000000"
Error: Contract transaction couldn't be found after 50 blocks undefined
Could you try lowering the gas amount? Or isn't that possible due to the size of the contract?
Ah, that solved the problem although I don't know why. Why should 3m gas be a problem?
Reduced gas to 30,000 and it broadcast a transaction.
The deploy code generated by browser solidity has gas set to 3m.
You need be te extremely lucky to get it in, your tx needs to come before anyone else's. With a 3m tx nothing else fits in (lowest is 21.000). We need a higher Gas limit ;-)
This issue is not yet resolved. The problem is that a lot of the time transactions are not being created at all: https://github.com/ethereum/go-ethereum/issues/2180
Different issue tho. This particular issue is "solved".
hey, I got Error: Contract transaction couldn't be found after 50 blocks when deploying to rinkeby testnet...
Most helpful comment
hey, I got Error: Contract transaction couldn't be found after 50 blocks when deploying to rinkeby testnet...