Ban using contracts as namespaces (#428)

* Ban calling contracts functions as functions namespaces

* Ban using contracts as namespaces

* Add tests

* Update CHANGELOG

* Separate guards with a semicolon
This commit is contained in:
Gaith Hallak
2022-11-23 12:03:24 +03:00
committed by GitHub
parent 256df25af4
commit 5adeb6c93e
5 changed files with 28 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Type definitions serialised to ACI as `typedefs` field instead of `type_defs` to increase compatibility.
- Check contracts and entrypoints modifiers when implementing interfaces.
- Contracts can no longer be used as namespaces.
### Removed
### Fixed
- Typechecker crashes if Chain.create or Chain.clone are used without arguments.