Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 17 11:16

    guybrush on master

    api: improve formatting of api-… (compare)

  • Jun 17 11:14

    qu0b on vat

    add space (compare)

  • Jun 17 11:11

    qu0b on vat

    add space (compare)

  • Jun 17 09:21

    guybrush on master

    api: document usage of apikey (… (compare)

  • Jun 17 09:18

    qu0b on vat

    api: update doc description settings#api: add link to docs (compare)

  • Jun 17 09:17

    qu0b on vat

    api: update doc description settings#api: add link to docs (compare)

  • Jun 17 07:53

    guybrush on master

    vat (#872) * office/staging br… (compare)

  • Jun 17 07:50

    qu0b on vat

    gitcoin-feed: remove fade-in an… Merge branch 'master' into feat… (compare)

  • Jun 17 07:43

    guybrush on master

    gitcoin-feed: remove fade-in an… (compare)

  • Jun 16 14:58

    qu0b on vat

    only show usage if there is a k… (compare)

  • Jun 16 14:55

    qu0b on vat

    Show API Usage (compare)

  • Jun 16 12:26

    qu0b on vat

    update settings api url (compare)

  • Jun 16 11:39

    qu0b on vat

    office/staging branch Pricing: add hash to api link support vat collection and 6 more (compare)

  • Jun 15 14:27

    guybrush on master

    validator-leaderboard-page: imp… (compare)

  • Jun 15 14:23

    guybrush on improve-validator-leaderboard

    validator-leaderboard-page: imp… validator-page: make search-que… (compare)

  • Jun 15 14:06

    qu0b on master

    Feature/pdf email (#853) * add… (compare)

  • Jun 15 13:13

    guybrush on master

    validators-page: make search-qu… (compare)

  • Jun 15 13:06

    guybrush on master

    Fix reload apikey page (#868) … (compare)

  • Jun 14 12:44

    guybrush on master

    use gaps in machine stats respo… (compare)

  • Jun 14 12:29

    guybrush on master

    moved MobileDeviceDeletePOST (#… (compare)

mkinney
@mkinney
Tried docker run --rm -p 8546:8546 -p 4000:4000 -p 7000:7000 gcr.io/prysmaticlabs/prysm/beacon-chain:latest --archive --grpc-gateway-port=7000 --no-discovery --deposit-contract 0xD775140349E6A5D12524C6ccc3d6A1d4519D4029 --disable-monitoring --no-genesis-delay --interop-num-validators 64 --interop-eth1data-votes
but it still tries to connect to the testnet
time="2019-12-19 19:13:11" level=info msg="Connected to eth1 proof-of-work chain" endpoint="wss://goerli.prylabs.net/websocket" prefix=powchain
I think I need --http-web3provider
but I don't know what to use for it
the prysm tests do not allow http
--http-web3provider 'ws://localhost:8546'
gets closer... but not working
time="2019-12-19 19:15:16" level=error msg="Could not connect to powchain endpoint" error="could not dial eth1 nodes: dial tcp 127.0.0.1:8546: connect: connection refused" prefix=powchain
Peter (bitfly)
@peterbitfly
I guess it will need a eth1 node for the desposits
mkinney
@mkinney
I tried using docker run -it -p 8545:8545 0xorg/ganache-cli:latest
which gives a local testnet for eth1
<shrug>
mkinney
@mkinney
Can you use an external "indexer"?
in config.yml file
indexer:
enabled: true
node:
host: "beaconcha.in"
port: "4000"
type: "prysm"
(something like that?)
Peter (bitfly)
@peterbitfly
You mean to run the indexer independent of the frontend? Yes that’s possible
mkinney
@mkinney
does beaconcha.in have a lighthouse and/or prysm (or anyone else) have external ones avail?
Peter (bitfly)
@peterbitfly
Ah you mean a Remote node
mkinney
@mkinney
ya
Peter (bitfly)
@peterbitfly
It is possible but not very fast
We don’t have a public instance, maybe the Prysm guys are running one
The indexer talks to the node via http
mkinney
@mkinney
Ok. I was able to get the sync working...
Used docker-compose to spin up a postgres container (not persisting data), a prysm container (persisting data), and an eth2 beacon chain explorer instance... all so you can run docker-compose up and hit http://localhost:3333
mkinney
@mkinney
If I could figure out how to start either chain, I could start to do some integration-y tests.
(start either chain locally without using the testnets)
I want to do that so it would start quickly (no large wait for syncs) and it should be somewhat consistent with data.
mkinney
@mkinney
Lighthouse said to run: date +%s then lighthouse bn --http testnet -r quick 8 1576813592 (where 1576813592 was the output for the date command)
Seems to work...
Peter (bitfly)
@peterbitfly
Thanks for your efforts, for integration testing it would be good to have a somewhat predictable node state
mkinney
@mkinney
:-)
Peter (bitfly)
@peterbitfly
It could make sense to just use a pre filled node data directory as basis
mkinney
@mkinney
possible... but... kinda yucky too...
Peter (bitfly)
@peterbitfly
Like start a local testnet and generate 2-3 epochs
Then use that data directory
mkinney
@mkinney
Paul on lighthouse discord just shared this...

we have a simulator that you can spin up with a single command that has 4x nodes, 4x validator clients and eth1 chain
it lives in here:

https://github.com/sigp/lighthouse/tree/master/tests/beacon_chain_sim
GitHub
sigp/lighthouse
Rust Ethereum 2.0 Client. Contribute to sigp/lighthouse development by creating an account on GitHub.

its setup to end after it finishes running checks, but if you flip this bool it'll stay up:

https://github.com/sigp/lighthouse/blob/74b327b50d1b67782ae4b030297e0f6ea4b19d88/tests/beacon_chain_sim/src/main.rs#L45

so... we may just use that... heh he heh
Peter (bitfly)
@peterbitfly
That looks promising
mkinney
@mkinney
What indexer config values do you use for lighthouse? port "5052"? host "http://somehost"?
and to start the lighthouse beacon node, I'm using lighthouse bn --http-address 0.0.0.0 --ws-address 0.0.0.0 --http testnet -r quick 8 $(date +%s)