Skip to content

Commit 0faf90a

Browse files
authored
Merge pull request #56 from NillionNetwork/ci/migrate-public-key-to-did
2 parents 2cbf22e + 40ca0c7 commit 0faf90a

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nilauth"
3-
version = "1.0.0-rc.1"
3+
version = "1.0.0-rc.2"
44
edition = "2024"
55

66
[dependencies]

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ services:
99
- "5432:5432"
1010

1111
nilchain:
12-
image: ghcr.io/nillionnetwork/nilchain-devnet:v0.1.0
12+
image: ghcr.io/nillionnetwork/nilchain-devnet:main
1313
restart: unless-stopped
1414
shm_size: 128mb
1515
ports:
16-
- "26648:26648" # JSON RPC
17-
- "26649:26649" # gRPC
18-
- "26650:26650" # REST
16+
- "26648:26648" # json rpc
17+
- "26649:26649" # grpc
18+
- "26650:26650" # rest
1919

2020
token-price-api:
2121
image: caddy:2
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
-- Add `did:nil` prefix to existing hex-based subscriber public keys
2+
UPDATE subscriptions
3+
SET subscriber_did = 'did:nil:' || subscriber_did
4+
WHERE subscriber_did NOT LIKE 'did:%';
5+
6+
UPDATE payments
7+
SET subscriber_did = 'did:nil:' || subscriber_did
8+
WHERE subscriber_did NOT LIKE 'did:%';

0 commit comments

Comments
 (0)