Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Resolve #168: Fix used auths #169

Merged
merged 2 commits into from
Aug 15, 2017
Merged

Resolve #168: Fix used auths #169

merged 2 commits into from
Aug 15, 2017

Commits on Aug 15, 2017

  1. Fix tracking of used_authorizations across notified accounts

    Previously, only the used_authorizations from the original message were
    being tracked, even though the original message might notify other
    accounts which in turn might require more authorizations. This is now
    fixed so that all required auths from all handlers called in the
    processing of a message and its notifications are tracked.
    
    This fixes "irrelevant authority" errors which were being thrown
    incorrectly.
    nathanielhourt committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    8425270 View commit details
    Browse the repository at this point in the history
  2. Add missing require_authorization

    eos::setcode was not requiring authorization from the account whose code
    was being set. This is definitely incorrect. Alice should not be able to
    set Bob's code without Bob's authorization. :P
    nathanielhourt committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    5a60917 View commit details
    Browse the repository at this point in the history