Skip to content

Commit b495653

Browse files
authored
Merge pull request #613 from zigbee-alliance/pki-compatibility
PKI API compatibility
2 parents 5a379a7 + e796598 commit b495653

File tree

186 files changed

+28349
-9214
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+28349
-9214
lines changed

README-DEV.md

-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ Please take into account the following when sending a PR:
214214
- **Note3**: `ignite chain build` needs to be called only if you made manual changes in `.proto` files.
215215
There is no need to call `ignite chain build` again once all errors and adjustments above are done. It's sufficient just to build the project via usual ways (such as `make build`)
216216
217-
218217
## Update Cosmos-sdk Version
219218
220219
Re-generate cosmos base openapi (service API from cosmos exposed in DCL) using [cosmos-swagger-gen.sh](scripts/cosmos-swagger-gen.sh) from the project root:

app/app.go

+7
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,13 @@ func New(
686686
},
687687
)
688688

689+
app.UpgradeKeeper.SetUpgradeHandler(
690+
"v1.4.4",
691+
func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
692+
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
693+
},
694+
)
695+
689696
return app
690697
}
691698

Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Testnet 2.0 CSA public endpoints
22

3-
- `REST` - <https://on.test-net.dcl.csa-iot.org>
3+
[//]: # (- `REST` - <https://on.test-net.dcl.csa-iot.org>)
44
- `RPC` - <https://on.test-net.dcl.csa-iot.org:26657>
55
- `gRPC` - on.test-net.dcl.csa-iot.org:8443
66
- `Seed Node` - 100.25.175.140:26656

docs/design/noc-root-cert-design.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Retrieve NOC root certificates associated with a specific VID.
9696
- CLI Command:
9797
- `dcld query pki get_noc_x509_root_certs --vid=<uint16>`
9898
- REST API:
99-
- GET `/dcl/pki/noc-root-certificates/{vid}`
99+
- GET `/dcl/pki/noc-vid-root-certificates/{vid}`
100100

101101
### GET_ALL_NOC_X509_ROOT_CERTS
102102

docs/pool-upgrade-how-to.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ One of the trustees proposes the upgrade using the following steps:
6060
```
6161
Please note, that it must be called against the `dcld` binary, not the platform archive itself. So, for Ubuntu, either take a `dcld` binary from the root folder of the release, or extract it from ` dcld.ubuntu.tar.gz`.
6262

63-
2. Sends [`ProposeUpgrade`](./transactions.md#propose_upgrade) transaction
63+
2. Sends [`ProposeUpgrade`](transactions.md#propose_upgrade) transaction
6464
with the name of the new upgrade handler, the chosen ledger height and the
6565
info containing URLs of the new application version binaries for supported
6666
platforms with the calculated checksums.
@@ -92,7 +92,7 @@ Each of them uses the following steps to accomplish this:
9292
```
9393
Please note, that it must be called against the `dcld` binary, not the platform archive itself. So, for Ubuntu, either take a `dcld` binary from the root folder of the release, or extract it from ` dcld.ubuntu.tar.gz`.
9494

95-
2. Sends [`ApproveUpgrade`](./transactions.md#approve_upgrade) transaction
95+
2. Sends [`ApproveUpgrade`](transactions.md#approve_upgrade) transaction
9696
with the name of the proposed upgrade.
9797

9898
For example:

docs/pool-upgrade.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ Any upgrade plan has the following fields:
2727
## Workflow
2828

2929
Initially an upgrade plan is proposed by one of trustees using
30-
[propose-upgrade](./transactions.md#propose_upgrade) command. Then the proposed
30+
[propose-upgrade](transactions.md) command. Then the proposed
3131
upgrade plan has to be approved by the majority of trustees (2/3 including the
3232
trustee who has proposed it) using
33-
[approve-upgrade](./transactions.md#approve_upgrade) command. When the necessary
33+
[approve-upgrade](transactions.md#approve_upgrade) command. When the necessary
3434
count of approvals is gathered, the upgrade plan turns into the approved state
3535
and is actually scheduled.
3636

@@ -81,5 +81,5 @@ checksum when the URL is provided in the specified format. If the downloaded
8181
file checksum does not equal to the checksum provided in the URL, `go-getter`
8282
reports that checksums did not match. To view `Info` field value of an upgrade
8383
plan, just execute an appropriate query command from `dclupgrade` or `upgrade`
84-
module. See [Upgrade CLI commands reference](./transactions.md#upgrade) for
84+
module. See [Upgrade CLI commands reference](transactions.md#upgrade) for
8585
details.

0 commit comments

Comments
 (0)