ethereum/yellowpaper

Attempting to set a variable = raw_call gives me a compiler bug AttributeError

Alexangelj opened this issue · 0 comments

This code snippet:
raw_value: bytes32 = raw_call(self.oracle_address, method_id('getLatestPrice(bytes32)', bytes[4]), outsize=32, gas=msg.gas)

Gives me this error when I attempt to compile:
AttributeError: 'Call' object has no attribute 's'

When I set raw_value as empty and run this code it gives me no compiler errors:
self.raw_value = raw_call(self.oracle_address, method_id('getLatestUpdatedHeight()', bytes[4]), outsize=32, gas=msg.gas)

EDIT:

Accidentally submitted this issue to the wrong repository.