Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

180
Visualizações
Can't transfer assets between two Iroha accounts

I'm experimenting with Iroha and Iroha-helpers (a js library to communicate with the network). I'm having issues to process a "TransferAssets" transaction, it gives me a 'STATEFUL_VALIDATION_FAILED' error message, but nothing else about why it's failing.

This happens when I tried to make an asset transfer between 'userA@test' and 'userB@test' . I do not get the same issues IF I perform this transaction with the sender being 'admin@test'. All accounts have a balance of the asset that I'm trying to transfer, and they all have the same role 'user' which has the 'can_transfer' 'can_receive' roles.

This issue only happens when 'admin@test' is not the sender. otherwise it works just fine. Does anyone have an idea on how can I solve this error ?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I figured the solution and it was a silly mistake I was making.

My understanding of 'CreatorAccountId' was that you always pass the accountId of the domain creator, in my case it was 'admin@test'. However is supposed to be the creator of the transaction. So to solve my issue I just need to pass the accountId of the person/account that was making the transaction, in my case I just needed to pass usera@test as creatorAccountId as well as the the private key of usera@test for signing.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda