Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Add tester2 call() & raise TransactionFailed #717

Open
wants to merge 1 commit into
base: state_revamp
Choose a base branch
from

Conversation

karlfloersch
Copy link
Member

This PR:

  • Adds call() which is used when a function is declared constant
  • Makes tx() raise TransactionFailed if a tx does not succeed, instead of just returning False. This is to differentiate between a failed transaction and a function that is returning False because of normal behavior.

@karlfloersch karlfloersch force-pushed the state_revamp_tester2_call branch from d239955 to 1ca06f3 Compare May 8, 2017 04:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant