Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 13:45

    madalin0b on staging

    add more tags color codes and s… style search tables search field search input field in tables st… and 27 more (compare)

  • 10:19

    madalin0b on staging

    Redesign countdown (#1088) * s… Improve color scheme and events… Merge branch 'master' into rede… and 4 more (compare)

  • Oct 15 14:29

    qu0b on master

    Improve color scheme and events… (compare)

  • Oct 15 14:20

    qu0b on master

    Redesign countdown (#1088) * s… (compare)

  • Oct 15 14:01

    madalin0b on staging

    Merge branch 'master' into rede… small fixes Merge branch 'redesign-navigati… and 1 more (compare)

  • Oct 15 09:52

    madalin0b on staging

    use html-template for countdown… setup Merge branch 'master' into rede… and 4 more (compare)

  • Oct 14 06:56

    guybrush on master

    use html-template for countdown… (compare)

  • Oct 13 13:27

    madalin0b on staging

    setup megamenu basic layout done fix megamenu layout on all scre… and 2 more (compare)

  • Oct 13 07:58

    madalin0b on staging

    exporter: reduce assignments-ca… update css min files update general styles and 5 more (compare)

  • Oct 08 09:41

    guybrush on master

    exporter: reduce assignments-ca… (compare)

  • Oct 06 14:56

    madalin0b on staging

    update login redirect Merge branch 'master' into noti… fix time to uint64 conv. and 87 more (compare)

  • Oct 05 08:03

    qu0b on master

    rm rp banner (#1078) Co-author… (compare)

  • Oct 04 09:47

    guybrush on master

    rocketpool: make all tables sea… (compare)

  • Oct 01 08:40

    qu0b on notifications

    notification app integration (compare)

  • Sep 30 08:36

    qu0b on master

    add rp banner (#1073) Co-autho… (compare)

  • Sep 29 14:31

    guybrush on master

    Feature/rocketpool chart (#1071… (compare)

  • Sep 29 10:56

    qu0b on master

    Add Rocketpool page to nav (in … (compare)

  • Sep 29 08:32

    qu0b on staging

    Add Rocketpool page to nav (Sta… (compare)

  • Sep 29 08:08

    guybrush on master

    pools-page: add rocket pool (#1… (compare)

  • Sep 28 08:29

    guybrush on master

    add metrics to tag updater (#94… (compare)

mkinney
@mkinney
I think I'm getting closer... but I'm getting this error, explorerlighthouse_1 | time="2019-12-20T20:10:01Z" level=fatal msg="error retrieving last blocks from DB: sql: converting argument $1 type: uint64 values with high bit set are not supported" module=exporter
mkinney
@mkinney
Is there a reason why these are unsigned ints?
func GetLastPendingAndProposedBlocks(startEpoch, endEpoch uint64) ([]*types.MinimalBlock, error) {
mkinney
@mkinney
I think the problem is that the code does not expect zeros for the start epoch and will -1, which would cause the overflow. I mucked around with it for a bit, but I think it would be better after they re-start their testnet. (lighthouse)
Peter (bitfly)
@peterbitfly
AFAIK those are all unsigned ints as the Prysm data types were only using them and we started from them
mkinney
@mkinney
Those are fine... it is the sql interface only allows for signed ints, so when you have something like foo := uint64(0) - 1 and use foo as an arg to a sql statement, then you run into that error with hight bit set above.
Peter (bitfly)
@peterbitfly
hm it looks like somehow the start epoch parameter underflows for some reason
this might happen if head.FinalizedEpoch is 0
will add a fix for that cases
mkinney
@mkinney
Thanks. That'd be great. If you take a look at mkinney/eth2-beaconchain-explorer@79e04d3 you'll be able to see that db error. I am going to wait until Lighthouse re-launches their testnet before doing much more.
Peter (bitfly)
@peterbitfly
you can try their testnet3 branch
the explorer should be compatible with that one
mkinney
@mkinney
not sure how to use their testnet3 from docker image
lighthouse bn --http-address 0.0.0.0 --ws-address 0.0.0.0 --http testnet -r -t 1000 recent 16
change testnet to testnet3 ?
Peter (bitfly)
@peterbitfly
no, check out the testnet3 branch, build the docker image and run it normally
mkinney
@mkinney
ok, will do. thx
Peter (bitfly)
@peterbitfly
imo the lighthouse testnet is currently a bit more interresting as it runs under mainnet condition with 16k validators
mkinney
@mkinney
I agree that is more interesting, but I'm trying to put together some integration-like testing... kinda hard when things are not "ready"... but I think your idea to build off their testnet3 branch locally might work... will see in 15 minutes or so...
Peter (bitfly)
@peterbitfly
sounds good
mkinney
@mkinney
the finalized epoch is still 0 so I'm still hitting that db error
I guess I'll wait until you can add a fix for that case
I see there is no description for https://hub.docker.com/repository/docker/gobitfly/eth2-beaconchain-explorer/general . I just recently figured out how to update that info. Want me to do a PR against it?
you have to fork off of https://github.com/docker-library/docs
mkinney
@mkinney
hmm.. that's for official docker images...
Peter (bitfly)
@peterbitfly
Hm let me take a look at that and get back to you tomorrow re the docket docs
mkinney
@mkinney
ok. no worries. no rush...
Peter (bitfly)
@peterbitfly
Finalized epoch should not be 0 in the testnet
mkinney
@mkinney
oh, then it could be something stupid I'm doing then...
beaconnode_lighthouse_1 | Dec 27 20:14:24.852 INFO Synced to current epoch current_slot: 18, head_slot: 0, finalized_epoch: 0, finalized_root: 0x0000…0000, peers: 0, service: slot_notifier beaconnode_lighthouse_1 | Dec 27 20:14:36.830 WARN Low peer count
Peter (bitfly)
@peterbitfly
If you start a local testnet you will likely also need validators that Attest on blocks
mkinney
@mkinney
hmm... k
Peter (bitfly)
@peterbitfly
@mkinney I've just pushed a fix for the db error you were seeing
mkinney
@mkinney
Thanks. Looks like there are other changes that would have to be made. I'm getting same error: explorer_lighthouse_1 | 2019/12/30 16:07:15 Config file path: /app/config.yml explorer_lighthouse_1 | 2019/12/30 16:07:15 HTTP servicer listinging on 0.0.0.0:3334 explorer_lighthouse_1 | time="2019-12-30T16:07:15Z" level=fatal msg="error retrieving last blocks from DB: sql: converting argument $1 type: uint64 values with high bit set are not supported" module=exporter
mkinney
@mkinney
I'm going to look at adding cli params to https://github.com/sigp/lighthouse/blob/74b327b50d1b67782ae4b030297e0f6ea4b19d88/tests/beacon_chain_sim/src/main.rs#L45 so we can potentially use it for our testing.
mkinney
@mkinney
Created a PR on their repo. Once they have that merged, I think we can use it to spin up Lighthouse testnet easier than what I was attempting.
Peter (bitfly)
@peterbitfly
nice, thanks :+1:
Sergio Rios
@peepoman12_twitter
I hope this helps me get this right
Hi, How to get these parameters on my private beaconchain
Peter (bitfly)
@peterbitfly
Hi, you should get them from the chain config of your beacon node
Peter (bitfly)
@peterbitfly
@mkinney we finaly have a fix for the error you are experiencing, will ship it today
Peter (bitfly)
@peterbitfly
fix is now released
also the explorer is now compatible with the new prysm testnet to be launched tomorrow
Peter (bitfly)
@peterbitfly
Today we pushed an update that fixes several issues:
  • Work around slow RPC response times of the Prysm node under mainnet conditions
  • Fix divide by zero crashbug
  • Fix block graffiti utf decoding of invalid utf strings (will fall back to ascii decoding if utf8 decoding fails)
  • Do not show blockts that are more than 10 seconds in the future in the index view
Peter (bitfly)
@peterbitfly
Wohooo our new design is now live at https://beaconcha.in/ thanks @stefan_star_twitter for your awesome work!
Stefan Star
@stefan_star_twitter
:)
Arash
@arash009
Hi all. Arash from the PegaSys team working on our Eth2 beacon chain client Teku. We're in the process of working through our APIs and one thing I'd like to make sure of is that we support the awesome chain explorers out there! Wondering if you have any docs or if you can share details of which APIs you make use of with Prysm and Lighthouse as we are trying to be as aligned with other clients as possible.
Peter (bitfly)
@peterbitfly
Hi @arash009 we don't have any docs available right now, I guess the best point to start is our rpc_client interface: https://github.com/gobitfly/eth2-beaconchain-explorer/blob/master/rpc/rpc_client.go
unfortunately lighthouse & prsym apis are not really aligned