Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Commit 86e6d83

Browse files
authored
Merge branch 'biweekly-runs' into test-workflow
2 parents b723d0e + 57202d0 commit 86e6d83

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/collect_fees.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ jobs:
3333
start_timestamp=$(date -d "$start_day 00:00:00" +"%s")
3434
end_timestamp=$((start_timestamp + 60*60*24*14)) # 2 weeks later
3535
pip3 install -r requirements.txt
36-
python3 main.py --ts_now $end_timestamp --ts_in_the_past $start_timestamp --fees_file_name fees_${date_range_string}.json --output_file_name incentives_${date_range_string}.csv
37-
# python3 generate_merged_allocation_csv.py ## don't think this is needed anymore
36+
37+
# v2 run
38+
python3 main.py --ts_now $end_timestamp --ts_in_the_past $start_timestamp --fees_file_name fees_${date_range_string}.json --output_file_name incentives_${date_range_string}.csv --protocol_version v2
39+
# v3 run
40+
python3 main.py --ts_now $end_timestamp --ts_in_the_past $start_timestamp --fees_file_name fees_${date_range_string}.json --output_file_name incentives_${date_range_string}.csv --protocol_version v3
41+
python3 combine_payloads.py --payload_file_name fees_${date_range_string}.json
3842
- name: Create PR
3943
id: cpr
4044
uses: peter-evans/create-pull-request@v7

.github/workflows/trigger_fee_collection.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
type: string
1010
push:
1111
branches:
12-
- main
12+
- test-workflow
1313
paths:
1414
- 'fee_allocator/fees_collected/*.json'
1515

0 commit comments

Comments
 (0)