Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineRondelet committed Apr 23, 2021
1 parent 265c5ec commit 8c79f27
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions scripts/ci
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,25 @@ function check_format() {

function check_contracts() {
# Setup the zeth_contracts dir
ganache_setup
#ganache_setup

# Run checks in zeth_contracts
pushd zeth_contracts
npm run check
popd # zeth_contracts

# Run contract tests (in python)
_setup_client
#_setup_client

ganache_start
#ganache_start

pushd client
. env/bin/activate
make test_contracts
deactivate
popd
#pushd client
#. env/bin/activate
#make test_contracts
#deactivate
#popd

ganache_stop
#ganache_stop
}

function check_client() {
Expand Down
4 changes: 2 additions & 2 deletions zeth_contracts/contracts/BaseMixer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,9 @@ abstract contract BaseMixer is BaseMerkleTree, ERC223ReceivingContract
// solhint-disable-next-line max-line-length
13196537064117388418196223856311987714388543839552400408340921397545324034315));
for (uint256 i = 0 ; i < _NUM_INPUTS; ++i) {
h = hash(h, bytes32(publicData[i]));
h = _hash(h, bytes32(publicData[i]));
}
h = hash(h, bytes32(_NUM_INPUTS));
h = _hash(h, bytes32(_NUM_INPUTS));
return uint256(h);
}

Expand Down

0 comments on commit 8c79f27

Please sign in to comment.