Skip to content

Commit

Permalink
Sync CanonicalABI.md and canonical-abi/definitions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewagner committed Jan 4, 2023
1 parent 0013acd commit 006b97c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions design/mvp/CanonicalABI.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,14 @@ state indicates whether the instance may be called from the outside world
through an export. The `HandleTable` is defined next.
```python
class ComponentInstance:
may_leave = True
may_enter = True
may_leave: bool
may_enter: bool
handles: HandleTable

def __init__(self):
handles = HandleTable()
self.may_leave = True
self.may_enter = True
self.handles = HandleTable()
```

Lastly, the `called_as_export` field of `Context` indicates whether the lifted
Expand Down

0 comments on commit 006b97c

Please sign in to comment.