Latest Version of Vyper (0.1.0b6) Breaks Populus
Open
- Dominant language
- No language data
- Stars
- 319
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
* Populus Version: 2.2.0
* OS: linux
When using Vyper with version 0.1.0b6, the compilation process fails with this error:
```
bytecode = '0x' + compiler.compile_code(code).hex()
AttributeError: 'dict' object has no attribute 'hex'
```
This is the fix that I used for now:
```python
- bytecode = '0x' + compiler.compile(code).hex()
- bytecode_runtime = '0x' + compiler.compile(code, bytecode_runtime=True).hex()
+ bytecode = compiler.compile_code(code)['bytecode']
+ bytecode_runtime = compiler.compile_code(code, ['bytecode_runtime'])['bytecode_runtime']
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.