EthereumCommonwealth/go-callisto

Problem with eth_sendTransaction RPC in rust-callisto

Closed this issue · 7 comments

First of all, sorry for filing a parity issue here instead of the correct repo. Unfortunately issues are not available on the rust-callisto repo.

Our Callisto Testpool mined the first block today. When sending the reward to the sole miner responsible for mining the block using eth_sendTransaction, the RPC succeeded but resulted in a transaction that transferred zero value: https://explorer.callisto.network/tx/0xbc41f4a9413674af57f078e8afcd6480510e852472b115444e769de9710b048c. The amount supposed to get transferred can be seen by switching to the "Payments" Tab on the Pool Page.

This is strange as the transaction was generated by the same code that successfully transferred hundreds of ETH and ETC on our other pools: https://github.com/coinfoundry/miningcore/blob/dev/src/MiningCore/Blockchain/Ethereum/EthereumPayoutHandler.cs#L451

System information

Geth version: rust-callisto compiled from https://github.com/Methw/rust-callisto - branch CLO/1.0
OS & Version: Linux Debian 10.3
Commit hash : HEAD

Methw commented

I'll try mining there. But, I think the site is down atm

Sorry, we had some extended website maintenance last night. The pool was totally unaffected.

@Methw Everything's up and miner have mined tons of blocks today. I've also enabled tracing on the parity instance if that helps figuring out what's going on.

Methw commented

@oliverw that weird. any log for payment status status?
https://github.com/coinfoundry/miningcore/blob/f7a9751f56650f8d3d64c05bd1f23cc5aee4c5eb/src/MiningCore/Blockchain/Ethereum/EthereumConstants.cs#L23
and are this have impact on payment process? because atm, maybe you just connected to one peers.

@Methw I've relaxed the peercount requirement for payouts in the dev branch when using a testnet daemon. So, no that shouldn't make a difference.

Regarding the payment status, what logging information do you seek?

Methw commented

Any errors or warnings from payment process?
if you don't mind, you could insert one of payment process in your mining pool that had zero value here.

I'm not sure, but are you set gas limit at 940000? I saw other CLO pool with 1/10 gas limit and had no problem with payment. maybe you could try to lower the gas limit to < 100000.

And IF you want to try, you could recompile from This repo.

PS. I don't know if other pool used the same payment processing method.