🐛 https://github.com/archethic-foundation/archethic-wallet/issues/888 #889
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes #888
Type of change
Please delete options that are not relevant.
Material used:
Please delete options that are not relevant.
How Has This Been Tested?
Payload used:
{"jsonrpc":"2.0","id":2,"method":"sendTransaction","params":{"origin":{"name":"Wallet RPC example application"},"version":1,"payload":{"version":3,"type":"contract","data":{"content":"","code":"@version 1\ncondition triggered_by: transaction, on: vote(), as: []\nactions triggered_by: transaction, on: vote() do\n Contract.set_content(\"worked\")\nend","ownerships":[],"ledger":{"uco":{"transfers":[]},"token":{"transfers":[]}},"recipients":[]},"generateEncryptedSeedSC":true}}}
Test with AWC Example app
Result ok : https://testnet.archethic.net/explorer/transaction/00002e8eaa14094c3f65de3dd55b1a87a19ecb9a68cf470969c1ee801fc43bd1281e
Checklist:
Useful info for the reviewer: