Something seems to be preventing this to deploy on a local testnet. This is the error I keep seeing:
Transaction Inject BMICoverStaking: gas used 229068, hash 0x5b97a65dcd950a14390dcfd73f118aa848b516249bbf06ce0f3ce8d835a0f3aa
Error: Returned error: VM Exception while processing transaction: revert
at module.exports (/bridgemutual-public/migrations/90_init_all.js:135:29)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at Migration._deploy (/bridgemutual-public/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:73:1)
at Migration._load (/bridgemutual-public/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:55:1)
at Migration.run (/bridgemutual-public/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:171:1)
at Object.runMigrations (/bridgemutual-public/node_modules/truffle/build/webpack:/packages/migrate/index.js:150:1)
at Object.runFrom (/bridgemutual-public/node_modules/truffle/build/webpack:/packages/migrate/index.js:110:1)
at Object.runAll (/bridgemutual-public/node_modules/truffle/build/webpack:/packages/migrate/index.js:114:1)
at Object.run (/bridgemutual-public/node_modules/truffle/build/webpack:/packages/migrate/index.js:79:1)
at runMigrations (/bridgemutual-public/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate.js:269:1)
at /bridgemutual-public/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate.js:231:1
Truffle v5.1.49 (core: 5.1.49)
Node v14.17.5
Something seems to be preventing this to deploy on a local testnet. This is the error I keep seeing:
This is happening when the script gets here:
For some reason it doesn't want to inject the dependency of the rewards generator. Any idea why?