Commit Graph

96 Commits

Author SHA1 Message Date
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
d7ea874268
Upgrade mobymkas-ui package version for endorse member UI (#365) 2023-04-24 17:55:17 +05:30
prathamesh0
0bc54b30e0
Fix mobymask contract deployment script (#362) 2023-04-21 17:27:53 +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
01499a3f05
Upgrade web-app package versions to set custom relay node (#358) 2023-04-20 14:45:01 +05:30
46b36c3cb6
Add container to mobymask-v2 stack for LXDAO mobymask-app (#347)
* Add container to stack for lxdao mobymask-app

* Remove shm_size

* Use cerc-io scoped alias for lxdao app package

* Change alias to @cerc-io/mobymask-ui-lxdao
2023-04-20 10:49:19 +05:30
a335ccde3a
Update base containers (#355)
* Update to Node18

* Update to latest stable lighthouse
2023-04-19 16:43:59 -06:00
bde48b699d
Set context dir to the script dir to avoid permission errors (#354) 2023-04-19 16:00:41 -06: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
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
172300d7bd
Simple implementation of LACONIC_HOSTED_ENDPOINT (#342) 2023-04-17 20:46:05 -06:00
39a54bc62a
Use CERC_NPM_REGISTRY_URL everywhere (#340) 2023-04-17 13:40:49 -06: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
2eb93d0933
quiet npm version warning (#331) 2023-04-14 21:09:22 -06:00
1443c6c6d2
Add force rebuild option (#329) 2023-04-14 14:19:27 -06:00
zramsay
16c9607a6c typos 2023-04-13 12:31:53 -04:00
prathamesh0
c99fc0941a
Wait for transfer tx receipts when configuring Optimism (#323) 2023-04-13 12:43:41 +05:30
6b27731a81
Add MuKnSys npm scope (#322) 2023-04-12 19:46:50 -06:00
c7c3cbde8e
Update for latest act_runner. (#316) 2023-04-11 15:05:08 -05:00
7c6c46febb
Fix syntax errors (#314) 2023-04-11 07:20:38 -06:00
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
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
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
11375fed0c Fail on error installing package 2023-04-04 20:26:19 -06:00
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
4da69ebf4c
Update run script to support COPY and WebSockets. (#275) 2023-04-03 14:59:31 -05: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
f6cb041634 Temporary punch the port through to the host to make things work 2023-04-01 10:06:39 -06:00
e072a6bc4b Run template substitution on start 2023-03-31 16:33:48 -06:00
409f61d68d Implement deploy time config 2023-03-31 16:29:59 -06:00
3372cac35e Add a temporary version of config to the hosting container 2023-03-31 08:00:24 -06:00
3fb968c9cf Add console container pod 2023-03-30 00:27:19 -06:00
d01fb777d4 Add web server to host container 2023-03-30 00:15:36 -06:00
8bfc97bfbe Merge branch 'main' into dboreham/add-console 2023-03-29 22:50:22 -06:00
c5a532c02b Handle semver spec in package.json local dependencies 2023-03-29 22:46:58 -06:00
c5cf8dda79 Merge branch 'main' into dboreham/add-console 2023-03-29 21:25:57 -06:00
b6fb3b396b Do not switch gid/uid for root and system users 2023-03-28 19:52:42 -06:00
82acc99e2d Update go-ethereum-foundry container for Debian base image 2023-03-28 09:52:34 -06:00
022afdc352 Use dashes not underscore to match docker-compose file in hosting repo and convention 2023-03-25 18:26:21 -06:00
7af7f654f6
Merge pull request #238 from cerc-io/telackey/act_runner
Add Gitea action support via act_runner.
2023-03-25 11:35:07 -06:00
ece01730fd
Merge pull request #230 from cerc-io/dboreham/update-node-version
Update to Node 18
2023-03-25 11:34:07 -06:00
74077d7704 Add Gitea action support via act_runner. 2023-03-24 22:24:40 -05:00
David Boreham
4a04d20bb2 Merge main 2023-03-24 19:43:46 -06:00
David Boreham
2ca48fd2a2 Merge branch 'dboreham/add-console' of github.com:cerc-io/stack-orchestrator into dboreham/add-console 2023-03-24 18:38:50 -06:00
David Boreham
62d2d37417 Merge branch 'main' into dboreham/add-console 2023-03-24 18:36:36 -06:00
David Boreham
da24a4edf6 Use our locally built foundry container 2023-03-24 18:23:35 -06:00
cacd306b22
Add web-apps and laconicd in MobyMask v2 watcher stack (#226)
* Rename .env file

* Add web app services to docker compose file

* Add laconicd to deploy contract and send txs

* Add demo with steps for running mobymask app with L2 chain

* Add fix for yarn install on M1 platform in react-peer

* Update multiaddrs to use websockets

* Add notes in readmes

---------

Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
2023-03-24 15:53:54 +04:00