ethstorage / es-node

Golang implementation of the EthStorage node.
Other
1.15k stars 77 forks source link

Fix scripts for RPC node setup #324

Closed syntrust closed 2 weeks ago

syntrust commented 3 weeks ago

Issue to address: When init an RPC node there are some mining related operations start including downloading zkey and installing snarkjs, etc. which are not necessary and time-consuming.

Solution: Pass encoding_type down to init.sh, and use if [ $use_miner = 1 ]; then ... fi to check if the mining prepare operations are required.

Tests: Init and start L1/L2 (RPC) nodes successfully.