Skip to content

Commit

Permalink
Merge pull request #335 from sanvenDev/relay-fix
Browse files Browse the repository at this point in the history
Relay Improvements and Protos Rust module
  • Loading branch information
sandeepnRES authored Dec 2, 2022
2 parents e6d8b02 + ef45552 commit b5dc050
Show file tree
Hide file tree
Showing 120 changed files with 4,112 additions and 494 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_asset-transfer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ jobs:

- name: Get Latest Relay Dependencies
run: |
make protos-local
cargo update -p nom
cargo update -p lexical-core
working-directory: core/relay
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_data-sharing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ jobs:

- name: Get Latest Relay Dependencies
run: |
make protos-local
cargo update -p nom
cargo update -p lexical-core
working-directory: core/relay
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/test_relay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,23 @@ jobs:
profile: minimal
toolchain: stable
components: rustfmt, clippy

- name: Use Protoc 3.15
run: |
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.15.6/protoc-3.15.6-linux-x86_64.zip
unzip protoc-3.15.6-linux-x86_64.zip -d protoc
- name: Build Protos RS
run: make build
working-directory: common/protos-rs

- name: Get Latest Relay Dependencies
run: |
make protos-local
cargo update -p nom
cargo update -p lexical-core
working-directory: core/relay

- name: Use Protoc 3.15
run: |
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.15.6/protoc-3.15.6-linux-x86_64.zip
unzip protoc-3.15.6-linux-x86_64.zip -d protoc
- name: Build Image
run: make
working-directory: core/relay
Expand Down
2 changes: 1 addition & 1 deletion common/protos-go/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.3
1.5.4
2 changes: 1 addition & 1 deletion common/protos-go/common/access_control.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/common/ack.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/common/asset_locks.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/common/asset_transfer.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

213 changes: 115 additions & 98 deletions common/protos-go/common/events.pb.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion common/protos-go/common/interop_payload.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/common/membership.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/common/proofs.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/common/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/common/state.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/common/verification_policy.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/corda/view_data.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/driver/driver.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions common/protos-go/driver/driver_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/fabric/view_data.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/identity/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions common/protos-go/identity/agent_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/networks/networks.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions common/protos-go/networks/networks_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/relay/datatransfer.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions common/protos-go/relay/datatransfer_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/protos-go/relay/events.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions common/protos-go/relay/events_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions common/protos-java-kt/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Compiled Protos for Java and Kotlin

## Updating Version

If updating Protos version for Java/Kotlin, update the dependency version for in (can be done in same PR):
* `core/network/corda-interop-app/constants.properties`
* `core/drivers/corda-driver/build.gradle`
* `sdks/corda/build.gradle`
* `samples/corda/corda-simple-application/constants.properties`
* `tests/network-setups/corda/scripts/get-cordapps.sh`
* `tests/network-setups/corda/scripts/start-nodes.sh`

## Steps to publish:

1) Create a Personal Access Token from Github with write/read/delete access to packages. Refer [Creating a Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token) for help.
Expand Down
2 changes: 1 addition & 1 deletion common/protos-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperledger-labs/weaver-protos-js",
"version": "1.5.3",
"version": "1.5.4",
"description": "Interop protos for Node JS (Weaver)",
"main": "index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions common/protos-rs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target
Loading

0 comments on commit b5dc050

Please sign in to comment.