Skip to content
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

rusk-wallet: Provide both query and transaction contract call #3108

Open
Daksh14 opened this issue Dec 3, 2024 · 0 comments · May be fixed by #3169
Open

rusk-wallet: Provide both query and transaction contract call #3108

Daksh14 opened this issue Dec 3, 2024 · 0 comments · May be fixed by #3169
Assignees
Labels
module:rusk-wallet Issues related to rusk wallet type:enhancement Issues concerning code or feature improvement (performance, refactoring, etc) type:feature implementing a new feature

Comments

@Daksh14
Copy link
Contributor

Daksh14 commented Dec 3, 2024

There is undocumented but there are two ways you can call contract method

One by transaction other by query. The transaction contract call has the session and is used to mutate the state but it does not allow return values

Other call method is http query which allows return value

Allow both options, currently we only allow transaction contract call

Why we need this change:

Only http query allows return values for the functions so we need this functionality in order to test the deployed contracts
because rusk-wallet allows deploying contracts

@Daksh14 Daksh14 self-assigned this Dec 3, 2024
@Daksh14 Daksh14 added type:feature implementing a new feature type:enhancement Issues concerning code or feature improvement (performance, refactoring, etc) module:rusk-wallet Issues related to rusk wallet labels Dec 3, 2024
@Daksh14 Daksh14 linked a pull request Dec 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:rusk-wallet Issues related to rusk wallet type:enhancement Issues concerning code or feature improvement (performance, refactoring, etc) type:feature implementing a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant