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

Sync prod w/ main #1219

Merged
merged 100 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
ca1e0f9
update taurus blockscout link
Xm0onh Feb 11, 2025
9e69ebe
Merge pull request #1190 from autonomys/ref/update-taurusEvmExplorer-…
Xm0onh Feb 11, 2025
8651988
add more table for deregistration and unlock events
marc-aurele-besner Feb 11, 2025
e0b33bc
add schema and metadata for these tables
marc-aurele-besner Feb 11, 2025
7782d9f
add db utils for these new tables
marc-aurele-besner Feb 11, 2025
8566aa6
add events handler for these new events
marc-aurele-besner Feb 11, 2025
52ba5ee
remove logging
marc-aurele-besner Feb 11, 2025
22d67fb
add more trigger logic
marc-aurele-besner Feb 11, 2025
a94e291
fix volume random name for api
marc-aurele-besner Feb 11, 2025
1c7c35d
declare volume
marc-aurele-besner Feb 11, 2025
8ace116
improve api dockerfile
marc-aurele-besner Feb 11, 2025
65747f9
update codegen
marc-aurele-besner Feb 11, 2025
d0d460e
fix operators id sorting
marc-aurele-besner Feb 11, 2025
019e6b9
fix full download on operators page
marc-aurele-besner Feb 11, 2025
a22a82e
rename _id field to avoid collision on codegen
marc-aurele-besner Feb 11, 2025
9285632
fix full download on domain and op
marc-aurele-besner Feb 11, 2025
f70c969
redo codegen to fix collision
marc-aurele-besner Feb 11, 2025
645d849
refactor: 🔨 Replace the small serif font on the Home card and other p…
iamnamananand996 Feb 11, 2025
ed9886e
fix my position switch
marc-aurele-besner Feb 11, 2025
684347f
Merge pull request #1195 from iamnamananand996/refactor-Replace-the-s…
marc-aurele-besner Feb 11, 2025
600e0d5
add the old myStake plus new yourStake to troubleshoot
marc-aurele-besner Feb 11, 2025
bea81f4
Split discord role per network in BE
marc-aurele-besner Feb 12, 2025
5eab4f2
apply change to frontend and default token
marc-aurele-besner Feb 12, 2025
b727610
Merge branch 'main' into feat/add-events-mapping-in-staking-indexer
marc-aurele-besner Feb 12, 2025
0769fb8
Merge pull request #1191 from autonomys/feat/add-events-mapping-in-st…
marc-aurele-besner Feb 12, 2025
1d83de2
Merge branch 'main' into fix/api-volume-random
marc-aurele-besner Feb 12, 2025
b2b43de
Merge pull request #1192 from autonomys/fix/api-volume-random
marc-aurele-besner Feb 12, 2025
dba1018
Merge branch 'main' into fix/staking-metadata
marc-aurele-besner Feb 12, 2025
5867878
Merge pull request #1193 from autonomys/fix/staking-metadata
marc-aurele-besner Feb 12, 2025
ad9ee8d
Merge branch 'main' into feat/split-discord-roles-per-network
marc-aurele-besner Feb 12, 2025
1f85be1
Merge pull request #1196 from autonomys/feat/split-discord-roles-per-…
marc-aurele-besner Feb 12, 2025
fd02409
add DomainProgress
marc-aurele-besner Feb 12, 2025
cf60b4a
Merge branch 'main' into feat/improve-staking-interface
marc-aurele-besner Feb 12, 2025
2d99a13
add support for multiple address format on rewards page
marc-aurele-besner Feb 12, 2025
53a6ade
Merge pull request #1198 from autonomys/1197-add-support-for-multiple…
marc-aurele-besner Feb 12, 2025
919804a
fix your stake column
marc-aurele-besner Feb 13, 2025
314060f
Merge branch 'main' into feat/improve-staking-interface
marc-aurele-besner Feb 13, 2025
1eb6cf2
fix domain progress card time estimate
marc-aurele-besner Feb 13, 2025
4a91e34
feat: ✨ home card left counter up animation
iamnamananand996 Feb 13, 2025
0364059
feat: ✨ add decimal
iamnamananand996 Feb 13, 2025
37ab410
enable nomination page
marc-aurele-besner Feb 13, 2025
c353178
Merge pull request #1201 from iamnamananand996/feat-homecard-couter-u…
marc-aurele-besner Feb 13, 2025
14c6185
add table relation in staking tables
marc-aurele-besner Feb 13, 2025
b5a8c82
rename stacked_unlocked_events to unlocked_events
marc-aurele-besner Feb 13, 2025
bb49615
fix logic
marc-aurele-besner Feb 13, 2025
0ff41d1
add handle_withdraw_events trigger and total withdrawals count on nom…
marc-aurele-besner Feb 13, 2025
180ae33
fix metadata
marc-aurele-besner Feb 13, 2025
5c89f80
Merge pull request #1202 from autonomys/feat/add-more-staking-tables-…
marc-aurele-besner Feb 14, 2025
61d2435
Merge branch 'main' into fix/error-in-db-init
marc-aurele-besner Feb 14, 2025
d58a65e
This health check is obsolete and also has many vulnerabilities
DaMandal0rian Feb 14, 2025
3a598ef
Merge pull request #1204 from autonomys/remove-old-healthcheck
DaMandal0rian Feb 14, 2025
0eb94a1
Merge branch 'main' into fix/error-in-db-init
marc-aurele-besner Feb 14, 2025
40e8a96
remove health-check from workflow
marc-aurele-besner Feb 14, 2025
7e59833
remove deploy subql workflow
marc-aurele-besner Feb 14, 2025
d9817f9
remove health-check from readme
marc-aurele-besner Feb 14, 2025
6b8795c
rename workflow job
marc-aurele-besner Feb 14, 2025
fb9952c
Merge pull request #1203 from autonomys/fix/error-in-db-init
marc-aurele-besner Feb 14, 2025
a8a7de0
Merge branch 'main' into fix/fix-workflow-after-removal-of-health-check
marc-aurele-besner Feb 14, 2025
b2a3d02
Merge pull request #1207 from autonomys/fix/fix-workflow-after-remova…
marc-aurele-besner Feb 14, 2025
ac0e7b7
Merge branch 'main' into feat/improve-staking-interface
marc-aurele-besner Feb 14, 2025
785fb74
add support for Talisman wallet
marc-aurele-besner Feb 14, 2025
f8bd49a
dynamically connect to all domains rpc base on chain
marc-aurele-besner Feb 14, 2025
ad9bdf2
Merge pull request #1209 from autonomys/feat/add-support-for-talisman…
marc-aurele-besner Feb 14, 2025
173989f
fix op.id in trigger for OperatorDeregistration
marc-aurele-besner Feb 15, 2025
28e60bf
fix the wrong table reference inside the unlocked funds trigger
marc-aurele-besner Feb 15, 2025
6230a87
update all indexers to auto-sdk 1.3.1
marc-aurele-besner Feb 15, 2025
3043766
update explorer to auto-sdk 1.3.1
marc-aurele-besner Feb 15, 2025
fcc97b6
fix staking withdrawals mapping following auto-sdk update
marc-aurele-besner Feb 15, 2025
68756d0
fix explorer build following update
marc-aurele-besner Feb 15, 2025
e36983d
fix status for raw_status on hardcoded status change
marc-aurele-besner Feb 15, 2025
4c59fef
fix typo in db helper
marc-aurele-besner Feb 15, 2025
872e7b7
add domain_id to DepositHistory
marc-aurele-besner Feb 15, 2025
a777909
fix nominator id and add domain id to db helper
marc-aurele-besner Feb 15, 2025
95c7571
for both deposit and withdraw history, retrieve domainId from cache
marc-aurele-besner Feb 15, 2025
7b2ca31
query the parent hash operators and assign to cache to have a fall ba…
marc-aurele-besner Feb 15, 2025
c1646a2
improve comment
marc-aurele-besner Feb 15, 2025
a3cdfa3
simplify logic
marc-aurele-besner Feb 15, 2025
4e20cff
feat: ✨ add replicationFactor card
iamnamananand996 Feb 15, 2025
7c01c87
make findDomainIdFromOperatorsCache utils function and implement it
marc-aurele-besner Feb 15, 2025
ffaaafc
feat: ✨ safe divide
iamnamananand996 Feb 16, 2025
b72a1fb
Merge pull request #1216 from iamnamananand996/feat-add-replicationFa…
marc-aurele-besner Feb 16, 2025
f6d9ef3
fix transfer count inside bundle
marc-aurele-besner Feb 16, 2025
d1f2230
Merge branch 'main' into fix/dynamically-connect-to-all-domains-rpc
marc-aurele-besner Feb 17, 2025
c3c752f
Merge pull request #1210 from autonomys/fix/dynamically-connect-to-al…
marc-aurele-besner Feb 17, 2025
59049ea
Merge branch 'main' into fix/deregistration-trigger-error
marc-aurele-besner Feb 17, 2025
53a9fc4
Merge pull request #1211 from autonomys/fix/deregistration-trigger-error
marc-aurele-besner Feb 17, 2025
767d21a
Merge branch 'main' into fix/unlocked-trigger-error
marc-aurele-besner Feb 17, 2025
ea44b57
Merge pull request #1212 from autonomys/fix/unlocked-trigger-error
marc-aurele-besner Feb 17, 2025
d8cd0bc
Merge branch 'main' into fix/update-auto-sdk-1.3.1
marc-aurele-besner Feb 17, 2025
d6c54ea
Merge pull request #1213 from autonomys/fix/update-auto-sdk-1.3.1
marc-aurele-besner Feb 17, 2025
bcc307e
Merge branch 'main' into fix/add-domain-id-to-deposit-history-and-fix…
marc-aurele-besner Feb 17, 2025
8b4e258
Merge pull request #1214 from autonomys/fix/add-domain-id-to-deposit-…
marc-aurele-besner Feb 17, 2025
06efb33
Merge branch 'main' into fix/find-operator-on-last-unlock-nominator
marc-aurele-besner Feb 17, 2025
0d22680
Merge pull request #1215 from autonomys/fix/find-operator-on-last-unl…
marc-aurele-besner Feb 17, 2025
31378c9
Merge branch 'main' into fix/count-bundle-transfers-correctly
marc-aurele-besner Feb 17, 2025
ff631d1
Merge branch 'main' into feat/improve-staking-interface
marc-aurele-besner Feb 17, 2025
a41db69
Merge pull request #1217 from autonomys/fix/count-bundle-transfers-co…
marc-aurele-besner Feb 17, 2025
5445f57
Merge branch 'main' into feat/improve-staking-interface
marc-aurele-besner Feb 17, 2025
9d266f1
improve operator details page (nominators list)
marc-aurele-besner Feb 17, 2025
444939f
Merge pull request #1194 from autonomys/feat/improve-staking-interface
marc-aurele-besner Feb 17, 2025
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
27 changes: 2 additions & 25 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
defaults:
run:
working-directory: indexers
name: Run codegen and build
name: Indexers - Run codegen and build
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
Expand All @@ -34,7 +34,7 @@ jobs:
defaults:
run:
working-directory: explorer
name: Run eslint and code style check
name: Explorer - Run eslint and code style check
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
Expand All @@ -57,26 +57,3 @@ jobs:
env:
NEXT_PUBLIC_GEMINI_3H_INDEXERS: ${{ secrets.NEXT_PUBLIC_GEMINI_3H_INDEXERS }}
run: yarn build
ts-lint-and-build-health-check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: health-check
name: Run eslint, check typescript
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Set up Node.js 📦
uses: actions/setup-node@v2
with:
node-version: "16"

- name: Install dependencies 📦
run: npm ci

- name: Run linter 🔍
run: npm run lint

- name: Build project 🔧
run: npm run build
86 changes: 0 additions & 86 deletions .github/workflows/gh-deploy-subql.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@

- [Explorer](./explorer/README.md) - Next.js app based on React and Tailwind CSS, uses Apollo Client to fetch data from Astral Indexers
- [Indexers](./indexers/README.md) - Includes various SubQuery indexers organized by network and functionality
- [Health check](./health-check/README.md) - utility service to check health status of an internal service and expose it as a REST API endpoint

## Development

Expand Down
9 changes: 5 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ volumes:
redis_db: {}
caddy_config: {}
caddy_data: {}
api_dependencies: {}

services:
# Caddy Reverse Proxy with CORS enabled
Expand Down Expand Up @@ -448,6 +449,10 @@ services:
condition: service_healthy
hasura:
condition: service_started
volumes:
- ./indexers/api:/app
- api_dependencies:/app/node_modules
hostname: api
restart: unless-stopped
ports:
- "${API_PORT}:3000"
Expand All @@ -458,7 +463,3 @@ services:
DB_USER: ${DB_USER}
DB_PASSWORD: ${DB_PASSWORD}
DB_DATABASE: ${DB_DATABASE}
hostname: api
volumes:
- ./indexers/api:/app
- /app/node_modules
10 changes: 7 additions & 3 deletions explorer/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ NEXT_PUBLIC_DISCORD_INVITE_URL="https://discord.gg/<discord-invite-url>"
DISCORD_BOT_TOKEN="<discord-bot-token>"

# Subspace Discord Server Role ID's
DISCORD_GUILD_ROLE_ID_FARMER="<discord-farmer-role-id>"
DISCORD_GUILD_ROLE_ID_OPERATOR="<discord-operator-role-id>"
DISCORD_GUILD_ROLE_ID_NOMINATOR="<discord-nominator-role-id>"
MAINNET_DISCORD_GUILD_ROLE_ID_FARMER="<discord-farmer-role-id>"
MAINNET_DISCORD_GUILD_ROLE_ID_OPERATOR="<discord-operator-role-id>"
MAINNET_DISCORD_GUILD_ROLE_ID_NOMINATOR="<discord-nominator-role-id>"

TAURUS_DISCORD_GUILD_ROLE_ID_FARMER="<discord-farmer-role-id>"
TAURUS_DISCORD_GUILD_ROLE_ID_OPERATOR="<discord-operator-role-id>"
TAURUS_DISCORD_GUILD_ROLE_ID_NOMINATOR="<discord-nominator-role-id>"

SLACK_TOKEN=""
SLACK_CONVERSATION_ID=""
Expand Down
Loading