Commit Graph

93 Commits

Author SHA1 Message Date
d26dd4b531
Small doc fix 2023-05-09 17:08:25 -06:00
3e78c321b0
Chain chunker stack (#389)
* Fix bug in default container build flow

* Add convenience stack for chain-chunker
2023-05-09 14:00:58 -06:00
Zach
e5faeb9d3b
match tokens (#388) 2023-05-09 15:23:56 -04:00
b678a3ecb4
Add environment variables for multiaddrs blacklist (#381)
* Add env variable for web apps config denyMultiaddrs

* Add watcher config option for blacklisted multiaddrs

* Update package versions

* Use provided domain for relay multiaddr in peer config

* Change delimeter while replacing deny multiaddrs list

---------

Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
2023-05-05 13:32:19 +05:30
5a94aed7f7
Add stack for azimuth watchers with gateway-server (#379)
* Setup gateway-server with watchers

* Add js script to merge toml config files

* Remove individual watcher configs

* Add all azimuth watchers in stack

* Fix toml-js install

* Use env variables for ipld-eth-server endpoints

* Checkout to version tag in azimuth-watcher-ts repo
2023-05-04 15:35:04 +05:30
b23b5ae3bf
Fixturenet pocket (#350)
* add fixturenet-gaia stack

* add fixturenet-pocket

* integrate with eth fixturenet

* separate out fixturenet-gaia

* use pocket-deployments Dockerfile

---------

Co-authored-by: iskay <ian@knowable.vc>
Co-authored-by: Ian <ikay@lakeheadu.ca>
2023-05-02 15:13:48 -06:00
prathamesh0
cba2345af3
Avoid persisting lighthouse bootnode ENR between restarts (#377) 2023-05-02 12:14:48 +05:30
Zach
97433a7bb5
rm gerbil from doc 2023-04-29 14:55:10 -04:00
19e38d2a94
Remove gerbil builder container from build-support stack (#375) 2023-04-27 10:54:11 -06:00
af93743974
Add foundry to the fixturenet-eth-tx stack (#374) 2023-04-27 10:52:37 -06:00
Zach
b74e89fd3f
Merge pull request #371 from cerc-io/zramsay-patch-1
optimism: on error, wait, then re-run 'deploy up'
2023-04-27 12:34:04 -04:00
73419c341a
Remove > 2023-04-27 10:22:21 -06:00
Zach
a4ff8f3dcb
optimism: on error, wait, then re-run 'deploy up' 2023-04-26 14:43:32 -04:00
7a607c2994
Add script for exporting ethdb from fixturenet. (#370)
* Add script for exporting ethdb from fixturenet.

* Update README

* Script
2023-04-26 00:13:35 -05:00
prathamesh0
6a11046ea5
Fix sample env in MobyMask app instructions (#369) 2023-04-25 19:38:13 +05:30
prathamesh0
018950858b
Add instructions to run MobyMask app with a watcher on network (#368)
* Remove unnecessary check on watcher endpoint

* Add instructions to run MobyMask app with a watcher on network

* Move watcher on network docs to a separate folder

* Add nginx config for watcher endpoint

* Add expected output logs

* Add sample nginx config for hosting the app

* Update instructions
2023-04-25 18:32:38 +05:30
prathamesh0
8a054a979c
Upgrade Optimism (#367) 2023-04-25 15:52:38 +05:30
prathamesh0
44cf57df9b
Add an arg for shutdown timeout in deploy down command (#366) 2023-04-25 11:51:49 +05:30
prathamesh0
988be0ef9a
Upgrade Optimism and add op-proposer (#364)
* Use the latest stable optimism release

* Remove unnecessary repos from repo-list

* Add op-proposer service to fixturenet-optimism stack

* Add jq and bash to op-proposer image

* Update instructions

* Update op-batcher and op-geth commands
2023-04-25 10:41:47 +05:30
prathamesh0
0bc54b30e0
Fix mobymask contract deployment script (#362) 2023-04-21 17:27:53 +05:30
prathamesh0
f78176a27f
Add instructions to join MobyMask watcher p2p network (#346)
* Refactor L2 enpoint check to contract deployment script

* Add instructions to join to an existing watcher network

* Include mobymask-v2-watcher-ts in repositories setup

* Add a clean up section and expected outputs

* Add a troubleshooting section

* Use lxdao frontend

* Update instructions for updated UI
2023-04-20 15:30:19 +05:30
prathamesh0
eb777b0b47
Fetch geth accounts using an exposed endpoint (#357)
* Fetch account creds served by geth service

* Use fetched account creds in mobymask-v2 stack
2023-04-20 15:12:59 +05:30
Zach
45cab0f33d
Merge pull request #320 from cerc-io/add-kubo-stack
Add kubo (IPFS) as a stack
2023-04-19 21:48:55 -04:00
c4002dcc5c
Use standalone mobymask-v2-watcher-ts for running watcher server (#327)
* Use standalone mobymask-v2-watcher-ts to run peer test

* Add watcher-ts image for running peer tests

* Run separate containers for peer ids generation and tests

* Wait for watcher to be up before starting peer-test-app

* Resolve peer-test-app compose file and remove setup-repositories for web-apps
2023-04-19 13:48:51 +05:30
prathamesh0
c6e6122516
Gracefully shutdown optimism batcher and op-geth containers (#345)
* Gracefully shutdown optimism batcher and op-geth containers

* Remove unnecessary env export
2023-04-19 12:48:38 +05:30
prathamesh0
3130af1615
[WIP] Handle restarts in fixturenet-eth stack (#324)
* Use mounted volumes for data in geth nodes

* Use mounted volumes for data in lighthouse nodes

* Avoid resetting genesis time in a lighthouse node on restart

* Mount parent datadir for lighthouse nodes

* Trap signals on shutdown and clean up in lighthouse nodes

* Allow stalled sync in lighthouse beacon nodes

* Gracefully shutdown geth nodes

* Add clean up instructions

* Gracefully shutdown lighthouse boot node
2023-04-19 12:22:13 +05:30
cf79f0de0a
Package mobymask-v2 stack web-apps similar to laconic-console app (#310)
* Build MobyMask web-app at container build step

* Fix web-app start script to use env variables in config

* Replace variables in built web-app files

* Use published mobymask-ui package from gitea

* Use published react-peer/test-app from gitea

* Remove local gitea publish TODO
2023-04-18 18:25:58 +05:30
Zach
dd59579b87
Update README.md 2023-04-17 11:25:21 -04:00
0068a994f6
Support for complete laconic stack with console and test registration record (#335)
* Configure cli with necessary gas and fees args and address

* Update version
2023-04-16 20:14:15 -06:00
zramsay
bafdfe6d2a lil fixes 2023-04-13 07:05:03 -04:00
zramsay
cfa32a3515 update kubo stack README to enable CORS for running in the cloud 2023-04-13 06:55:47 -04:00
zramsay
eae124fdf1 run kubo as a stack 2023-04-12 17:36:47 -04:00
prathamesh0
882f0b16aa
Configuration fixes for mobymask-v2 stack for multiple deployments (#318)
* Fix contract deployment script in fixturenet-optimism stack

* Configure relay node's announce domain from env

* Configure relay peers list for the relay node from env

* Create and use peer ids from a mounted volume

* Fix command to create watcher config

* Fix mobymask-app deployment script
2023-04-12 18:17:13 +05:30
prathamesh0
6b62247ef7
Add an option to pass env file to deploy command (#304)
* Add an option to pass env file to deploy command

* Use env variable mapping in fixturenet-optimism stack

* Use default values from checked in env files

* Use env variable mapping in mobymask-v2 stack

* Update instructions

* Add extra hosts in app compose files and update instructions

* Add CERC prefix to env variables in fixturenet-optimism stack

* Add CERC prefix to env variables in mobymask-v2 stack
2023-04-11 16:21:03 +05:30
d3715d1952
Add env variable to enable/disable sending txs to L2 from watcher peer (#293)
* Add flag to enable/disable watcher peer L2 txs

* Update watcher-ts version in readme
2023-04-10 10:42:56 +05:30
Zach
055fa14cfb
Merge pull request #278 from cerc-io/update-docs
update registry install instructions
2023-04-06 19:32:29 -04:00
zramsay
579fa6ff66 more little updates 2023-04-06 19:31:57 -04:00
6f781ae303
Separate out watcher and web-apps in mobymask-v2 stack (#287)
* Separate out watcher and web-apps in mobymask stack

* Take L2 RPC endpoint from the env file

* Changes to run watcher and mobymask web-app separately

* Support running watcher without contract deployment and L2 txs

* Remove duplicate mobymask params env

* Add code comments

* Add instructions for running web-apps separately

* Self review fixes

* Fix timeout for mobymask-app on watcher server

---------

Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
2023-04-06 15:17:00 +05:30
prathamesh0
59fe9aae59
Handle restarts in mobymask-v2 stack (#286)
* Verify existing contract deployment

* Update mobymask-v2 demo instructions
2023-04-05 17:52:12 +05:30
94e38ceaba
Add ability to run mobymask-v2 stack with external optimism endpoint (#279)
* Set optimism geth endpoint from env file

* Set L1 account private keys from env

* Only deploy contract and generate invite in mobymask container

* Add readme for running mobymask v2 stack independently

* Modify mobymask container to stop running server and update readmes

* Check deployer account balance before deploying contract

* Fix for checking account balance before deploying

* Update readme description

* Update MobyMask repo tag in readme
2023-04-05 17:26:38 +05:30
prathamesh0
9ffa9bb5a9
Handle restarts for services in fixturenet-optimism stack (#282)
* Check existing L1 contracts deployment

* Rename volume used for generated L2 config

* Check for existing L2 geth data directory

* Cross check existing L2 config against L1 deployment config

* Verify sequencer key in existing L2 geth data directory

* Add instructions to troubleshoot corrupt L2 geth dir

* Separate out instructions to run L2 with external L1

* Update docs
2023-04-05 10:25:50 +05:30
prathamesh0
2515878eeb
Add ability to run Optimism fixturenet with external L1 endpoint (#273)
* Remove unnecessary todos

* Set option to log commands in shell scripts

* Replace fixturenet-eth dependency with wait on endpoint

* Skip lighthouse node dependency check

* Update all services in the stack

* Use debug flag to enable shell commands logging

* Add bash in op-batcher container

* Update mobymask-v2 instructions

* Update fixturenet-optimism instructions

* Add descriptions for services

* Move ts files to container-build

* Take L1 RPC endpoint from the env file

* Add dev mode restriction for editing env file
2023-04-04 14:53:28 +05:30
zramsay
358c7ea168 key missing line 2023-04-03 16:41:07 -04:00
b266ac78b4
Replace laconicd with optimism in mobymask-v2 stack (#272)
* Remove laconicd to use optimism endpoint

* Use fixturenet-optimism stack for mobymask-v2-watcher

* Fix setting L1 account private key in mobymask-v2 stack
2023-04-03 18:13:29 +05:30
prathamesh0
fc522140ba
Add Optimism Fixturenet stack (#266)
* Initial version

* Update readme

* Build op-geth container

* Add optimism go code containers

* Add optimism contracts container

* Update optimism contracts container build

* Add fixturenet-optimism-contracts service to deploy L1 contracts

* Add fixturenet-optimism op-node and op-geth

* Avoid reading addresses from a file when sending balances

* Fixes for running op-geth container

* Fix image name and command in optimism-contracts service

* Add a healthcheck to lighthouse bootnode to avoid failing eth txs

* Avoid using hardhat ethers to send balances from an account

* Update script to send balance to L1 bridge proxy contract

* Implement op-node container

* Wait for a finalized L1 block to exist

* Fix for running op-batcher

* Add a todo for restart support

* Integrate optimism-contracts service and update instructions

* Update clean-up to remove docker volumes

* Update volume access permissions

* Add a todo to replace foundry usage with web3 js

* Add known issues

* Fix README

* Fix indentation

* Update known issues

---------

Co-authored-by: David Boreham <david@bozemanpas.com>
Co-authored-by: David Boreham <david@bozemanpass.com>
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2023-04-03 12:33:47 +05:30
045117c6fb Add missing repo and container 2023-04-02 08:25:26 -06:00
c45dd545dd Add console host container to stack 2023-03-31 07:59:43 -06:00
3fb968c9cf Add console container pod 2023-03-30 00:27:19 -06:00
8bfc97bfbe Merge branch 'main' into dboreham/add-console 2023-03-29 22:50:22 -06:00
prathamesh0
71aaa41069
Upgrade dependencies and start inline watcher peer in mobymask-v2 stack (#256)
* Upgrade dependencies in mobymask-v2 stack

* Run inline watcher peer in mobymask v2 stack

---------

Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2023-03-30 09:44:15 +05:30