Skip to content
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

Implement actual AVS functionality #30

Merged
merged 52 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
a7eed42
start fixing ava-sdk-js test
v9n Nov 14, 2024
31fb659
add create wallet test
v9n Nov 14, 2024
b178ec5
run test with local docker
v9n Nov 14, 2024
5ceffca
SDK is 100% working
v9n Nov 19, 2024
361e2b2
add 2 ore attestion
v9n Nov 19, 2024
c2d3530
remvoe magic const
v9n Nov 19, 2024
24c2028
more fixed test
v9n Nov 20, 2024
8424188
add ulid
v9n Nov 20, 2024
52c6226
fix get addresses test
v9n Nov 20, 2024
463c28a
fix get Task
v9n Nov 20, 2024
5a0929e
fix list task
v9n Nov 20, 2024
4e01b01
wait for aggregator
v9n Nov 20, 2024
5ce463e
wait server ready
v9n Nov 20, 2024
d9bcb71
run compose up early
v9n Nov 20, 2024
415b364
run compose up very early
v9n Nov 20, 2024
179a8f7
no head
v9n Nov 20, 2024
d5300aa
update test
v9n Nov 20, 2024
0d59d3a
update github action
v9n Nov 20, 2024
52ccbe1
use 2 different provider for unittest
v9n Nov 20, 2024
8e4ad91
add information about apikey
v9n Nov 20, 2024
fefd122
improve test reliabilioty
v9n Nov 20, 2024
33a330d
remove unused secret
v9n Nov 20, 2024
deb660c
fix workflow file
v9n Nov 20, 2024
a75597d
use pre-define dummy private key for deterministic test
v9n Nov 20, 2024
504d97a
implement trigger
v9n Nov 20, 2024
262bd7c
update node return type
v9n Nov 20, 2024
eebb69e
use vinh's rpc to run test
v9n Nov 20, 2024
98aca01
update type
v9n Nov 20, 2024
7db6649
add compiled file
v9n Nov 20, 2024
906793f
fix all test
v9n Nov 20, 2024
200ef71
completed all node type
v9n Nov 20, 2024
77d66ce
update type
v9n Nov 20, 2024
b6355ca
pr feedback
v9n Nov 20, 2024
bb887d8
switch to dist
v9n Nov 20, 2024
7f5a762
test
v9n Nov 20, 2024
8111a80
update fixture name
v9n Nov 20, 2024
ce82fc0
update readme
v9n Nov 20, 2024
0fbb45b
update
v9n Nov 20, 2024
fee4ca0
add backend endpoint
v9n Nov 20, 2024
5efd01d
run test agains local and staging
v9n Nov 20, 2024
b5be367
add sleep to wait
v9n Nov 20, 2024
1dbc3de
export right env
v9n Nov 20, 2024
f672150
wait
v9n Nov 20, 2024
457aeed
debug
v9n Nov 20, 2024
173a81b
separea local and staging test
v9n Nov 20, 2024
7666f88
Added auto-replace command of TEST_API_KEY to gen-apikey
chrisli30 Nov 21, 2024
82848b1
Removed dist folder since we can auto-generate it now
chrisli30 Nov 21, 2024
ebbc05a
Added grpc-tools to package.json dependency
chrisli30 Nov 21, 2024
05aa834
Remove the ./dist folder
chrisli30 Nov 21, 2024
924a64c
Cleaned up README to remove old instructions
chrisli30 Nov 21, 2024
a8200fc
Merge pull request #31 from AvaProtocol/chris-cleanup_readme
v9n Nov 21, 2024
23000c4
split workflow
v9n Nov 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/run-test-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}
TOKEN_CONTRACT: ${{ vars.TOKEN_CONTRACT }}
ORACLE_CONTRACT: ${{ vars.ORACLE_CONTRACT }}
ENDPOINT: ${{ vars.ENDPOINT }}
ENDPOINT: localhost:2206

steps:
- name: Checkout repository
Expand All @@ -35,6 +35,10 @@ jobs:
echo "ORACLE_CONTRACT: $ORACLE_CONTRACT"
echo "ENDPOINT: $ENDPOINT"
echo "TEST_PRIVATE_KEY is set: ${{ env.TEST_PRIVATE_KEY != '' }}"


- name: Bring up docker compose
run: |
docker compose up -d

- name: Run tests
run: npm test
1 change: 1 addition & 0 deletions config/aggregator.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Dummy unsecure test key. do not deposit real fund to here
# Wallet: 0x578B110b0a7c06e66b7B1a33C39635304aaF733c
ecdsa_private_key: e0502ddd5a0d05ec7b5c22614a01c8ce783810edaa98e44cc82f5fa5a819aaa9

eth_rpc_url: https://holesky.gateway.tenderly.co/6PJfDJkrMGBl3f4MuyU5M
Expand Down
4,506 changes: 0 additions & 4,506 deletions dist/index.cjs

This file was deleted.

Loading
Loading