original guide here : https://docs.docker.com/engine/install/ubuntu/#installation-methods
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupgsudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpgecho \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/nullsudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-composeTo run docker commands without sudo, run:
sudo adduser $USER dockerLog out and log back in so that your group membership is re-evaluated.
Verify that the Docker Engine installation is successful by running the hello-world image.
docker run hello-worldcurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bashLog out and log back in.
nvm install --lts
npm install --global yarnSkip to [Start Test Net] if you want to stick to the default dummy prover
Update image
docker build -f zksync-image-update -t using-real-prover-verifier .Verify the new image exist
docker image lsUpdate docker-compose.yml
sed -i -e 's/matterlabs\/local-node:latest2.0/using-real-prover-verifier/g' docker-compose.yml./start.shcd local-setup-testing
npm install
yarn test cd bulk-transfer-test
npm installnpx hardhat balance --accounts-file wallets/rich-wallet.jsonExample below : split the rich wallet (0x74d8b3a188f7260f67698eb44da07397a298df5427df681ef68c45b34b61f998) balance 10 times - creating a total of 1024 accounts saved in wallets/split.json
npx hardhat split --account "0x74d8b3a188f7260f67698eb44da07397a298df5427df681ef68c45b34b61f998" --iterations 10 --output-file wallets/split.jsonExample below : sends 100 transfer per bulk transfer between accounts listed in wallets/split.json. Whole process is repeated 2 times
npx hardhat bulkTx --accounts-file wallets/split.json --transfers 100 --iterations 2