You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything seems to work correctly except for the DiamondInit deploy:
local-setup-zksync-1 | DiamondProxy deployed, gasUsed: 242262
local-setup-zksync-1 | Error: Error: Failed to deploy bytecode via create2 factory
local-setup-zksync-1 | at Deployer.<anonymous> (/contracts/ethereum/src.ts/deploy.ts:205:19)
local-setup-zksync-1 | at step (/contracts/ethereum/src.ts/deploy.ts:33:23)
local-setup-zksync-1 | at Object.next (/contracts/ethereum/src.ts/deploy.ts:14:53)
local-setup-zksync-1 | at fulfilled (/contracts/ethereum/src.ts/deploy.ts:5:58)
local-setup-zksync-1 | at processTicksAndRejections (internal/process/task_queues.js:95:5)
Is there any way to fix this, or to use Hardhat's console.log tools? In the default log of docker compose up, it is impossible to see anything due to message flooding.
Thank you.
The text was updated successfully, but these errors were encountered:
To debug complex contracts, I need to use some kind of logging in Solidity, like that of Hardhat.
I have tried using a modified version of the docker-compose.yaml configuration file:
I also had to modify the deployZkSyncContract function to avoid a conflict with nonces:
Everything seems to work correctly except for the DiamondInit deploy:
Is there any way to fix this, or to use Hardhat's console.log tools? In the default log of docker compose up, it is impossible to see anything due to message flooding.
Thank you.
The text was updated successfully, but these errors were encountered: