LayerXcom / verified-vyper-contracts

FVyper: A collection of useful Vyper contracts developed with formal methods
Apache License 2.0
55 stars 15 forks source link

[RSA Accumulator] Add impl & test #70

Closed nrryuya closed 5 years ago

nrryuya commented 5 years ago

References

nrryuya commented 5 years ago

Code size issue

Fow now, the code can't be deployed due to the excess of the code size: eth.exceptions.OutOfGas: Contract code size exceeds EIP170 limit of 24577. Got code of size: 55782

For analysis.

Suspects

jacqueswww commented 5 years ago

@nrryuya Yes we really need to have some discussion about what we can do here to reduce bytecode size, I don't think pass by reference is a secure paradigm (as always happy to be convinced otherwise). However as suggested by @charles-cooper we can looking in supporting "final" or immutable structs.