-
Notifications
You must be signed in to change notification settings - Fork 803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement procedural macro for getting the required balance for a transaction #345
Comments
After paritytech/substrate#5678 is finished, we should add support for a new attribute macro. So we will require the following:
|
Can't the content of this new attribute macro be a new filed in the metadata? @rrtti with just your description and and the title I can barely understand the issue, can you elaborate bit more? and is it similar to this? paritytech/substrate#7240 |
@kianenigma For that reason I have added a comment that explains on what should be done :P |
Regarding paritytech/substrate#7240, this is something different AFAIK. This new macro should be able to express stuff like deposits. So, you can query how much actual tokens you need (deposit + fees). Currently we can only query the fees and we need to know that a certain function requires a fixed amount for deposits. |
* Use override in eth_getLogs * Use override in EthFilterApi * Wrap overrides in an Arc * Fix checker * Use override in EthPubSubApi * Fix checker * Add OverrideHandle * Fix checker * Update test-web3api * Bump fc-rpc version 2.0.0-dev * CHANGELOG unreleased notes * Update Cargo.lock
* make message-lane Event generic * cargo fmt --all * Update modules/message-lane/src/lib.rs Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
Setup is
stash account (proxy) <-- multisig wallet <-- user account
When trying to confirm the tx, the call returns "Insufficient balance" - more transparency might be needed around what kind of balance they need to interact with an extrinsics.
The text was updated successfully, but these errors were encountered: