Open geoff-vball opened 2 years ago
can this be moved out of the lotus scope to a standalone project?
@f8-ptrk is right.
IMO, the right way to do this is to:
That way you can get actual (but totally insecure) drand in an isolated environment.
@geoff-vball. I am not sure if this is already solved, but I have a solution which I use in continuous testing. I use cluster of nodes in docker-compose similar to simulate the network.
curl 10.20.20.21/info | jq -c > chain_info
export DRAND_CHAIN_INFO=chain_info
P.S. Give drand some time to perform DKG. Let me know if you've any questions or want help with this.
Thanks.
Checklist
Ideas
.Lotus component
What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.
Right now, devnets use the mainnet drand beacon. This means we cannot run a devnet without being connected to the internet.
Describe the solution you'd like
Mock the beacon to enable the use of devnets offline.
Describe alternatives you've considered
No response
Additional context
No response