GithubHelp home page GithubHelp logo

Comments (10)

palango avatar palango commented on June 7, 2024

Thanks for testing this again. I just checked with forno and the result is returned there, so this seems to be an issue with your setup.

Do you still have the logs from the sync?
I also see that you're using go 1.20. We don't do any testing on that version and recommend using go 1.18 for now. Any chance you can try with that version?

btw., you could have reopened the old issue to continue the discussion there.

from celo-blockchain.

etkim7 avatar etkim7 commented on June 7, 2024

Here's the latest log.
I think it's just plain normal logs. The block number matches to block explorer.

INFO [06-09|10:25:14.673] Unindexed transactions                   blocks=1    txs=47    tail=17,377,613 elapsed="521.556µs"
INFO [06-09|10:25:19.627] Imported new chain segment               blocks=1    txs=6     mgas=1.200   elapsed=32.151ms    mgasps=37.330  number=19,727,613 hash=d02207..000737 dirty=104.58MiB
INFO [06-09|10:25:19.627] Unindexed transactions                   blocks=1    txs=9     tail=17,377,614 elapsed="232.483µs"
INFO [06-09|10:25:24.610] Imported new chain segment               blocks=1    txs=13    mgas=1.710   elapsed=36.602ms    mgasps=46.730  number=19,727,614 hash=b6442e..a6ec45 dirty=104.63MiB
INFO [06-09|10:25:24.610] Unindexed transactions                   blocks=1    txs=19    tail=17,377,615 elapsed="508.687µs"
INFO [06-09|10:25:29.580] Imported new chain segment               blocks=1    txs=7     mgas=0.743   elapsed=27.895ms    mgasps=26.631  number=19,727,615 hash=2d5717..c72fc0 dirty=104.58MiB
INFO [06-09|10:25:29.580] Unindexed transactions                   blocks=1    txs=31    tail=17,377,616 elapsed="518.427µs"
INFO [06-09|10:25:33.229] Deep froze chain segment                 blocks=12   elapsed=33.688ms    number=19,637,615 hash=4c9eca..4ff72b
INFO [06-09|10:25:34.680] Imported new chain segment               blocks=1    txs=13    mgas=1.998   elapsed=40.713ms    mgasps=49.069  number=19,727,616 hash=436504..f96fd2 dirty=104.55MiB
INFO [06-09|10:25:34.680] Unindexed transactions                   blocks=1    txs=24    tail=17,377,617 elapsed="486.976µs"
INFO [06-09|10:25:39.686] Imported new chain segment               blocks=1    txs=14    mgas=2.058   elapsed=37.739ms    mgasps=54.522  number=19,727,617 hash=4ab7c5..75e888 dirty=104.49MiB
INFO [06-09|10:25:39.687] Unindexed transactions                   blocks=1    txs=18    tail=17,377,618 elapsed="650.609µs"
INFO [06-09|10:25:44.589] Imported new chain segment               blocks=1    txs=14    mgas=1.940   elapsed=39.895ms    mgasps=48.632  number=19,727,618 hash=6ad324..dedb83 dirty=104.48MiB
INFO [06-09|10:25:44.589] Unindexed transactions                   blocks=1    txs=9     tail=17,377,619 elapsed="136.591µs"

I can recompile and try with go 1.18 / celo-1.7.4
maybe I need to resync from scratch again.

I believe I can't reopen the issue if moderator closed that. My previous issue
#1998 doesn't show me "open" button

from celo-blockchain.

etkim7 avatar etkim7 commented on June 7, 2024

Tried with instance=celo/v1.7.4-stable-3a6e0006/linux-amd64/go1.18.10
but the txid receipt result is still null
image

I can get normal output when I try recent transaction
http http://127.0.0.1:15122 jsonrpc=2.0 id=0 method=eth_getTransactionReceipt params:='["0x402c9a5cfa3f8b170936f479159ad06ff214306c87822aefb41fcd4b9f8c282f"]'

Seems like something's wrong with past blockchain processing

Any suggestions?

from celo-blockchain.

palango avatar palango commented on June 7, 2024

@etkim7 Likely you need to sync the whole chain with the correct go version.

Alternatively you can use a snapshot found here to avoid having to resync the whole chain. Please try this out, but only with the node running on go 1.18 or 1.19.

from celo-blockchain.

etkim7 avatar etkim7 commented on June 7, 2024

@palango I actually synced from scratch after the new build.
I tried syncing from scratch with old go version and latest go version both.
I believe it is reproducible if others are syncing from scratch with latest celo build.

from celo-blockchain.

palango avatar palango commented on June 7, 2024

@etkim7 You mean that you used master for syncing?

Please use the released versions when you want to run a node, as there might be problems in the development version. The one you ran into is probably #2132

from celo-blockchain.

etkim7 avatar etkim7 commented on June 7, 2024

well I compiled the latest release version. I don't use master branch usually.
my synced ~/.celo/celo directory's disk size is 94GB, while the snapshot's ~/.celo/celo is 154GB

Maybe this would be helpful?

image

from celo-blockchain.

etkim7 avatar etkim7 commented on June 7, 2024

Same error happens though I synced from snapshot.
http http://127.0.0.1:11122 jsonrpc=2.0 id=0 method=eth_getTransactionReceipt params:='["0x8a6f0fd69b851207d69e3d7f0d58e476b5ceed655229c8301e391760ad5b6d09"]'
image

Weird thing is that I can retrieve correct information from latest transactions. Only some range of old transactions are missing.

from celo-blockchain.

palango avatar palango commented on June 7, 2024

my synced ~/.celo/celo directory's disk size is 94GB, while the snapshot's ~/.celo/celo is 154GB

This is weird, can you please post the options that you pass when starting geth?

Weird thing is that I can retrieve correct information from latest transactions. Only some range of old transactions are missing.

How big is the harddrive you're using? Maybe it's related to pruning? See
https://geth.ethereum.org/docs/fundamentals/pruning . Do you see related log messages?

from celo-blockchain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.