Skip to content

Commit

Permalink
clean-up todo
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed Oct 10, 2023
1 parent de30a92 commit 5bab432
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ commands:
description: "Restore the cache with pyspec keys"
steps:
- restore_cached_venv:
venv_name: v25-pyspec
venv_name: v24-pyspec
reqs_checksum: cache-{{ checksum "setup.py" }}-{{ checksum "requirements_preinstallation.txt" }}
save_pyspec_cached_venv:
description: Save a venv into a cache with pyspec keys"
steps:
- save_cached_venv:
venv_name: v25-pyspec
venv_name: v24-pyspec
reqs_checksum: cache-{{ checksum "setup.py" }}-{{ checksum "requirements_preinstallation.txt" }}
venv_path: ./venv
restore_deposit_contract_tester_cached_venv:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches:
- dev
- master
pull_request:
pull_request:
workflow_dispatch:
inputs:
test_preset_type:
Expand Down Expand Up @@ -111,4 +111,4 @@ jobs:
ls -la ./
rm -rf ./* || true
rm -rf ./.??* || true
ls -la ./
ls -la ./
Original file line number Diff line number Diff line change
Expand Up @@ -107,19 +107,7 @@ def test_invalid_shuffle_bad_trackers_zero(spec, state):
body.whisk_post_shuffle_trackers[0] = spec.WhiskTracker()
yield from run_process_shuffled_trackers(spec, state, body, valid=False)

# TODO: This test does not fail
# @with_whisk_and_later
# @spec_state_test
# def test_invalid_shuffle_bad_trackers_swap(spec, state):
# body = empty_block_body(spec)
# set_correct_shuffle_proofs(spec, state, body)
# assert body.whisk_post_shuffle_trackers[0] != body.whisk_post_shuffle_trackers[1]
# tracker_0 = body.whisk_post_shuffle_trackers[0]
# body.whisk_post_shuffle_trackers[0] = body.whisk_post_shuffle_trackers[1]
# body.whisk_post_shuffle_trackers[1] = tracker_0
# yield from run_process_shuffled_trackers(spec, state, body, valid=False)

# Invalid things on gap
# Invalid cases on gap
# - not empty shuffle trackers
# - not empty proof

Expand Down

0 comments on commit 5bab432

Please sign in to comment.