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

PKI API compatibility #613

Merged
merged 27 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
16db1df
PKI API Compatibility Fixes
Artemkaaas Oct 31, 2024
0d299e4
Update openapi.yml
Abdulbois Oct 31, 2024
c0abe76
Added unit tests and added migration
Artemkaaas Nov 1, 2024
4b5d428
Updated upgrade test
Artemkaaas Nov 1, 2024
1493f18
Fixed linter errors
Artemkaaas Nov 2, 2024
0eecf72
Fixed linter errors
Artemkaaas Nov 2, 2024
0f73476
Fixed upgrade test
Artemkaaas Nov 2, 2024
f3c6a84
Fixed CLI test
Artemkaaas Nov 5, 2024
f22ed9f
Rollback pb.gw.go files
Artemkaaas Nov 5, 2024
9981a0e
Renamed endpoints for noc certificates
Artemkaaas Nov 5, 2024
c2f831b
1.4.3 to 1.4.4 upgrade testing
Artemkaaas Nov 6, 2024
78ce383
Added index for certificates by subject
Artemkaaas Nov 7, 2024
38d604a
Updated dev build version
Artemkaaas Nov 7, 2024
2ef3fe9
Generate ts-client
Artemkaaas Nov 7, 2024
2916f4c
Process part of review comments
Abdulbois Nov 11, 2024
81d7f6a
Unified CLI command and improved unit tests for handler
Artemkaaas Nov 12, 2024
a6c98da
Fixed linter errors
Artemkaaas Nov 13, 2024
a8fad6d
Updated Dev Readme
Artemkaaas Nov 13, 2024
0154e69
Updated Dev Readme
Artemkaaas Nov 13, 2024
8066397
Returned `noc-x509-certs` command
Artemkaaas Nov 13, 2024
4b5b302
Added deprecation warning
Artemkaaas Nov 13, 2024
cc3f1eb
Corrected upgrade test
Artemkaaas Nov 13, 2024
f2c4fd6
Corrected upgrade test
Artemkaaas Nov 13, 2024
a4496f0
Updated binary version
Artemkaaas Nov 13, 2024
c280009
Updated dev build version
Artemkaaas Nov 13, 2024
0a7641d
Removed `noc-x509-certs` cli command
Artemkaaas Nov 13, 2024
e796598
Corrected upgrade integration tests
Artemkaaas Nov 13, 2024
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
7 changes: 7 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,13 @@ func New(
},
)

app.UpgradeKeeper.SetUpgradeHandler(
"v1.4.4",
func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
},
)

return app
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Testnet 2.0 CSA public endpoints

- `REST` - <https://on.test-net.dcl.csa-iot.org>
[//]: # (- `REST` - <https://on.test-net.dcl.csa-iot.org>)
Artemkaaas marked this conversation as resolved.
Show resolved Hide resolved
- `RPC` - <https://on.test-net.dcl.csa-iot.org:26657>
- `gRPC` - on.test-net.dcl.csa-iot.org:8443
- `Seed Node` - 100.25.175.140:26656
2 changes: 1 addition & 1 deletion docs/design/noc-root-cert-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Retrieve NOC root certificates associated with a specific VID.
- CLI Command:
- `dcld query pki get_noc_x509_root_certs --vid=<uint16>`
- REST API:
- GET `/dcl/pki/noc-root-certificates/{vid}`
- GET `/dcl/pki/noc-vid-root-certificates/{vid}`

### GET_ALL_NOC_X509_ROOT_CERTS

Expand Down
4 changes: 2 additions & 2 deletions docs/pool-upgrade-how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ One of the trustees proposes the upgrade using the following steps:
```
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`.

2. Sends [`ProposeUpgrade`](./transactions.md#propose_upgrade) transaction
2. Sends [`ProposeUpgrade`](transactions.md#propose_upgrade) transaction
with the name of the new upgrade handler, the chosen ledger height and the
info containing URLs of the new application version binaries for supported
platforms with the calculated checksums.
Expand Down Expand Up @@ -92,7 +92,7 @@ Each of them uses the following steps to accomplish this:
```
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`.

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

For example:
Expand Down
6 changes: 3 additions & 3 deletions docs/pool-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ Any upgrade plan has the following fields:
## Workflow

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

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