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

🐛 https://github.com/archethic-foundation/archethic-wallet/issues/888 #889

Conversation

redDwarf03
Copy link
Member

Description

Fixes #888

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Material used:

Please delete options that are not relevant.

  • iOS (Mac)

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:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Useful info for the reviewer:

@redDwarf03 redDwarf03 merged commit 80d4133 into dev Jan 7, 2024
1 check passed
@redDwarf03 redDwarf03 deleted the 888-rpc-send-transaction-transaction-typed-contract-is-not-supported branch January 7, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RPC - Send transaction - Transaction typed "Contract" is not supported
1 participant