1
0
Commit Graph

19 Commits

Author SHA1 Message Date
86f13e9c6b 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>
Former-commit-id: 6f781ae303915d7612fbc670b4f5f9b521b48121
2023-04-06 15:17:00 +05:30
prathamesh0
72737bfa29 Handle restarts in mobymask-v2 stack (#286)
* Verify existing contract deployment

* Update mobymask-v2 demo instructions

Former-commit-id: 59fe9aae59e2622761fe28beba9e5cc9e6d2614f
2023-04-05 17:52:12 +05:30
63fbaa7ae3 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

Former-commit-id: 94e38ceabaa89a3ec54e25f4a03cf253d5fae5f9
2023-04-05 17:26:38 +05:30
prathamesh0
464ef89a01 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

Former-commit-id: 9ffa9bb5a97b454da76c8cdeb1722109ce430b53
2023-04-05 10:25:50 +05:30
prathamesh0
be08ee81ea 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

Former-commit-id: 2515878eeb3456147d4e50e1b39c98f618d1a3d3
2023-04-04 14:53:28 +05:30
f23c22d5b9 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

Former-commit-id: b266ac78b4253ff655875922670797a6e56d578f
2023-04-03 18:13:29 +05:30
prathamesh0
1881554ae0 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>
Former-commit-id: fc522140baf918dfed531e8379649887c47c8109
2023-04-03 12:33:47 +05:30
prathamesh0
79ad4fb15a 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>
Former-commit-id: 71aaa41069196836f2186e83583c91b6c6cae161
2023-03-30 09:44:15 +05:30
1951a5d398 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>
Former-commit-id: cacd306b22dbd12096c3b78d3c4222a8b8772489
2023-03-24 15:53:54 +04:00
David Boreham
84bad13934 Update fixturenet create script
Former-commit-id: 01c69990273ac9c9d0d7d6547e853662f4dc63df
2023-03-22 14:52:39 -06:00
Nabarun Gogoi
4d3042bfcc Add a stack for mobymask-v2-watcher to run peer tests (#222)
* Add mobymask-v2-watcher stack with peer tests

* Rename stack and container

* Avoid building react-peer container

* Improve step for getting container ID

Former-commit-id: 78310788729e245040d3144d41c57160be14d774
2023-03-20 18:25:39 +05:30
f096c014ce Add omitted file
Former-commit-id: a3440ad05bc41e4fcdcf739dfa75d032fb5c8f2f
2023-03-09 06:43:51 -07:00
6ae3c252ea Very basic key export/import implementation
Former-commit-id: 8a8fef6845edbbde34e561bb1b613df1c5a9cc9b
2023-03-07 10:08:04 -07:00
eb70f2526e Initial commit
Former-commit-id: 49c524e8edc27db89f79a13bbe19a8ece221372e
2023-03-04 18:45:57 -07:00
bdde1b2c9e Include all eth API operation metrics. (#162)
Former-commit-id: ce0c7ee9ba68fb44d3bcbc9fa3301e2784e354fc
2023-01-26 13:53:02 -06:00
b5c7ad114c Integrate grafana/prometheus with fixturenet-eth. (#156)
* Integrate grafana/prometheus with fixturenet-eth.

* Integrate grafana/prometheus with fixturenet-eth.

* Revert port change

* EOL

* EOL

* Simplify ipld-eth-server config.

Former-commit-id: c279bd49a4410c9d94e21c5bae2125444bc4e223
2023-01-25 11:50:08 -06:00
c77cc4e111 Update keycloak to include X-User-Id header. (#147)
Former-commit-id: 65cdba77055b1c3ba1d780b40a5c64dc41e7b4e2
2023-01-23 10:39:15 -06:00
b13300ca81
Add CERC_STATEDIFF_DB_LOG_STATEMENTS=true|false option. (#120) 2023-01-13 16:33:59 -06:00
0435a71b5e Refactor for shiv package 2023-01-07 21:02:14 -07:00