|
|
|
@ -63,6 +63,13 @@ export class Web3ProviderModule extends Plugin { |
|
|
|
|
await this.call('compilerArtefacts', 'addResolvedContract', contractAddressStr, data) |
|
|
|
|
} |
|
|
|
|
}, 50) |
|
|
|
|
const isVM = this.blockchain.executionContext.isVM() |
|
|
|
|
|
|
|
|
|
if (isVM) { |
|
|
|
|
await this.blockchain.executionContext.getStateDetails().then((state) => { |
|
|
|
|
this.call('fileManager', 'writeFile', `.states/${this.blockchain.executionContext.getProvider()}/state.json`, state) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
resolve(message) |
|
|
|
|