Closed blackcow1987 closed 4 weeks ago
@zzooppii
This is a good way to reduce the size of calldata to the function.
However, I know that the gas cost is higher for loading values from storage than for using input values.
So I think we need to discuss whether to apply this part.
Thank you for your good opinion.
storage cost is expensive then input data, but in L2 these data is stored in L1 through rollup. So I think it is important to minimize overall calldata.
We will discuss the relevant part.
Thank you for the good feedback!
@blackcow1987 We will not change it right now, but we will consider supporting that part in the future.
Thank you.
What is your recommendation for?
No response
Explain your suggestion
When registerToken is performed in the L2 contract, you can reduce the size of the calldata added to the rollup by issuing an ID for the l1/l2 token pair and changing the contract to use that ID.