Skip to content

Commit

Permalink
chore(tests): fix typo in selfdestruct revert test module (#421)
Browse files Browse the repository at this point in the history
* Update test_selfdestruct_revert.py

* docs: Add changelog entry for selfdestruct revert typo.

---------

Co-authored-by: spencer-tb <[email protected]>
  • Loading branch information
cristiantroy and spencer-tb authored Jan 31, 2024
1 parent 63cd154 commit 8dc261d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ Test fixtures for use by clients are available for each release on the [Github r

**Key:** ✨ = New, 🐞 = Fixed, 🔀 = Changed, 💥 = Breaking change.

## 🔜 [Unreleased](https://github.com/ethereum/execution-spec-tests/releases/tag/v-Unreleased) - 2024-xx-xx

### 🧪 Test Cases

### 🛠️ Framework

### 🔧 EVM Tools

### 📋 Misc

- 🐞 Fix typo in the selfdestruct revert tests module ([#421](https://github.com/ethereum/execution-spec-tests/pull/421)).

## [v2.1.0](https://github.com/ethereum/execution-spec-tests/releases/tag/v2.1.0) - 2024-01-29: 🐍🏖️ Cancun

Release [v2.1.0](https://github.com/ethereum/execution-spec-tests/releases/tag/v2.1.0) primarily fixes a small bug introduced within the previous release where transition forks are used within the new `StateTest` format. This was highlighted by @chfast within #405 (https://github.com/ethereum/execution-spec-tests/issues/405), where the fork name `ShanghaiToCancunAtTime15k` was found within state tests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def selfdestruct_with_transfer_contract_code(
let operation := calldataload(0)
switch operation
case 0 /* no-op used for transfering value to this contract */ {{
case 0 /* no-op used for transferring value to this contract */ {{
let times_called := sload(0)
times_called := add(times_called, 1)
sstore(0, times_called)
Expand Down

0 comments on commit 8dc261d

Please sign in to comment.