Skip to content

Commit 31bdb1e

Browse files
authored
Use osmosis-rust as finschia-wasm (#1)
* feat: change submodule to finschia * feat: change project settings for finschia * feat: apply proto-build modified for finschia * feat: change the code generation output path to finschia * feat: rename to finschia * refactor: change local variable name to finschia and delete unnecessary osmosis variable * chore: commented out to reconsider the test for finschia Need to consider testing for finschia * test: delete due to unnecessary testing for finschia * chore: replace with contracts for finschia * chore: delete tests - packages/finschia-std-derive/tests - packages/finschia-std/tests The above two tests need to be recreated as tests for finschia. #2 * test: add encode/decode and serialize/deserialize test using structure which belongs to foundation module * test: add test for `CosmwasmExt` * style: cargo fmt
1 parent f1d4aaa commit 31bdb1e

File tree

356 files changed

+7901
-34407
lines changed

Some content is hidden

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

356 files changed

+7901
-34407
lines changed

.gitmodules

+5-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
1-
[submodule "dependencies/cosmos-sdk"]
2-
path = dependencies/cosmos-sdk
3-
url = https://github.com/osmosis-labs/cosmos-sdk.git
4-
branch = v13.x
5-
[submodule "dependencies/osmosis"]
6-
path = dependencies/osmosis
7-
url = https://github.com/osmosis-labs/osmosis.git
8-
branch = v13.x
9-
[submodule "wasmd"]
10-
path = dependencies/wasmd
11-
url = https://github.com/CosmWasm/wasmd.git
121
[submodule "dependencies/cometbft"]
132
path = dependencies/cometbft
143
url = https://github.com/cometbft/cometbft.git
154
[submodule "dependencies/ibc-go"]
165
path = dependencies/ibc-go
176
url = https://github.com/cosmos/ibc-go.git
187
[submodule "dependencies/wasmd"]
19-
url = https://github.com/osmosis-labs/wasmd.git
8+
url = https://github.com/Finschia/wasmd.git
9+
path = dependencies/wasmd
2010
[submodule "dependencies/ics23"]
2111
path = dependencies/ics23
2212
url = https://github.com/cosmos/ics23.git
13+
[submodule "dependencies/finschia-sdk"]
14+
path = dependencies/finschia-sdk
15+
url = https://github.com/Finschia/finschia-sdk.git

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[workspace]
22
resolver = "2"
3-
members = ["packages/*", "tests/*"]
3+
members = ["packages/*"]

README.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
> :information_desk_person: If you want to use latest update from osmosis' main branch, checkout `autobuild-main` branch.
22
3-
# osmosis-rust
3+
# finschia-std
44

5-
Rust libraries for Osmosis. The following table shows every published crates maintained in this repository:
5+
Rust libraries for Finschia. The following table shows every published crates maintained in this repository:
66

77
| Crate | Description | Crates.io | Docs |
88
| ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
9-
| [osmosis-std](packages/osmosis-std) | Osmosis's proto-generated types and helpers for interacting with the appchain. Compatible with CosmWasm contract. | [![osmosis-std on crates.io](https://img.shields.io/crates/v/osmosis-std.svg)](https://crates.io/crates/osmosis-std) | [![Docs](https://docs.rs/osmosis-std/badge.svg)](https://docs.rs/osmosis-std) |
10-
| [osmosis-std-derive](packages/osmosis-std-derive) | Procedural macro for augmenting proto-generated types to create better developer ergonomics. Internally used by `osmosis-std` | [![osmosis-std-derive on crates.io](https://img.shields.io/crates/v/osmosis-std-derive.svg)](https://crates.io/crates/osmosis-std-derive) | [![Docs](https://docs.rs/osmosis-std-derive/badge.svg)](https://docs.rs/osmosis-std-derive) |
11-
| [osmosis-testing]()(🚩DEPRECATED IN FAVOR OF [`osmosis-test-tube`](https://github.com/osmosis-labs/test-tube/tree/main/packages/osmosis-test-tube)) | CosmWasm x Osmosis integration testing library that, unlike `cw-multi-test`, it allows you to test your cosmwasm contract against real chain's logic instead of mocks. | [![osmosis-testing on crates.io](https://img.shields.io/crates/v/osmosis-testing.svg)](https://crates.io/crates/osmosis-testing) | [![Docs](https://docs.rs/osmosis-testing/badge.svg)](https://docs.rs/osmosis-testing) |
12-
13-
9+
| [finschia-std](packages/finschia-std) | Finschia's proto-generated types and helpers for interacting with the appchain. Compatible with CosmWasm contract. | [![finschia-std on crates.io](https://img.shields.io/crates/v/finschia-std.svg)](https://crates.io/crates/finschia-std) | [![Docs](https://docs.rs/finschia-std/badge.svg)](https://docs.rs/finschia-std) |
10+
| [finschia-std-derive](packages/finschia-std-derive) | Procedural macro for augmenting proto-generated types to create better developer ergonomics. Internally used by `finschia-std` | [![finschia-std-derive on crates.io](https://img.shields.io/crates/v/finschia-std-derive.svg)](https://crates.io/crates/finschia-std-derive) | [![Docs](https://docs.rs/finschia-std-derive/badge.svg)](https://docs.rs/finschia-std-derive) |
1411
---
1512

1613
This repo also contains [`proto-build`](./packages/proto-build) package which is used for autogenrating rust types from proto.

dependencies/cosmos-sdk

-1
This file was deleted.

dependencies/finschia-sdk

Submodule finschia-sdk added at a1bab87

dependencies/osmosis

-1
This file was deleted.

dependencies/wasmd

Submodule wasmd updated 368 files

examples/.gitignore

-1
This file was deleted.

examples/cosmwasm/.beaker/state.json

-1
This file was deleted.

examples/cosmwasm/.gitignore

-2
This file was deleted.

examples/cosmwasm/Beaker.toml

-5
This file was deleted.

examples/cosmwasm/Cargo.toml

-16
This file was deleted.

examples/cosmwasm/README.md

-32
This file was deleted.

examples/cosmwasm/contracts/.gitkeep

Whitespace-only changes.

examples/cosmwasm/contracts/osmosis-stargate/.cargo/config

-4
This file was deleted.

examples/cosmwasm/contracts/osmosis-stargate/.editorconfig

-11
This file was deleted.

examples/cosmwasm/contracts/osmosis-stargate/.gitignore

-15
This file was deleted.

examples/cosmwasm/contracts/osmosis-stargate/.gitpod.Dockerfile

-17
This file was deleted.

examples/cosmwasm/contracts/osmosis-stargate/.gitpod.yml

-10
This file was deleted.

examples/cosmwasm/contracts/osmosis-stargate/Cargo.toml

-56
This file was deleted.

examples/cosmwasm/contracts/osmosis-stargate/Developing.md

-104
This file was deleted.

0 commit comments

Comments
 (0)