This repository was archived by the owner on Mar 3, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,17 @@ var util = require('../src/util')
66var compiler = require ( 'solc' )
77var compilerInput = require ( '../src/helpers/compilerHelper' ) . compilerInput
88var executionContext = require ( '../src/execution/execution-context' )
9+ var solidityVersion = 'v0.5.4+commit.9549d8ff'
910
1011/* tape *********************************************************** */
12+ tape ( 'load compiler ' + solidityVersion , function ( t ) {
13+ compiler . loadRemoteVersion ( solidityVersion , ( error , solcSnapshot ) => {
14+ if ( error ) console . log ( error )
15+ console . warn ( 'testing *txFormat* against' , solidityVersion )
16+ compiler = solcSnapshot
17+ t . end ( )
18+ } )
19+ } )
1120
1221var context
1322tape ( 'ContractParameters - (TxFormat.buildData) - format input parameters' , function ( t ) {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ var async = require('async')
44var path = require ( 'path' )
55let RemixCompiler = require ( 'remix-solidity' ) . Compiler
66
7- String . prototype . regexIndexOf = function ( regex , startpos ) {
7+ String . prototype . regexIndexOf = function ( regex , startpos ) { // eslint-disable-line
88 var indexOf = this . substring ( startpos || 0 ) . search ( regex )
99 return ( indexOf >= 0 ) ? ( indexOf + ( startpos || 0 ) ) : indexOf
1010}
You can’t perform that action at this time.
0 commit comments