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?

3
  • 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, 2018 at 3:50
  • i do action.send in the code and error message in subj is displayed in nodeos log
    – baltazar
    Jun 9, 2018 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, 2018 at 11:53

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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