Skip to content

Commit

Permalink
enabled etrog contracts (erigontech#117)
Browse files Browse the repository at this point in the history
* enabled etrog contracts

* fix(ci): golangci-lint version

---------

Co-authored-by: Max Revitt <max@revitt.consulting>
  • Loading branch information
V-Staykov and revitteth committed Feb 12, 2024
1 parent 0149820 commit 0339611
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_zkevm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
- name: Lint
if: runner.os == 'Linux'
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: v1.52
version: v1.54

- name: Test
run: make test
8 changes: 4 additions & 4 deletions core/vm/contracts_zkevm.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ var PrecompiledContractForkID7Etrog = map[libcommon.Address]PrecompiledContract{
libcommon.BytesToAddress([]byte{3}): &ripemd160hash_zkevm{},
libcommon.BytesToAddress([]byte{4}): &dataCopy_zkevm{enabled: true},
libcommon.BytesToAddress([]byte{5}): &bigModExp_zkevm{enabled: true, eip2565: true},
libcommon.BytesToAddress([]byte{6}): &bn256AddIstanbul_zkevm{},
libcommon.BytesToAddress([]byte{7}): &bn256ScalarMulIstanbul_zkevm{},
libcommon.BytesToAddress([]byte{8}): &bn256PairingIstanbul_zkevm{},
libcommon.BytesToAddress([]byte{9}): &blake2F_zkevm{},
libcommon.BytesToAddress([]byte{6}): &bn256AddIstanbul_zkevm{enabled: true},
libcommon.BytesToAddress([]byte{7}): &bn256ScalarMulIstanbul_zkevm{enabled: true},
libcommon.BytesToAddress([]byte{8}): &bn256PairingIstanbul_zkevm{enabled: true},
libcommon.BytesToAddress([]byte{9}): &blake2F_zkevm{enabled: true},
}

// ECRECOVER implemented as a native contract.
Expand Down

0 comments on commit 0339611

Please sign in to comment.