From 5134a2d817c0c4ac6893e44519a20faf1635e32b Mon Sep 17 00:00:00 2001 From: Jeeyong Um Date: Wed, 1 Jan 2025 05:56:47 +0800 Subject: [PATCH] chore: Remove duplicated source file --- frame/solana/src/meta.rs | 49 ---------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 frame/solana/src/meta.rs diff --git a/frame/solana/src/meta.rs b/frame/solana/src/meta.rs deleted file mode 100644 index 5c4bb0ea..00000000 --- a/frame/solana/src/meta.rs +++ /dev/null @@ -1,49 +0,0 @@ -// This file is part of Noir. - -// Copyright (c) Haderech Pte. Ltd. -// SPDX-License-Identifier: GPL-3.0-or-later - -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; -use scale_info::TypeInfo; -use serde::{Deserialize, Serialize}; -use solana_sdk::{clock::Epoch, pubkey::Pubkey}; - -/// This struct will be backed by mmaped and snapshotted data files. -/// So the data layout must be stable and consistent across the entire cluster! -#[derive( - Serialize, - Deserialize, - Clone, - Debug, - Default, - Eq, - PartialEq, - Decode, - Encode, - MaxEncodedLen, - TypeInfo, -)] -#[repr(C)] -pub struct AccountMeta { - // lamports in the account - //pub lamports: u64, - /// the epoch at which this account will next owe rent - pub rent_epoch: Epoch, - /// the program that owns this account. If executable, the program that loads this account. - pub owner: Pubkey, - /// this account's data contains a loaded program (and is now read-only) - pub executable: bool, -}