Skip to content

Commit 52f201b

Browse files
authored
[doc & config] release for v0.10.0 (#423)
1 parent be2abd5 commit 52f201b

File tree

5 files changed

+43
-11
lines changed

5 files changed

+43
-11
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
---
4+
## [0.10.0] - 2024-04-12
5+
6+
### Changed
7+
- Support new project & prover manager contract
8+
- Support cache project & prover snapshot
9+
- When prover restart, will rebuild schedule status when start
10+
- Now scheduler more robust
11+
12+
### Added
13+
- Support load local project file
14+
315
---
416
## [0.9.0] - 2024-04-07
517

cmd/coordinator/config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var (
3333
DatabaseDSN: "postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable",
3434
BootNodeMultiAddr: "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o",
3535
IoTeXChainID: 2,
36-
ProjectContractAddress: "0x57872cF4b6D02053D5486F6882062c41a0F5C26a",
36+
ProjectContractAddress: "0x62Ab162C58c1BbC4082AeEaf878f48604da7d5a1",
3737
IPFSEndpoint: "ipfs.mainnet.iotex.io",
3838
DIDAuthServerEndpoint: "didkit:9999",
3939
SequencerPubKey: "0x04df6acbc5b355aabfb2145b36b20b7942c831c245c423a20b189fab4cf3a3dba3d564080841f2eb4890c118ca5e0b80b25f81269621c5e28273a962996c109afa",
@@ -46,7 +46,7 @@ var (
4646
DatabaseDSN: "postgres://test_user:test_passwd@localhost:5432/test?sslmode=disable",
4747
BootNodeMultiAddr: "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o",
4848
IoTeXChainID: 2,
49-
ProjectContractAddress: "0x57872cF4b6D02053D5486F6882062c41a0F5C26a",
49+
ProjectContractAddress: "0x62Ab162C58c1BbC4082AeEaf878f48604da7d5a1",
5050
IPFSEndpoint: "ipfs.mainnet.iotex.io",
5151
DIDAuthServerEndpoint: "localhost:9999",
5252
ProjectCacheDirectory: "./project_cache",

cmd/prover/config/config.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ var (
3535
ZKWasmServerEndpoint: "zkwasm:4001",
3636
WasmServerEndpoint: "wasm:4001",
3737
ChainEndpoint: "https://babel-api.testnet.iotex.io",
38-
ProjectContractAddress: "0x57872cF4b6D02053D5486F6882062c41a0F5C26a",
38+
ProjectContractAddress: "0x62Ab162C58c1BbC4082AeEaf878f48604da7d5a1",
3939
DatabaseDSN: "postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable",
4040
BootNodeMultiAddr: "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o",
41-
ProverContractAddress: "0x5B1AE92ed4a819C0B0e957a67F8dc39c0aC17Dfc",
42-
ProverOperatorPrivateKey: "did:key:z6MkmF1AgufHf8ASaxDcCR8iSZjEsEbJMp7LkqyEHw6123",
41+
ProverContractAddress: "0x9806B81b7C22135075F45c2Ce84Df06116fE1C4D",
42+
ProverOperatorPrivateKey: "a5f4e99aa80342d5451e8f8fd0dc357ccddb70d3827428fb1fc366f70833497f",
4343
IoTeXChainID: 2,
4444
SchedulerEpoch: 20,
4545
IPFSEndpoint: "ipfs.mainnet.iotex.io",
@@ -53,11 +53,11 @@ var (
5353
ZKWasmServerEndpoint: "localhost:4003",
5454
WasmServerEndpoint: "localhost:4004",
5555
ChainEndpoint: "https://babel-api.testnet.iotex.io",
56-
ProjectContractAddress: "0x57872cF4b6D02053D5486F6882062c41a0F5C26a",
56+
ProjectContractAddress: "0x62Ab162C58c1BbC4082AeEaf878f48604da7d5a1",
5757
DatabaseDSN: "postgres://test_user:test_passwd@localhost:5432/test?sslmode=disable",
5858
BootNodeMultiAddr: "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o",
59-
ProverContractAddress: "0x5B1AE92ed4a819C0B0e957a67F8dc39c0aC17Dfc",
60-
ProverOperatorPrivateKey: "dbfe03b0406549232b8dccc04be8224fcc0afa300a33d4f335dcfdfead861c85",
59+
ProverContractAddress: "0x9806B81b7C22135075F45c2Ce84Df06116fE1C4D",
60+
ProverOperatorPrivateKey: "a5f4e99aa80342d5451e8f8fd0dc357ccddb70d3827428fb1fc366f70833497f",
6161
IoTeXChainID: 2,
6262
SchedulerEpoch: 20,
6363
IPFSEndpoint: "ipfs.mainnet.iotex.io",

docker-compose.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.6"
22

33
services:
44
sequencer:
5-
image: huangzhiran/sequencer:v0.9.0
5+
image: huangzhiran/sequencer:v0.10.0
66
depends_on:
77
- "postgres"
88
- "coordinator"
@@ -14,7 +14,7 @@ services:
1414
command: [ "-coordinatorAddress", "coordinator:9001", "-databaseDSN", "postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable" ]
1515

1616
coordinator:
17-
image: huangzhiran/coordinator:v0.9.0
17+
image: huangzhiran/coordinator:v0.10.0
1818
depends_on:
1919
- "postgres"
2020
container_name: w3bstream-coordinator
@@ -24,11 +24,14 @@ services:
2424
- "9001:9001"
2525
environment:
2626
COORDINATOR_ENV: PROD
27+
PROJECT_FILE_DIRECTORY: "/data"
2728
OPERATOR_PRIVATE_KEY: ${PRIVATE_KEY:-}
2829
OPERATOR_PRIVATE_KEY_ED25519: ${PRIVATE_KEY_ED25519:-}
30+
volumes:
31+
- ./test/container_model:/data
2932

3033
prover:
31-
image: huangzhiran/prover:v0.9.0
34+
image: huangzhiran/prover:v0.10.0
3235
depends_on:
3336
- "risc0"
3437
- "halo2"
@@ -40,6 +43,9 @@ services:
4043
restart: always
4144
environment:
4245
PROVER_ENV: PROD
46+
PROJECT_FILE_DIRECTORY: "/data"
47+
volumes:
48+
- ./test/container_model:/data
4349

4450
halo2:
4551
image: wangweixiaohao2944/halo2server:v0.0.6

test/container_model/10001

Lines changed: 14 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)