2

As it is stated here , Inline communication paragraph inline actions are supposed to be executed in the same transaction and inherit authorization from calling action. But when i do action.send nodeos gives me

FC Exception encountered while processing chain.push_transaction: 3090003 unsatisfied_authorization: provided keys, permissions, and delays do not satisfy declared authorizations

so it looks like it is executed in a separate transaction and with different authorizations. Same here

So is that paragraph is no longer actual? And to inherit authorizations do we have to use deferred transactions?

  • What command are you sending? That would help diagnose this I think as the error lists several potential issues that may be cleared up by that. – Nat Jun 9 '18 at 3:50
  • i do action.send in the code and error message in subj is displayed in nodeos log – baltazar Jun 9 '18 at 7:46
  • After all looks like inline action is executed in current transaction, but it definitely doens't inherit authorizations of the parent trans – baltazar Jun 9 '18 at 11:53
1

Inline actions are part of the same transaction, but their authorizations are separate. This limits abuse. e.g. if I send a playwith action to a crypto pet, the pet's contract can't unilaterally take my eosio.token tokens.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.