Skip to content

Commit 5b5331e

Browse files
committed
ci: add mock envs
1 parent eeab1af commit 5b5331e

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/foundry-tests.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,18 @@ jobs:
2424

2525
- name: Run Tests
2626
working-directory: ./apps/contracts
27+
env:
28+
# Standard Dev/Anvil Keys & Addresses
29+
DEPLOYER_PRIVATE_KEY: 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
30+
AI_AGENT_ADDRESS: 0x70997970C51812dc3A010C7d01b50e0d17dc79C8
31+
TREASURY_ADDRESS: 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC
32+
# Protocol Logic Values
33+
REPUTATION_BOOST: 10
34+
PUBLISHER_MIN_FEE: 10000000000000000 # 0.01 ETH
35+
PUBLISHER_STAKE: 50000000000000000 # 0.05 ETH
36+
REVIEWER_STAKE: 20000000000000000 # 0.02 ETH
37+
REVIEWER_REWARD: 10000000000000000 # 0.01 ETH
38+
VRF_NUM_WORDS: 3
2739
run: |
28-
# We check if lib is empty; if not, we skip forge install to save time
2940
if [ -z "$(ls -A lib)" ]; then forge install; fi
3041
forge test -vvv

0 commit comments

Comments
 (0)