This PR handles issue #11 . It's a complete, self-contained Nomad hack replica with Circuit Breaker enabled. This code modifies original Nomad code to show how the attack could be prevented by using Circuit Breaker.
Running the tests requires no additional action - it reuses Circuit Breaker from src/ folder and is set as a part of test suite under test/hack-replica/nomad. Running forge test automatically runs Nomad test as well.
This PR handles issue #11 . It's a complete, self-contained Nomad hack replica with Circuit Breaker enabled. This code modifies original Nomad code to show how the attack could be prevented by using Circuit Breaker.
Running the tests requires no additional action - it reuses Circuit Breaker from
src/
folder and is set as a part of test suite undertest/hack-replica/nomad
. Runningforge test
automatically runs Nomad test as well.