Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
bfdf7a1
[WIP] osmosis-proto: initial crate structure
tony-iqlusion Jun 1, 2022
6e559c0
initial commit, added osmosis-proto-build
Jun 2, 2022
da69ed9
osmosis added
Jun 2, 2022
d53e64e
importing cosmos module cosmos-sdk-proto
Jun 3, 2022
f3a2718
conflict resolved in a better way
Jun 3, 2022
3f10e72
README.md updated
Jun 3, 2022
56631b0
added osmosis specific cosmrs customization
Jun 3, 2022
269cc5c
README.md updated
Jun 4, 2022
72c14dd
added cosmos.vesting.v1beta1.PeriodicVestingAccount to MsgProto impl …
Jun 4, 2022
fc4ad0b
update
Jun 19, 2022
0d82540
Merge pull request #1 from Philipp-Sc/main
Philipp-Sc Jun 19, 2022
f8c527e
Merge branch 'osmosis-proto' of https://github.com/Philipp-Sc/cosmos-…
Jun 19, 2022
6720f93
update
Jun 22, 2022
5935473
Merge branch 'osmosis-proto' into main
Philipp-Sc Jul 27, 2022
753f8d3
Update Cargo.toml
Philipp-Sc Jul 27, 2022
06ab6b8
Merge pull request #2 from Philipp-Sc/main
Philipp-Sc Jul 27, 2022
025ed01
update
Aug 2, 2022
d35233a
update
Aug 2, 2022
d9c2b5c
update
Aug 2, 2022
ff41ff0
update
Aug 2, 2022
f54f6bf
update
Aug 2, 2022
6947cae
update
Aug 2, 2022
acd63ef
update
Aug 2, 2022
28363c0
update, removed cosmrs from Cargo.toml
Aug 2, 2022
63d42e3
Update Cargo.toml
Philipp-Sc Aug 2, 2022
240d94e
Update type_urls.rs
Philipp-Sc Aug 2, 2022
10237b6
merged osmosis-proto-build and proto-build
Aug 3, 2022
3b5306e
Merge branch 'osmosis-proto' of https://github.com/Philipp-Sc/cosmos-…
Aug 3, 2022
cff916f
RUST 1.57.0 # MSRV
Aug 3, 2022
64dc424
added type_urls
Aug 21, 2022
b9c8a5e
missing type_url
Aug 22, 2022
3afcd07
Merge branch 'cosmos:main' into main
Philipp-Sc Aug 23, 2022
3b581b3
proto-build/{osmosis,cosmos}
Aug 23, 2022
ddf55e1
Merge cosmos-rust-development (osmosis-proto) with cosmos-rust
Aug 23, 2022
898ec69
Update proto-build.yml
Philipp-Sc Aug 23, 2022
3811d37
Update rebuild-protos.yml
Philipp-Sc Aug 23, 2022
aa35bbb
Merge pull request #4 from Philipp-Sc/main
Philipp-Sc Aug 23, 2022
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
55 changes: 55 additions & 0 deletions .github/workflows/osmosis-proto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: osmosis-proto

on:
push:
branches: main
pull_request:
paths:
- ".github/workflows/osmosis-proto.yml"
- "osmosis-proto/**"
- "Cargo.*"

defaults:
run:
working-directory: osmosis-proto

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.57.0 # MSRV
- stable
target:
- x86_64-unknown-linux-gnu
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.57.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
2 changes: 1 addition & 1 deletion .github/workflows/proto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: main
pull_request:
paths:
- "proto-build/**"
- "proto-build/cosmos/**"
- "Cargo.*"

defaults:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rebuild-protos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: main
paths:
- "proto-build/**"
- "proto-build/cosmos/**"

jobs:
proto-build:
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "ibc-go"]
path = ibc-go
url = https://github.com/cosmos/ibc-go
[submodule "osmosis"]
path = osmosis
url = https://github.com/osmosis-labs/osmosis.git
1 change: 1 addition & 0 deletions .images/osmo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ resolver = "2"
members = [
"proto-build",
"cosmos-sdk-proto",
"cosmrs"
"cosmrs",
"osmosis-proto",
]
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ This is a place for commonly shared rust resources related to the Cosmos ecosyst

## Crates

| Name | Description | crates.io | docs.rs | CI Build |
|----------------------|-----------------------------|-----------|---------|----------|
| [`cosmrs`] | Cosmos SDK for Rust | [![crates.io][cosmrs-crate-img]][cosmrs-crate-link] | [![docs.rs][cosmrs-docs-img]][cosmrs-docs-link] | [![CI][cosmrs-ci-img]][cosmrs-ci-link] |
| [`cosmos‑sdk‑proto`] | Proto and gRPC definitions | [![crates.io][cosmos-sdk-proto-crate-img]][cosmrs-crate-link] | ![docs.rs][cosmos-sdk-proto-docs-img] | [![CI][cosmos-sdk-proto-ci-img]][cosmos-sdk-proto-ci-link] |
| Name | Description | crates.io | docs.rs | CI Build |
|----------------------|-----------------------------|---------------------------------------------------------------|-------------------------------------------------|------------------------------------------------------------|
| [`cosmrs`] | Cosmos SDK for Rust | [![crates.io][cosmrs-crate-img]][cosmrs-crate-link] | [![docs.rs][cosmrs-docs-img]][cosmrs-docs-link] | [![CI][cosmrs-ci-img]][cosmrs-ci-link] |
| [`cosmos‑sdk‑proto`] | Proto and gRPC definitions | [![crates.io][cosmos-sdk-proto-crate-img]][cosmrs-crate-link] | ![docs.rs][cosmos-sdk-proto-docs-img] | [![CI][cosmos-sdk-proto-ci-img]][cosmos-sdk-proto-ci-link] |
| [`osmosis‑proto`] | Proto and gRPC definitions | [![crates.io][osmosis-crate-image]][osmosis-crate-link] | ![docs.rs][osmosis-docs-image] | [![CI][osmosis-build-image]][osmosis-build-link] |

## Merge Policy

Expand Down Expand Up @@ -40,6 +41,7 @@ Rust **1.57**

[`cosmrs`]: https://github.com/cosmos/cosmos-rust/tree/main/cosmrs
[`cosmos‑sdk‑proto`]: https://github.com/cosmos/cosmos-rust/tree/main/cosmos-sdk-proto
[`osmosis‑proto`]: https://github.com/cosmos/cosmos-rust/tree/main/osmosis-proto

[//]: # "badges"

Expand All @@ -56,3 +58,13 @@ Rust **1.57**
[cosmos-sdk-proto-docs-link]: https://docs.rs/cosmos-sdk-proto/
[cosmos-sdk-proto-ci-img]: https://github.com/cosmos/cosmos-rust/workflows/cosmos-sdk-proto/badge.svg
[cosmos-sdk-proto-ci-link]: https://github.com/cosmos/cosmos-rust/actions/workflows/cosmos-sdk-proto.yml



[osmosis-crate-image]: https://buildstats.info/crate/osmosis-proto
[osmosis-crate-link]: https://crates.io/crates/osmosis-proto
[osmosis-docs-image]: https://docs.rs/osmosis-proto/badge.svg
[osmosis-docs-link]: https://docs.rs/osmosis-proto/

[osmosis-build-image]: https://github.com/cosmos/cosmos-rust/workflows/osmosis-proto/badge.svg
[osmosis-build-link]: https://github.com/cosmos/cosmos-rust/actions/workflows/osmosis-proto.yml
Loading