(address foo, uint bar)
, have result[0] === result.foo
and result[1] === result.bar
, but (address, uint)
and (address out, uint out)
only have result[0]
and result[1]
.
Any ideas when the following issues will be merged into a release? They're causing a lot of frustration and code bloat. Having to initialize our large array at declaration time actually doubles the size of our contract! #1676
Can't use constant 2D arrays in code.
ethereum/vyper#1915
Private functions may blow up with parameters in different orders. (we've got this patched in our custom beta17 now)
ethereum/vyper#1848
Add zeroing function for array initialization.
vyperlang/vyper#1676
@inline private functions decorator.
vyperlang/vyper#1677
Hi, I'm currently working on learning Vyper and I pulled the sample Prysmaticlabs Contract on etherscan and started to adapt it to the newest version and I ran into and issue:
vyper.exceptions.StructureException: line 44:16 Cannot call public functions via 'self'
43
---> 44 log.Deposit(self.get_deposit_root(), deposit_data, self.to_bytes(index))
------------------------^
45
.......
vyper.exceptions.StructureException: line 44:16 Not a top-level function: get_deposit_root. Did you mean self.get_deposit_root?
43
---> 44 log.Deposit(get_deposit_root(), deposit_data, self.to_bytes(index))
------------------------^
Can anyone help me out here?