Update packages, remove errant logs

pull/319/head
Alex 6 years ago
parent 4ad1d12e60
commit f251edc06b
  1. 2821
      package-lock.json
  2. 2
      package.json
  3. 4
      test/app.js
  4. 1
      test/util/vm.js

2821
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -45,7 +45,7 @@
"ethereumjs-vm": "https://github.com/sc-forks/ethereumjs-vm-sc.git#6be86e6f12634b711423203e6744cafe07c38e69",
"merkle-patricia-tree": "~2.1.2",
"mocha": "^4.1.0",
"request": "^2.81.0",
"request": "^2.88.0",
"solc": "^0.5.3",
"truffle": "^5.0.0"
}

@ -53,7 +53,7 @@ describe('app', () => {
//
// #2: Creating repeated instances of testrpc hits the container memory limit on
// CI so these tests are disabled for that context
it('config with testrpc options string: should generate coverage, cleanup & exit(0)', () => {
it.only('config with testrpc options string: should generate coverage, cleanup & exit(0)', () => {
if (!process.env.CI) {
const privateKey = '0x3af46c9ac38ee1f01b05f9915080133f644bf57443f504d339082cb5285ccae4';
const balance = '0xfffffffffffffff';
@ -237,7 +237,7 @@ describe('app', () => {
collectGarbage();
});
it('testrpc-sc signs and recovers messages correctly', () => {
it.only('testrpc-sc signs and recovers messages correctly', () => {
// sign.js signs and recovers
mock.install('Simple.sol', 'sign.js', config);
shell.exec(script);

@ -142,7 +142,6 @@ function callMethod(vm, abi, address, functionName, args) {
module.exports.execute = function ex(contract, functionName, args) {
const input = codeToCompilerInput(contract);
const output = JSON.parse(solc.compile(input));
console.log(output)
const code = new Buffer(output.contracts['test.sol']['Test'].evm.bytecode.object, 'hex');
const abi = getAbi(contract, output);
const stateTrie = new Trie();

Loading…
Cancel
Save