Comments (5)
Do you have an actual use case for cosmrs
+ no_std
?
In particular it currently uses eyre
for error handling, which does not support no_std
.
It would be nice to wait for the stabilization of the Error
trait in core before proceeding. I can't say I'm terribly happy with flex-error
in tendermint-rs.
from cosmos-rust.
I am implement ics06-solomachain-client, that use cosmrs publickey type. I wish cosmrs can implement no-std
.
from cosmos-rust.
Adding no_std
support is something I don't have time to work on, and ideally it wouldn't require a bunch of compromises on the error types like what happened with tendermint-rs
.
What no_std
platform are you targeting?
from cosmos-rust.
Oh, there is no specific no-std
platform support because I need to use types from cosmrs
while implementing the ICS06 solomachine client
. I don't think it makes sense to redundantly define which type conversions are needed in ibc-rs
.
the error types like what happened with tendermint-rs.
Do you like how errors are handled in ibc-rs
?
from cosmos-rust.
We have CosmWasm on Substrate. Substrate blockchain runtime (big contract) is no_std. We provide precompiles to CW contracts, so they can call our modules(called pallets) as if these are just usual contracts. One of precompiles is IBC Wasm Hook from Osmosis (allows IBC to terminate ICS 20 packets with contracts) calls. It requires generation and verification of sender and receiver using specific bech32 account encoding which needs some cosmos types for handling that.
Btw our no_std CW fork uses error in core feature.
from cosmos-rust.
Related Issues (20)
- TallyParams Undocumented Decimal Type HOT 2
- Maybe Can Use only one crate `cosmos-sdk-proto` or `ibc-proto-rs` HOT 6
- Sync versions with tendermint-rs?
- wasm-bindgen issue when using cosmrs in CosmWasm HOT 10
- Type URLs for x/authz messages not present HOT 4
- Add additional derive macros to Prost generated types HOT 19
- gov/v1 HOT 2
- Does this crate only supports gRPC for querying contracts states? HOT 4
- proto build fails because of deprecated buf template HOT 1
- Update crypto lib HOT 2
- Error: failed to load state at height 0; version mismatch on immutable IAVL tree; version does not exist. Version has either been pruned, or is for a future block height (latest height: 0): invalid request HOT 1
- 405 Method Not Allowed HOT 2
- Update ibc-go types HOT 1
- Error with user entered invalid UTF8 for protobuf structs.
- bug: cargo run ends in an error
- proto-build: bump COSMOS_SDK_REV to v0.47 or higher HOT 3
- Querying `minimum_gas_price` HOT 3
- How to output the private key and print it to the terminal? HOT 2
- Abandon `cosmos-sdk-proto` in favor of `ibc-proto`? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cosmos-rust.