Skip to content

Commit a0ffcb5

Browse files
authored
feat: bump scroll revm (#353)
* fix: make clippy happy Signed-off-by: Gregory Edison <[email protected]> * fix: lints Signed-off-by: Gregory Edison <[email protected]> --------- Signed-off-by: Gregory Edison <[email protected]>
1 parent ba5d7f7 commit a0ffcb5

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/engine/tree/src/tree/precompile_cache.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ mod tests {
273273

274274
#[test]
275275
fn test_precompile_cache_basic() {
276-
let dyn_precompile: DynPrecompile = |_input: PrecompileInput<'_>| -> PrecompileResult {
276+
let dyn_precompile: DynPrecompile = (|_input: PrecompileInput<'_>| -> PrecompileResult {
277277
Ok(PrecompileOutput { gas_used: 0, bytes: Bytes::default(), reverted: false })
278-
}
278+
})
279279
.into();
280280

281281
let cache =

crates/scroll/hardforks/docs/hardforks.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ This significant upgrade will reduce gas fees on the Scroll chain by 1.5x. Highl
198198
algorithm. This compression reduces the data size, allowing each blob to store more transactions, thereby reducing
199199
data availability cost per transaction.
200200
- Adopts a modified version of the EIP-1559 pricing model which is compatible with the EIP-1559 transaction interface,
201-
bringing beneftis such as more accurate transaction pricing and a more predictable and stable fee structure.
201+
bringing benefits such as more accurate transaction pricing and a more predictable and stable fee structure.
202202
- Support for new EVM opcodes `TLOAD`, `TSTORE`, and `MCOPY`. Users can safely use the latest Solidity compiler version
203203
`0.8.26` to build the contracts.
204204
- Introduces a dynamic block time. During periods of traffic congestion, a block will be packed when the number of
@@ -226,9 +226,9 @@ The code changes for this upgrade are documented in the following PRs:
226226
The main changes are as follows:
227227
228228
- The rollup contract (`ScrollChain`) will now accept batches with both versions 1 and
229-
2. [Version 1](https://github.com/scroll-tech/da-codec/tree/main/encoding/codecv1) is used for uncompressed blobs (
230-
pre-Curie), while [version 2](https://github.com/scroll-tech/da-codec/tree/main/encoding/codecv2) is used for
231-
compressed blobs (post-Curie).
229+
2. [Version 1](https://github.com/scroll-tech/da-codec/tree/main/encoding/codecv1) is used for uncompressed blobs (
230+
pre-Curie), while [version 2](https://github.com/scroll-tech/da-codec/tree/main/encoding/codecv2) is used for
231+
compressed blobs (post-Curie).
232232
- The `L1GasPriceOracle` contract will be updated to change the data fee formula to account for blob DA, providing a
233233
more accurate estimation of DA costs:
234234
- Original formula: `(l1GasUsed(txRlp) + overhead) * l1BaseFee * scalar`

0 commit comments

Comments
 (0)