use previous version of remix lib

pull/1/head
yann300 5 years ago
parent a3cd459e6b
commit 3b8185cd1a
  1. 17984
      package-lock.json
  2. 10
      package.json
  3. 7
      src/app/tabs/runTab/model/settings.js
  4. 5
      src/app/udapp/run-tab.js

17984
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -51,12 +51,12 @@
"npm-merge-driver": "^2.3.5",
"npm-run-all": "^4.0.2",
"onchange": "^3.2.1",
"remix-analyzer": "0.3.10",
"remix-debug": "0.3.11",
"remix-lib": "0.4.9",
"remix-solidity": "0.3.12",
"remix-analyzer": "0.3.11",
"remix-debug": "0.3.12",
"remix-lib": "0.4.10",
"remix-solidity": "0.3.13",
"remix-tabs": "1.0.48",
"remix-tests": "0.1.15",
"remix-tests": "0.1.16",
"remixd": "0.1.8-alpha.7",
"request": "^2.83.0",
"rimraf": "^2.6.1",

@ -10,13 +10,6 @@ class Settings {
constructor (udapp) {
this.udapp = udapp
this.event = new EventManager()
this.commits = 0
this.udapp.event.register('initiatingTransaction', (error, from, to, data, lookupOnly, txResult) => {
if (error) console.log(error)
executionContext.checkpointAndCommit(() => console.log('checkpoint on VM', this.commits), this.commits)
this.commits++
})
this.udapp.event.register('transactionExecuted', (error, from, to, data, lookupOnly, txResult) => {
this.event.trigger('transactionExecuted', [error, from, to, data, lookupOnly, txResult])

@ -45,6 +45,8 @@ export class RunTab extends LibraryPlugin {
this.filePanel = filePanel
this.compilersArtefacts = compilersArtefacts
this.networkModule = networkModule
executionContext.checkpointAndCommit(() => { console.log('initial checkpoint and commit of JavaScript VM') })
}
onActivationInternal () {
@ -70,7 +72,7 @@ export class RunTab extends LibraryPlugin {
},
getGasLimit: (cb) => {
try {
cb(null, new ethJSUtil.BN($('#gasLimit').val(), 10))
cb(null, '0x' + new ethJSUtil.BN($('#gasLimit').val(), 10).toString(16))
} catch (e) {
cb(e.message)
}
@ -202,7 +204,6 @@ export class RunTab extends LibraryPlugin {
executionContext.init(this.config)
executionContext.stopListenOnLastBlock()
executionContext.listenOnLastBlock()
executionContext.checkpointAndCommit(() => console.log('checkpoint on VM'), 0)
this.udapp.resetEnvironment()
this.renderInstanceContainer()
this.renderSettings(this.udapp)

Loading…
Cancel
Save