Skip to content

Commit 9ef9f75

Browse files
author
Stuart Reed
authored
feat(tests): EIP-152 precompiled contracts with Blake2 (#1067)
Use opcodes and set test parameters to the expected inputs and outputs. Update CHANGELOG Document removal of json in converted-ethereum-tests.txt
1 parent fd64af2 commit 9ef9f75

File tree

4 files changed

+589
-0
lines changed

4 files changed

+589
-0
lines changed

converted-ethereum-tests.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@ GeneralStateTests/Cancun/stEIP1153-transientStorage/20_oogUndoesTransientStoreIn
6767

6868
([#975](https://github.com/ethereum/execution-spec-tests/pull/975))
6969
GeneralStateTests/VMTests/vmTests/push.json
70+
71+
([#1067](https://github.com/ethereum/execution-spec-tests/pull/1067))
72+
GeneralStateTests/stPreCompiledContracts/blake2B.json

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Release tarball changes:
3131
- 🔀 Update EIP-2935 according to [spec updates](https://github.com/ethereum/EIPs/pull/9144) ([#1046](https://github.com/ethereum/execution-spec-tests/pull/1046))
3232
-[EIP-7691](https://eips.ethereum.org/EIPS/eip-7691) Blob throughput increase tests by parametrization of existing EIP-4844 tests ([#1023](https://github.com/ethereum/execution-spec-tests/pull/1023), [#1082](https://github.com/ethereum/execution-spec-tests/pull/1082))
3333
- ✨ Port [calldatacopy test](https://github.com/ethereum/tests/blob/ae4791077e8fcf716136e70fe8392f1a1f1495fb/src/GeneralStateTestsFiller/VMTests/vmTests/calldatacopyFiller.yml) ([#1056](https://github.com/ethereum/execution-spec-tests/pull/1056)).
34+
-[EIP-152](https://eips.ethereum.org/EIPS/eip-152) Add tests for Blake2 compression function `F` precompile ([#1067](https://github.com/ethereum/execution-spec-tests/pull/1067))
3435

3536
### 🛠️ Framework
3637

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"""
2+
abstract: Tests [EIP-152: BLAKE2 compression precompile](https://eips.ethereum.org/EIPS/eip-152)
3+
Test cases for [EIP-152: BLAKE2 compression precompile](https://eips.ethereum.org/EIPS/eip-152).
4+
"""

0 commit comments

Comments
 (0)