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.
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 useif [ $use_miner = 1 ]; then ... fi
to check if the mining prepare operations are required.Tests: Init and start L1/L2 (RPC) nodes successfully.