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.

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.

None yet

1 participant