Commit Graph

597 Commits

Author SHA1 Message Date
47275a50d4
Merge pull request #294 from cerc-io/dboreham/enable-tests-ci
Enable tests ci
2023-04-06 13:26:27 -06:00
e7a4de5940 Bump CI 2023-04-06 13:24:17 -06:00
90210e439f Add build 2023-04-06 13:20:22 -06:00
7dd07beec6 Try adding job name 2023-04-06 07:28:13 -06:00
f7def488d9
Merge pull request #290 from cerc-io/dboreham/enable-ci
Try to enable CI
2023-04-06 07:21:07 -06:00
0432a4bf29 Try to enable CI 2023-04-06 07:19:08 -06: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
18bb8194fe
Merge pull request #285 from cerc-io/dboreham/fix-gerbil-builder
Fail on error installing package
2023-04-04 20:26:52 -06:00
11375fed0c Fail on error installing package 2023-04-04 20:26:19 -06:00
9e4240df07 Update version 2023-04-04 11:29:16 -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
zramsay
358c7ea168 key missing line 2023-04-03 16:41:07 -04:00
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
432fc4755b
Merge pull request #271 from cerc-io/dboreham/add-foundry-to-erc20-stack
Add missing repo and container
2023-04-02 08:26:07 -06:00
045117c6fb Add missing repo and container 2023-04-02 08:25:26 -06:00
f2c6ebbc23
Merge pull request #236 from cerc-io/dboreham/add-console
Add laconic console in fixturenet-laconic-loaded
2023-04-01 13:32:29 -06:00
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
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
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
7f155023d2
Merge pull request #265 from cerc-io/dboreham/fix-yarn-lock-processing
Handle semver spec in package.json local dependencies
2023-03-29 22:47:48 -06:00
c5a532c02b Handle semver spec in package.json local dependencies 2023-03-29 22:46:58 -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
c5cf8dda79 Merge branch 'main' into dboreham/add-console 2023-03-29 21:25:57 -06:00
e23ee1b176 Update version 2023-03-28 20:00:16 -06:00
df23476f0b
Merge pull request #255 from cerc-io/dboreham/fix-js-builder-gid-problem
Do not switch gid/uid for root and system users
2023-03-28 19:54:37 -06:00
b6fb3b396b Do not switch gid/uid for root and system users 2023-03-28 19:52:42 -06:00
1266ab88be Update version 2023-03-28 11:49:58 -06:00
a4a9607ea8
Merge pull request #253 from cerc-io/dboreham/wait-for-export-cluster-config
Detect transient errors exporting variables and re-try
2023-03-28 11:44:54 -06:00
15c0a92f30 Detect transient errors exporting variables and re-try 2023-03-28 11:44:02 -06:00
bb63035fcc
Merge pull request #252 from cerc-io/dboreham/fix-go-ethereum-foundry-startup
Fix health checks in erc20 containers
2023-03-28 10:47:07 -06:00
35ca979068 Fix health checks in erc20 containers 2023-03-28 10:46:26 -06:00
b1f4f2e4e3
Merge pull request #251 from cerc-io/dboreham/fix-ethereum-foundry
Update go-ethereum-foundry container for Debian base image
2023-03-28 09:53:22 -06:00
82acc99e2d Update go-ethereum-foundry container for Debian base image 2023-03-28 09:52:34 -06:00
3caf0da956 Update version 2023-03-28 07:17:06 -06:00
7e1137f811 Update version 2023-03-27 08:00:19 -06:00
1aeb44d5ad
Add missing notes and steps in mobymask-v2 stack readme (#241)
* Add missing notes and steps in readme

* Mention clearing of browser cache before opening invite link
2023-03-27 11:17:12 +05:30
3706dfd7db Update version 2023-03-26 21:35:01 -06:00
e70dca7687 Fix missing container name change 2023-03-25 18:57:36 -06:00
685ebdfb15
Merge pull request #240 from cerc-io/dboreham/fix-act-container-names
Use dashes not underscore to match docker-compose file
2023-03-25 18:27:38 -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