Thanks for adding this :pray:
Querying multiple slots at once can help saving gas and also offer good DevEx.
I have a couple of questions:
The slots being queried have to been contiguous, all next to each other? Or can they be separate?
The max number of slots queried is 5 right? So 160 bytes.
Why did we decide to remove the block number? Is this to make it simpler, save gas or to reduce load on the scroll nodes? Nothing on top of my mind but I just wonder if we'll leave some use cases behind by doping historic data query
1. Purpose or design rationale of this PR
Change behavior of l1sload precompile to new design
To request multiple storage keys in a single call make batch RPC request
2. PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:
3. Deployment tag versioning
Has the version in
params/version.go
been updated?4. Breaking change label
Does this PR have the
breaking-change
label?