Skip to content

The repository contains Power Agent Light, a light version of Power Agent V2 that uses gas wars as a Keeper selection algorithm.

Notifications You must be signed in to change notification settings

powerpool-finance/powerpool-agent-v2-light

Repository files navigation

PowerPool Agent V2 Light

WARNING: The previous version of PowerPool Agent V2 v2.2.0, now referred to as light, has been temporarily deprecated in favor of the randao version. We plan to reintroduce support for it in the future. You can find randao version here https://github.com/powerpool-finance/powerpool-agent-v2.

How to run tests

  • Clone the repo git clone --recurse-submodules https://github.com/powerpool-finance/powerpool-agent-v2.git
  • Set up foundry https://github.com/foundry-rs/foundry#installation. At the moment the following instructions are valid:
    • curl -L https://foundry.paradigm.xyz | bash
    • Reload your PATH env var, for ex. by restarting a terminal session
    • foundryup
  • Run all the tests:
forge test -vvv
  • Run a particular test (verbose details only if a test fails, 3-v):
forge test -vvv -m testSetAgentParams
  • Print verbose debug info for a test (4-v):
forge test -vvvv -m testSetAgentParams
  • Re-compile all contracts with sizes output:
forge build --sizes --force

About

The repository contains Power Agent Light, a light version of Power Agent V2 that uses gas wars as a Keeper selection algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •