Comments (2)
Actually, I think we should just add a method (don't remove the current one accepting a string):
fn send_xt<C: Encode>(xt: UncheckedExtrinsic<C>, xt_status: XtStatus)
This will remove some boilerplate code on the caller site.
Then we could also run some validation against the metadata before sending.
from substrate-api-client.
I think the validation should happen during the call creation, not the sending. See #416
What do you think?
from substrate-api-client.
Related Issues (20)
- log level of metadata blob should be `trace`
- got Error ExtrinsicNotFound although extrinsic succeeded (for extrinsic with zero-padding at the end) HOT 17
- bump to polkadot-v1.0.0 HOT 1
- Fix Warning `Expected subscription, but received an id response instead` HOT 3
- Example to show usage of `submit_and_watch_extrinsic_until_without_event`
- `DefaultRuntimeConfig` in ExtrinsicSigner::<..> does not work HOT 2
- Update README with new example
- Investigate if the config used by the API should take the substrate runtime changes HOT 1
- Release tag v0.14.0 HOT 1
- Subscriptions and blocking `next()` HOT 1
- CI: runtime upgrade async keeps failing HOT 2
- CI should check for F label in PRs
- Block deserialization error: Invalid length prefix when getting a block HOT 5
- `cargo check --no-default-features --features std,tungstenite` results in compiler error HOT 5
- PolkadotRuntimeConfig has the wrong extrinsic params configured. HOT 1
- `Config::Index` type should have default trait bound
- Update Polkadot v1.1.0 HOT 1
- Fix polkadot branch v0.9.42 tag v0.14. HOT 1
- Release polkadot sdk v1.2.0 branch HOT 1
- Update to frame metadata v16.0.0 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 substrate-api-client.