AztecProtocol / aztec-packages

Apache License 2.0
207 stars 238 forks source link

feat: `base_fee` solidity computation #9804

Closed LHerskind closed 5 days ago

LHerskind commented 2 weeks ago

Implement the same computaiton for the base_fee as done in the python notebook.

I believe creating a small library can be useful for it. Testing can be made very convenient since we already have a base implementation in python which was found acceptable and we can simple take the the input/output combinations from it and ensure that the same is computed here.

LHerskind commented 1 week ago

Until #9716 is in, we can "cheat" slightly, by adding it to the header but just have the value be 0. That way, we can run e2e and other tests as they are now, but showcase with L1 that the thing will work when the value is propagated throughout.