shutter-network / rolling-shutter

Rolling Shutter is an MEV protection system to be plugged into rollups.
https://twitter.com/project_shutter/
28 stars 9 forks source link

Naming convention #526

Open fredo opened 2 months ago

fredo commented 2 months ago

We are facing confusions because we do not have proper naming. This results in confusion during discussions, naming in code is not consistent and we are transporting inner workings to the public in the engine room release with our explorer. I suggest we come up with consistent naming.

I'll start a list below. Please feel free to add other objects/processes which we should name and feel free to add suggestions.

General

Components

States

Suggestions

General

States

fredo commented 2 months ago

Current Votes

Overall Flow

Shielded Transaction Flow 5

SubmitEncryptedTransaction Call

Encrypted Transaction 2 Encrypted Mempool Transaction 1 Submission Transaction 1 Sequencer Transaction 2

Encrypted data (call data of the above)

encrypted data 1 encrypted User Transaction 4

The user's transaction

User Transaction 5

Decided

Happy Case States

Not Found Pending Encrypted Transaction Submitted Pending User Transaction Included