I'm trying to deploy the 'solo' (https://github.com/dydxprotocol/solo) After cloning [email protected]:dydxprotocol/solo.git and resolving all dependencies
Contracts compilation is successful, however when deploying I get:
npm run deploy_test
"OperationImpl" ran out of gas (using a value you set in your network config or deployment parameters.)
* Block limit: 4294967295 (0xffffffff)
* Gas sent: 6721975 (0x6691b7)
This is what the ganace-cli shows:
Transaction: 0x6883c81917b755b236af91f2167713a6f5d9d6a3cd0db0a9b62a728046193e94
Contract created: 0xe8dedc22f660cc6c5de0873bd92b075962cc4723
Gas usage: 6721975
Block Number: 18
Block Time: Mon Sep 27 2021 22:45:13 GMT+0000 (Coordinated Universal Time)
Runtime Error: out of gas
I've seen some similar posts and they suggest to change the account gas value, but that didn't help:
ganache-cli -h 0.0.0.0 -p8445 -l 4294967295 -e 100 -g 1 -i 1313 -a 2
Tool Versions:
- Truffle v5.4.11 (core: 5.4.11)
- Node v16.9.1
- Ganache CLI v6.12.2 (ganache-core: 2.13.2)