Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ from boa.compiler import Compiler
Compiler.load_and_save('path/to/your/file.py')
```

Or navigate into `boa` directory and use the command:

```
cli.py path/to/your/file.py
```

For legacy functionality without NEP8 stack isolation compatibility, use the following:

```
Expand Down
2 changes: 1 addition & 1 deletion boa/code/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def export_abi_json(self, output_path):
avm_name = os.path.splitext(os.path.basename(output_path))[0]

abi_info = self.generate_abi_json(avm_name, file_hash)
abi_json_filename = os.path.basename(output_path.replace('.avm', '.abi.json'))
abi_json_filename = output_path.replace('.avm', '.abi.json')

with open(abi_json_filename, 'w+') as out_file:
out_file.write(abi_info)
Expand Down