-
Notifications
You must be signed in to change notification settings - Fork 35
Standardize language around deposits #87
Comments
Proposal:
I tried to be congruent with our current usage and make it easy to use the right term. e.g. it's useless to pin down the meaning of deposit to something hyper specific as the term is going to be used in all kinds of situations. The context will often be a guide, but this should provide a clear guideline on what can be used, and how to disambiguate if needed. |
I'd also like to reintroduce the proposal to rename the "deposit feed contract" to "deposit contract". It's simpler and never ambiguous. Is this still controversial? (@ben-chain ?) My main argument is that feed seems to entail a continuous nature (where we can process deposits one by one), whereas deposits are actually chunked by L1 blocks and are processed in batches. So the term is somewhat misleading. |
Just to add some context, the 'Feed' term only starts to make sense when you consider it with a sequencer included. So that you have multiple sources of transaction input. Then you might want to say "Deposit Feed" and "Sequencer Feed". So maybe it's a term that would be included in the context of the Rollup Node specs, but I agree it seems OK to remove it from the name of the contract and the sections of the spec which are mostly focused on Deposits. |
I understand what you are saying, and still I don't think it follows that the terms has a place. Even when using the sequencer, deposits landing on an L1 block map to a deposit block. To me, opposing "deposit feed" and "sequencer feed" seem to suggest that these two feeds are somehow merged. They aren't. Instead, you could say that we have a "deposit block feed" and a "sequencer block feed" and those are merged. Not sure we really want to go there. Here is a strawman explanation (that assumes some prior knowledge of the design):
It's really not clear to me how using the term "feed" can make this explanation any better. |
I think we should defer the 'feed' discussion. It's probably fairly easy to delete that from a few places if/when we agree to do so. TBH, I'm struggling a bit with the proposed terminology, but it's difficult to provide concrete feedback on it. One idea I have that might help is to introduce the term "deposited". Then we can distinguish between concepts on L1 and L2 by using "depositing" on L1, and "deposited" on L2. Here's a quick diagram. |
Hard agree that the "feed" stuff should not delay a discussion on deposit terms and can be postponed. Really like the proposal of using "deposited" and "depositing". Patching my proposal to include your suggestions. What I've added:
Does that seem closer to what you had in mind? Oh, and it would be great to have something like that chart in the docs later on!
|
I think it should be Otherwise this looks really good to me. |
That was on purpose, I meant the depositor to be the user that sends a transaction that does deposit calls. |
It just seems like Also I can imagine applications that makes deposits which there tx originator isn't even aware of, like a DeFi aggregator (ie. yearn, rari) that accepts a deposit of collateral on L1, then deposits it to L2 for some yield farming. |
That's correct. Fine by me to have by |
I think we've agreed on this. :) |
@maurelian Reopening this for tracking that we actually change the spec accordingly. If you feel it should be a separate issue, feel free to re-close and open a new one! |
We have a lot of things using the term "
deposit", which are similar but different.
It's fine for now, but this will get confusing eventually.
The text was updated successfully, but these errors were encountered: