Commit e6d7085
authored
fix(l2): revert substrate-bn patched
**Motivation**
#5535 introduced a version of
ecadd that uses substrate-bn, because both ZisK and SP1 patch this crate
to use zkVM accelerators for the operation.
After merging, we found an Ethereum Mainnet block failing to execute
with a gas mismatch error, which does not happen one commit before
merging that PR.
This PR reverts the usage of substrate-bn for SP1 only.
**Description**
<!-- A clear and concise general description of the changes this PR
introduces -->
<!-- Link to issues: Resolves #111, Resolves #222 -->
**Checklist**
- [ ] Updated `STORE_SCHEMA_VERSION` (crates/storage/lib.rs) if the PR
includes breaking changes to the `Store` requiring a re-sync.
Closes #issue_numberecadd precompile for SP1 (#5723)1 parent 1d0a872 commit e6d7085
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
743 | 743 | | |
744 | 744 | | |
745 | 745 | | |
746 | | - | |
| 746 | + | |
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
| 802 | + | |
803 | 803 | | |
804 | 804 | | |
| 805 | + | |
| 806 | + | |
805 | 807 | | |
806 | 808 | | |
807 | 809 | | |
| |||
0 commit comments