1. 20 May, 2019 5 commits
    • Scott Tsai's avatar
      remix-solidity: add compiler.setEvmVersion() · f7b4230e
      Scott Tsai authored
      Add a way to pass the `evmVersion` parameter
      to `solc` by:
      
      1. Simplify the `Compiler.compileJSON()` interface from
      `compileJSON(source, optimize)` to `compileJSON(source)`
      
      Whether optimization is enabled is then always determined by
      the `Compiler.optimize` object field which simplifies data flow.
      
      2. Add a `Compiler.evmVersion` field and a setter and
      make `compileJSON()` honor that.
      
      Specifying `evmVersion` is useful when targetting an older
      private chain with the latest `solc` or when using
      an EVM-compatible chain that's slightly behind Ethereum
      main-net in terms of features.
      
      The unused `userAgent` variable in `onInternalCompilerLoaded` was
      only removed to fix `npm run test` for `remix-solidity`'.
      f7b4230e
    • yann300's avatar
      Merge pull request #1192 from ethereum/bumpVersion · d311c900
      yann300 authored
      publish lerna
      d311c900
    • yann300's avatar
      publish lerna · b9341620
      yann300 authored
      b9341620
    • yann300's avatar
      Merge pull request #1190 from ethereum/debugerFix · 1af0591b
      yann300 authored
      Various Fix on Debugger
      1af0591b
    • yann300's avatar
      use es6 · c5f79727
      yann300 authored
      c5f79727
  2. 16 May, 2019 5 commits
  3. 11 May, 2019 5 commits
  4. 10 May, 2019 3 commits
  5. 09 May, 2019 1 commit
  6. 08 May, 2019 1 commit
  7. 07 May, 2019 1 commit
    • Scott Tsai's avatar
      remix-debug depends on web3 · f97db6e3
      Scott Tsai authored
      remix-debug has the following line in `src/cmdline/index.js`:
      ```
      var Web3 = require('web3')
      
      <... snip ...>
      
        connect (providerType, url) {
          if (providerType !== 'http') throw new Error('unsupported provider type')
          this.web3 = new Web3(new Web3.providers.HttpProvider(url))
        }
      
      ```
      
      So it should either mark `web3` as a dependency in `package.json` or
      refactor `remix-lib` to provide a web3 provider that can take an
      `url` paramter.
      
      This patch does the former and makes `remix-debug` depend on the same
      version of `web3` as `remix-lib` in `package.json`.
      f97db6e3
  8. 03 May, 2019 4 commits
  9. 02 May, 2019 2 commits
  10. 29 Apr, 2019 1 commit
    • subtly's avatar
      fix for electron w/dynamic loading of solcjson · 8a711542
      subtly authored
      This is a fix so that remix will work inside of electron, and presumably, it makes sense for dynamic downloading of solidity compiler. When I enable node integration with electron and install solc node module, it looks like it works for a second, but then it too does not work (page goes blank).
      
      I'm not sure if require() works here with node, as I believe solcjson would need to be downloaded into a path that can be resolved by require (typically node_modules). Notably, electron docs recommend against enabling node integration when remote scripts are loaded dynamically.
      8a711542
  11. 25 Apr, 2019 12 commits