|
1 | 1 | // SPDX-License-Identifier: Apache-2.0
|
2 | 2 | pragma solidity ^0.8.9;
|
3 | 3 |
|
4 |
| -import "../core/02-client/ILightClient.sol"; |
5 |
| -import "../core/02-client/IBCHeight.sol"; |
6 |
| -import "../core/25-handler/IIBCHandler.sol"; |
7 |
| -import "../proto/Client.sol"; |
| 4 | +import {ILightClient, ConsensusStateUpdate, ClientStatus} from "../core/02-client/ILightClient.sol"; |
| 5 | +import {IBCHeight} from "../core/02-client/IBCHeight.sol"; |
| 6 | +import {IIBCHandler} from "../core/25-handler/IIBCHandler.sol"; |
| 7 | +import {Height} from "../proto/Client.sol"; |
8 | 8 | import {
|
9 | 9 | IbcLightclientsIbft2V1ClientState as ClientState,
|
10 | 10 | IbcLightclientsIbft2V1ConsensusState as ConsensusState,
|
11 | 11 | IbcLightclientsIbft2V1Header as Header
|
12 | 12 | } from "../proto/IBFT2.sol";
|
13 | 13 | import {GoogleProtobufAny as Any} from "../proto/GoogleProtobufAny.sol";
|
14 |
| -import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; |
15 |
| -import "solidity-bytes-utils/contracts/BytesLib.sol"; |
16 |
| -import "solidity-rlp/contracts/RLPReader.sol"; |
17 |
| -import "solidity-mpt/src/MPTProof.sol"; |
| 14 | +import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; |
| 15 | +import {BytesLib} from "solidity-bytes-utils/contracts/BytesLib.sol"; |
| 16 | +import {RLPReader} from "solidity-rlp/contracts/RLPReader.sol"; |
| 17 | +import {MPTProof} from "solidity-mpt/src/MPTProof.sol"; |
18 | 18 |
|
19 | 19 | // please see docs/ibft2-light-client.md for client spec
|
20 | 20 | contract IBFT2Client is ILightClient {
|
|
0 commit comments