Developers Forum for XinFin XDC Network

Discussion on: [WIP] HeadTracker is not capturing few blocks in Apothem / Mainnet

Collapse
wanwiset25 profile image
Wanwiset Peerapatanapokin

Hi @logeswaran

Sorry for the delay. After spending way too much time checking the server side, I found an incompatibility in the client side. Would you mind to try using the ethclient from the XDC repo.

Instead of

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/ethclient"

Please put
ethereum "github.com/XinFinOrg/XDPoSChain"
"github.com/XinFinOrg/XDPoSChain/common"
"github.com/XinFinOrg/XDPoSChain/core/types"
"github.com/XinFinOrg/XDPoSChain/ethclient"

Collapse
logeswaran profile image
Lokesh Author

Sure, will test the same and revert shortly please.

Collapse
logeswaran profile image
Lokesh Author

Thank you @wanwiset25, it works fine(tested with sample repo). But we have nearly ~1300 files to be changed with this updates in the Plugin Core.

Do we have any other alternate fix to accomplish this?.

Collapse
wanwiset25 profile image
Wanwiset Peerapatanapokin

I'm still looking further regarding the root cause of this. It is strange because I found it to be a websocket message size issue on the server side.

Thread Thread
logeswaran profile image
Lokesh Author

sure, please update when you find the root cause..

Thank you for your support here