From 34a5dd77d6fb34b45095a844086f86824ede0bfb Mon Sep 17 00:00:00 2001 From: sunchengzhu <36075573+sunchengzhu@users.noreply.github.com> Date: Thu, 16 Nov 2023 21:27:40 +0800 Subject: [PATCH] Update ImageCell.sol --- .../system-contract/contracts/image_cell/ImageCell.sol | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/builtin-contract/system-contract/contracts/image_cell/ImageCell.sol b/builtin-contract/system-contract/contracts/image_cell/ImageCell.sol index ca20e7d37..4dab975c2 100644 --- a/builtin-contract/system-contract/contracts/image_cell/ImageCell.sol +++ b/builtin-contract/system-contract/contracts/image_cell/ImageCell.sol @@ -4,7 +4,7 @@ pragma solidity >=0.8.0; import "../libraries/CkbType.sol"; -library ImageCellType { +library ImageCell { struct BlockUpdate { uint64 blockNumber; CkbType.OutPoint[] txInputs; @@ -20,10 +20,10 @@ library ImageCellType { // **Notice** // This file only defines the interface of image cell contract. The real // implementation is in `core/executor/src/system_contract/image_cell`. -interface ImageCell { +interface ImageCellType { function setState(bool allowRead) external; - function update(ImageCellType.BlockUpdate[] calldata blocks) external; + function update(ImageCell.BlockUpdate[] calldata blocks) external; - function rollback(ImageCellType.BlockRollBlack[] calldata blocks) external; + function rollback(ImageCell.BlockRollBlack[] calldata blocks) external; }