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

fix soft_fail billing bug #3961

Merged
merged 1 commit into from
Jun 8, 2018
Merged

fix soft_fail billing bug #3961

merged 1 commit into from
Jun 8, 2018

Conversation

arhag
Copy link
Contributor

@arhag arhag commented Jun 8, 2018

The sender of a generated transactions is added as an authorizer (with active permission) to the eosio::onerror action delivered to the sender's contract. This is needed to properly bill someone on soft_fails. If a blockchain generated with v1.0.1 has deferred transaction soft_fails, it is possible but not guaranteed that v1.0.2 will be unable to replay it. Thus this change introduces a potential consensus-breaking change.

@arhag arhag added bug CONSENSUS Introduces a change that may modify consensus protocol rules on an existing blockchain. labels Jun 8, 2018
@arhag arhag added this to the Version 1.0.2 milestone Jun 8, 2018
@arhag arhag merged commit 98ff28c into master Jun 8, 2018
@arhag arhag deleted the fix-soft-fail-billing-bug branch June 8, 2018 20:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug CONSENSUS Introduces a change that may modify consensus protocol rules on an existing blockchain.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants