This repository was archived by the owner on Apr 14, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 99 type : string
1010 push :
1111 branches :
12- - main
12+ - test-workflow
1313 paths :
1414 - ' fee_allocator/fees_collected/*.json'
1515
You can’t perform that action at this time.
0 commit comments