-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pr 57 validate smart contract calls (#802)
* Validate Smart Contracts implementation before the SC merge * prettify contract error * simulate contract function return the next_transaction * add more unit tests * better spec * move simulate into interpreter and refactor the worker * use existing TaskSupervisor * LINT: split Archethic.parse_and_execute_contract_at into 2 functions * LINT: refactor worker for explicit workflow * LINT: split execute_trigger_and_validate_inherit_condition into 2 functions * add an error when missing recipients * simulate contract will fetch the latest contract of the chain * LINT: use get_last_transaction/1 --------- Co-authored-by: Bastien CHAMAGNE <bastien@chamagne.fr>
- Loading branch information
Showing
13 changed files
with
1,318 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.