Browse Source

Fix solidity tests.

cl-refactor
Gav Wood 10 years ago
parent
commit
fd404dee5d
  1. 4
      libjsqrc/ethereumjs/dist/web3-light.js
  2. 2
      libjsqrc/ethereumjs/dist/web3-light.js.map
  3. 2
      libjsqrc/ethereumjs/dist/web3-light.min.js
  4. 2323
      libjsqrc/ethereumjs/dist/web3.js
  5. 10
      libjsqrc/ethereumjs/dist/web3.js.map
  6. 4
      libjsqrc/ethereumjs/dist/web3.min.js
  7. 4
      libjsqrc/ethereumjs/lib/web3/eth.js
  8. 4
      test/SolidityEndToEndTest.cpp

4
libjsqrc/ethereumjs/dist/web3-light.js

@ -1664,7 +1664,7 @@ var getBlock = new Method({
name: 'getBlock', name: 'getBlock',
call: blockCall, call: blockCall,
params: 2, params: 2,
inputFormatter: [utils.toHex, function (val) { return !!val; }], inputFormatter: [formatters.inputBlockNumberFormatter, function (val) { return !!val; }],
outputFormatter: formatters.outputBlockFormatter outputFormatter: formatters.outputBlockFormatter
}); });
@ -1672,7 +1672,7 @@ var getUncle = new Method({
name: 'getUncle', name: 'getUncle',
call: uncleCall, call: uncleCall,
params: 3, params: 3,
inputFormatter: [utils.toHex, utils.toHex, function (val) { return !!val; }], inputFormatter: [formatters.inputBlockNumberFormatter, utils.toHex, function (val) { return !!val; }],
outputFormatter: formatters.outputBlockFormatter, outputFormatter: formatters.outputBlockFormatter,
}); });

2
libjsqrc/ethereumjs/dist/web3-light.js.map

File diff suppressed because one or more lines are too long

2
libjsqrc/ethereumjs/dist/web3-light.min.js

File diff suppressed because one or more lines are too long

2323
libjsqrc/ethereumjs/dist/web3.js

File diff suppressed because it is too large

10
libjsqrc/ethereumjs/dist/web3.js.map

File diff suppressed because one or more lines are too long

4
libjsqrc/ethereumjs/dist/web3.min.js

File diff suppressed because one or more lines are too long

4
libjsqrc/ethereumjs/lib/web3/eth.js

@ -102,7 +102,7 @@ var getBlock = new Method({
name: 'getBlock', name: 'getBlock',
call: blockCall, call: blockCall,
params: 2, params: 2,
inputFormatter: [utils.toHex, function (val) { return !!val; }], inputFormatter: [formatters.inputBlockNumberFormatter, function (val) { return !!val; }],
outputFormatter: formatters.outputBlockFormatter outputFormatter: formatters.outputBlockFormatter
}); });
@ -110,7 +110,7 @@ var getUncle = new Method({
name: 'getUncle', name: 'getUncle',
call: uncleCall, call: uncleCall,
params: 3, params: 3,
inputFormatter: [utils.toHex, utils.toHex, function (val) { return !!val; }], inputFormatter: [formatters.inputBlockNumberFormatter, utils.toHex, function (val) { return !!val; }],
outputFormatter: formatters.outputBlockFormatter, outputFormatter: formatters.outputBlockFormatter,
}); });

4
test/SolidityEndToEndTest.cpp

@ -1522,8 +1522,6 @@ BOOST_AUTO_TEST_CASE(ecrecover)
BOOST_CHECK(callContractFunction("a(bytes32,uint8,bytes32,bytes32)", h, v, r, s) == encodeArgs(addr)); BOOST_CHECK(callContractFunction("a(bytes32,uint8,bytes32,bytes32)", h, v, r, s) == encodeArgs(addr));
} }
#endif
BOOST_AUTO_TEST_CASE(inter_contract_calls) BOOST_AUTO_TEST_CASE(inter_contract_calls)
{ {
char const* sourceCode = R"( char const* sourceCode = R"(
@ -3683,3 +3681,5 @@ BOOST_AUTO_TEST_SUITE_END()
} }
} }
} // end namespaces } // end namespaces
#endif

Loading…
Cancel
Save