-
Notifications
You must be signed in to change notification settings - Fork 0
Global supervisor rebalancing + auto-register + strict proofs + E2E tests #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 58 commits
9d683ae
1328184
eaf0409
860d7f1
22d76d6
d833ef6
ffe84e9
6dd2bc0
c105c5d
06a510c
0db89c1
261a7c8
de080df
3724952
95ab264
82c48b4
3fbdd1c
cd6ba15
e1b4bfb
1f46409
3cf03b1
a5e7832
7f5fa7f
3449061
2e1fe1e
0178794
33a574b
2b0bf5e
d2d723c
38218cf
e62e425
29ba554
d609ebe
efacc8f
e07cfd2
7ab987e
202874d
56479e5
566546c
e26869c
9ccf5c4
7a1c0d9
76e5b4b
f8c19cb
bba51dc
7c3d2e8
5cb32d3
062c0e5
ec79ef1
06e4a63
5f5caf9
820edc9
556456a
aa34ac2
75d7c4d
806e9de
163e560
c9364c7
2479635
0ef0683
6f8bcde
96044e7
433081a
9c74470
02377e2
45bee5e
52a6258
a469248
153816f
68f640f
47453cb
5096723
4f7cebc
e0b6f5c
dc54119
6134b43
7f978c7
af192d2
cf8785c
db8bca1
5b4e39d
6adc499
b44b2ce
4efa8a7
97325af
c3919cc
58b70af
e3019f7
64c8bb2
72a3e02
e3c166c
75efd4c
6effe91
59333a5
b87c507
ff399e7
7196ac5
5ce334f
df7d910
e6c63a0
0f1e02f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "setup-worktree": [ | ||
| "npm install" | ||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
|
|
||
| keshav-scheduled-testnet.pkey | ||
| demo2.pkey |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| name: Scheduled Rebalance Tests | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - scheduled-rebalancing | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| scheduled-rebalance-tests: | ||
| name: FlowVaults Scheduled Rebalancing Tests | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| token: ${{ secrets.GH_PAT }} | ||
| submodules: recursive | ||
| - name: Set up Go | ||
| uses: actions/setup-go@v3 | ||
| with: | ||
| go-version: "1.23.x" | ||
| - uses: actions/cache@v4 | ||
| with: | ||
| path: ~/go/pkg/mod | ||
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-go- | ||
| - name: Install Flow CLI | ||
| run: sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)" | ||
| - name: Flow CLI Version | ||
| run: flow version | ||
| - name: Update PATH | ||
| run: echo "/root/.local/bin" >> $GITHUB_PATH | ||
| - name: Install dependencies | ||
| run: flow deps install --skip-deployments | ||
| - name: Run scheduled rebalancing tests | ||
| run: | | ||
| flow test \ | ||
| cadence/tests/scheduled_rebalance_integration_test.cdc \ | ||
| cadence/tests/scheduled_rebalance_scenario_test.cdc \ | ||
| cadence/tests/tide_lifecycle_test.cdc \ | ||
| cadence/tests/atomic_registration_gc_test.cdc \ | ||
| cadence/tests/scheduled_supervisor_test.cdc \ | ||
| cadence/tests/scheduler_edge_cases_test.cdc | ||
|
|
||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,3 +20,6 @@ solidity/out/ | |
| broadcast | ||
| cache | ||
| db | ||
|
|
||
| # logs | ||
| run_logs/*.log | ||
|
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -5,6 +5,7 @@ import "ViewResolver" | |||
| // DeFiActions | ||||
| import "DeFiActions" | ||||
| import "FlowVaultsClosedBeta" | ||||
| // Note: FlowVaultsScheduler registration moved to FlowVaultsAutoBalancers | ||||
|
||||
| // Note: FlowVaultsScheduler registration moved to FlowVaultsAutoBalancers |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need this comment here
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to the above comment - I don't think we need this comment here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why npm? there is no nodejs code here