Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
removes mergify merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
behzadnouri committed Jun 10, 2022
1 parent 72af569 commit fe95d03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 63 deletions.
7 changes: 1 addition & 6 deletions sdk/program/src/system_instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,8 @@ pub fn instruction_to_nonce_error(
/// maximum permitted size of data: 10 MB
pub const MAX_PERMITTED_DATA_LENGTH: u64 = 10 * 1024 * 1024;

<<<<<<< HEAD
#[frozen_abi(digest = "2xnDcizcPKKR7b624FeuuPd1zj5bmnkmVsBWgoKPTh4w")]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, AbiExample, AbiEnumVisitor)]
=======
#[frozen_abi(digest = "5e22s2kFu9Do77hdcCyxyhuKHD8ThAB6Q6dNaLTCjL5M")]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, AbiExample, AbiEnumVisitor)]
>>>>>>> b4190319a (feat(nonce): adds system instruction to upgrade legacy nonce versions (#25789))
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, AbiExample, AbiEnumVisitor)]
pub enum SystemInstruction {
/// Create a new account
///
Expand Down
58 changes: 1 addition & 57 deletions web3.js/src/system-program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,60 +531,6 @@ export type SystemInstructionType =
| 'WithdrawNonceAccount'
| 'UpgradeNonceAccount';

<<<<<<< HEAD
=======
type SystemInstructionInputData = {
AdvanceNonceAccount: IInstructionInputData;
Allocate: IInstructionInputData & {
space: number;
};
AllocateWithSeed: IInstructionInputData & {
base: Uint8Array;
programId: Uint8Array;
seed: string;
space: number;
};
Assign: IInstructionInputData & {
programId: Uint8Array;
};
AssignWithSeed: IInstructionInputData & {
base: Uint8Array;
seed: string;
programId: Uint8Array;
};
AuthorizeNonceAccount: IInstructionInputData & {
authorized: Uint8Array;
};
Create: IInstructionInputData & {
lamports: number;
programId: Uint8Array;
space: number;
};
CreateWithSeed: IInstructionInputData & {
base: Uint8Array;
lamports: number;
programId: Uint8Array;
seed: string;
space: number;
};
InitializeNonceAccount: IInstructionInputData & {
authorized: Uint8Array;
};
Transfer: IInstructionInputData & {
lamports: bigint;
};
TransferWithSeed: IInstructionInputData & {
lamports: bigint;
programId: Uint8Array;
seed: string;
};
WithdrawNonceAccount: IInstructionInputData & {
lamports: number;
};
UpgradeNonceAccount: IInstructionInputData;
};

>>>>>>> b4190319a (feat(nonce): adds system instruction to upgrade legacy nonce versions (#25789))
/**
* An enumeration of valid system InstructionType's
* @internal
Expand Down Expand Up @@ -688,9 +634,7 @@ export const SYSTEM_INSTRUCTION_LAYOUTS: {
},
UpgradeNonceAccount: {
index: 12,
layout: BufferLayout.struct<
SystemInstructionInputData['UpgradeNonceAccount']
>([BufferLayout.u32('instruction')]),
layout: BufferLayout.struct([BufferLayout.u32('instruction')]),
},
});

Expand Down

0 comments on commit fe95d03

Please sign in to comment.