> For the complete documentation index, see [llms.txt](https://docs.giwa.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.giwa.io/notices/giwa-chain/readme.md). Agents can also search and read this documentation through its [MCP server](https://docs.giwa.io/~gitbook/mcp).

# Upgrade 21 프로토콜 업그레이드

> 공지일자: 2026년 11월 24일
>
> 적용 네트워크: GIWA 테스트넷 (Sepolia)

## 개요

GIWA Chain은 OP Stack의 Upgrade 21 프로토콜 업데이트를 적용합니다. 이번 업그레이드에는 L1 브릿지의 ETH 보관을 전용 컨트랙트인 `ETHLockbox`로 옮기고, Withdrawal finalize 처리를 보완하는 변경이 포함되어 있어요.

{% hint style="info" %}
이번 업그레이드는 하드포크가 아닌 L1 스마트 컨트랙트 수준의 업데이트로, 노드 운영자는 별도로 업데이트할 필요가 없어요.
{% endhint %}

## 일정

* 테스트넷 (Sepolia): *2026년 11월 30일 오후 3시 00분 KST*

{% hint style="info" %}
체인의 상태나 블록 타이밍에 따라 실제 적용 시점은 다소 변동될 수 있습니다.
{% endhint %}

## 주요 변경사항

* **ETH 보관 위치 변경 — `ETHLockbox`**: L1 브릿지로 예치된 ETH는 지금까지 `OptimismPortal`에 보관되었는데, 업그레이드 이후에는 새로 배포되는 `ETHLockbox` 컨트랙트([`0x7E3eFCDC2CccfA6aC0DBD29Da74003C693cd2CbC`](https://sepolia.etherscan.io/address/0x7E3eFCDC2CccfA6aC0DBD29Da74003C693cd2CbC))에 보관돼요. `OptimismPortal`에 있던 ETH는 업그레이드 트랜잭션에서 모두 `ETHLockbox`로 옮겨집니다. Deposit과 Withdrawal은 지금처럼 `OptimismPortal`을 통해 진행돼요.
* **Withdrawal finalize 보완**: `L2CrossDomainMessenger`를 통해 보낸 Withdrawal을 finalize할 때 `L1CrossDomainMessenger` 호출이 실패하면, 이제 Withdrawal을 실패로 확정하지 않고 트랜잭션이 `OptimismPortal_L1CDMCallFailed`로 revert돼요. Withdrawal은 그대로 남아 있어 가스를 늘려 다시 시도할 수 있습니다.
* **Withdrawal 증명 정리**: 더 이상 finalize될 수 없는 Dispute Game(예: 무효화된 게임)으로 증명된 Withdrawal 증명은 누구나 `deleteProvenWithdrawal`로 삭제할 수 있어요. 유효한 게임으로 증명된 Withdrawal에는 영향이 없습니다.
* **Dispute Game**: 변경 없이 `SUPER_PERMISSIONED`(타입 5) 게임을 계속 사용해요. 업그레이드 전에 생성된 게임은 그대로 진행되고, 업그레이드 전에 증명한 Withdrawal은 다시 증명할 필요가 없어요.

## 개발자 영향

일반적인 L2 컨트랙트와 트랜잭션은 영향이 없어요. 아래에 해당하는 도구가 있다면 점검해 주세요.

* **브릿지 ETH 잔고 조회**: `OptimismPortal`의 ETH 잔고로 브릿지 예치량을 확인하던 도구는 `ETHLockbox`의 잔고를 조회하도록 바꿔야 해요.
* **Withdrawal finalize**: Withdrawal을 직접 finalize하는 앱이나 스크립트는 `OptimismPortal_L1CDMCallFailed` revert를 가스를 늘려 다시 시도할 수 있는 오류로 처리해 주세요.
* **Withdrawal 증명 추적**: Withdrawal 증명 상태를 추적한다면 새 `WithdrawalProofDeleted` 이벤트를 처리해 주세요.
* **정지(pause) 이벤트**: `SuperchainConfig`의 `Paused` 이벤트를 `OptimismPortal` 주소로 필터링하던 도구는 `ETHLockbox` 주소로 바꿔야 해요. 정지 여부는 지금처럼 `OptimismPortal.paused()`로 확인하면 됩니다.
* **Relay 가스 상수**: `L1CrossDomainMessenger`의 relay 가스 상수가 `LOCAL_*`와 `REMOTE_*`로 나뉘어요. 기존 `RELAY_*`는 `REMOTE_*`의 별칭으로 남아 있습니다.

## 더 알아보기

Upgrade 21에 대해 더 알아보고 싶나요? [OP Stack 문서](https://docs.optimism.io/notices/upgrade-21)를 확인해보세요.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.giwa.io/notices/giwa-chain/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
