AztecProtocol / aztec-packages

Apache License 2.0
155 stars 156 forks source link

Spike: per-function or per-contract public bytecode? #7224

Open dbanks12 opened 3 days ago

dbanks12 commented 3 days ago

Should a public contract be represented as a single bytecode blob where (as a heuristic) function selector lives in the first few bytes of calldata? Each contract would then start with a compiler-generated jump table that jumps to external contracts based on function selector.