Skip to content

Commit

Permalink
[doc & config] release for v0.10.0 (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhiran authored Apr 12, 2024
1 parent be2abd5 commit 52f201b
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 11 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

---
## [0.10.0] - 2024-04-12

### Changed
- Support new project & prover manager contract
- Support cache project & prover snapshot
- When prover restart, will rebuild schedule status when start
- Now scheduler more robust

### Added
- Support load local project file

---
## [0.9.0] - 2024-04-07

Expand Down
4 changes: 2 additions & 2 deletions cmd/coordinator/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var (
DatabaseDSN: "postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable",
BootNodeMultiAddr: "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o",
IoTeXChainID: 2,
ProjectContractAddress: "0x57872cF4b6D02053D5486F6882062c41a0F5C26a",
ProjectContractAddress: "0x62Ab162C58c1BbC4082AeEaf878f48604da7d5a1",
IPFSEndpoint: "ipfs.mainnet.iotex.io",
DIDAuthServerEndpoint: "didkit:9999",
SequencerPubKey: "0x04df6acbc5b355aabfb2145b36b20b7942c831c245c423a20b189fab4cf3a3dba3d564080841f2eb4890c118ca5e0b80b25f81269621c5e28273a962996c109afa",
Expand All @@ -46,7 +46,7 @@ var (
DatabaseDSN: "postgres://test_user:test_passwd@localhost:5432/test?sslmode=disable",
BootNodeMultiAddr: "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o",
IoTeXChainID: 2,
ProjectContractAddress: "0x57872cF4b6D02053D5486F6882062c41a0F5C26a",
ProjectContractAddress: "0x62Ab162C58c1BbC4082AeEaf878f48604da7d5a1",
IPFSEndpoint: "ipfs.mainnet.iotex.io",
DIDAuthServerEndpoint: "localhost:9999",
ProjectCacheDirectory: "./project_cache",
Expand Down
12 changes: 6 additions & 6 deletions cmd/prover/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ var (
ZKWasmServerEndpoint: "zkwasm:4001",
WasmServerEndpoint: "wasm:4001",
ChainEndpoint: "https://babel-api.testnet.iotex.io",
ProjectContractAddress: "0x57872cF4b6D02053D5486F6882062c41a0F5C26a",
ProjectContractAddress: "0x62Ab162C58c1BbC4082AeEaf878f48604da7d5a1",
DatabaseDSN: "postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable",
BootNodeMultiAddr: "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o",
ProverContractAddress: "0x5B1AE92ed4a819C0B0e957a67F8dc39c0aC17Dfc",
ProverOperatorPrivateKey: "did:key:z6MkmF1AgufHf8ASaxDcCR8iSZjEsEbJMp7LkqyEHw6123",
ProverContractAddress: "0x9806B81b7C22135075F45c2Ce84Df06116fE1C4D",
ProverOperatorPrivateKey: "a5f4e99aa80342d5451e8f8fd0dc357ccddb70d3827428fb1fc366f70833497f",
IoTeXChainID: 2,
SchedulerEpoch: 20,
IPFSEndpoint: "ipfs.mainnet.iotex.io",
Expand All @@ -53,11 +53,11 @@ var (
ZKWasmServerEndpoint: "localhost:4003",
WasmServerEndpoint: "localhost:4004",
ChainEndpoint: "https://babel-api.testnet.iotex.io",
ProjectContractAddress: "0x57872cF4b6D02053D5486F6882062c41a0F5C26a",
ProjectContractAddress: "0x62Ab162C58c1BbC4082AeEaf878f48604da7d5a1",
DatabaseDSN: "postgres://test_user:test_passwd@localhost:5432/test?sslmode=disable",
BootNodeMultiAddr: "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o",
ProverContractAddress: "0x5B1AE92ed4a819C0B0e957a67F8dc39c0aC17Dfc",
ProverOperatorPrivateKey: "dbfe03b0406549232b8dccc04be8224fcc0afa300a33d4f335dcfdfead861c85",
ProverContractAddress: "0x9806B81b7C22135075F45c2Ce84Df06116fE1C4D",
ProverOperatorPrivateKey: "a5f4e99aa80342d5451e8f8fd0dc357ccddb70d3827428fb1fc366f70833497f",
IoTeXChainID: 2,
SchedulerEpoch: 20,
IPFSEndpoint: "ipfs.mainnet.iotex.io",
Expand Down
12 changes: 9 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.6"

services:
sequencer:
image: huangzhiran/sequencer:v0.9.0
image: huangzhiran/sequencer:v0.10.0
depends_on:
- "postgres"
- "coordinator"
Expand All @@ -14,7 +14,7 @@ services:
command: [ "-coordinatorAddress", "coordinator:9001", "-databaseDSN", "postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable" ]

coordinator:
image: huangzhiran/coordinator:v0.9.0
image: huangzhiran/coordinator:v0.10.0
depends_on:
- "postgres"
container_name: w3bstream-coordinator
Expand All @@ -24,11 +24,14 @@ services:
- "9001:9001"
environment:
COORDINATOR_ENV: PROD
PROJECT_FILE_DIRECTORY: "/data"
OPERATOR_PRIVATE_KEY: ${PRIVATE_KEY:-}
OPERATOR_PRIVATE_KEY_ED25519: ${PRIVATE_KEY_ED25519:-}
volumes:
- ./test/container_model:/data

prover:
image: huangzhiran/prover:v0.9.0
image: huangzhiran/prover:v0.10.0
depends_on:
- "risc0"
- "halo2"
Expand All @@ -40,6 +43,9 @@ services:
restart: always
environment:
PROVER_ENV: PROD
PROJECT_FILE_DIRECTORY: "/data"
volumes:
- ./test/container_model:/data

halo2:
image: wangweixiaohao2944/halo2server:v0.0.6
Expand Down
14 changes: 14 additions & 0 deletions test/container_model/10001

Large diffs are not rendered by default.

0 comments on commit 52f201b

Please sign in to comment.