Skip to content

Commit 8a23bc3

Browse files
committed
bump nightly version
1 parent 2e888b4 commit 8a23bc3

File tree

16 files changed

+17
-154
lines changed

16 files changed

+17
-154
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ members = ["clients/rust", "program"]
66
solana = "2.0.2"
77

88
[workspace.metadata.toolchains]
9-
format = "nightly-2023-10-05"
10-
lint = "nightly-2023-10-05"
9+
format = "nightly-2024-05-02"
10+
lint = "nightly-2024-05-02"

clients/js/src/generated/errors/index.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

clients/js/src/generated/errors/loaderV4.ts

Lines changed: 0 additions & 51 deletions
This file was deleted.

clients/js/src/generated/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
* @see https://github.com/kinobi-so/kinobi
77
*/
88

9-
export * from './errors';
109
export * from './instructions';
1110
export * from './programs';

clients/rust/src/generated/errors/loader_v4.rs

Lines changed: 0 additions & 20 deletions
This file was deleted.

clients/rust/src/generated/errors/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,3 @@
33
//! to add features, then rerun kinobi to update it.
44
//!
55
//! <https://github.com/kinobi-so/kinobi>
6-
7-
pub(crate) mod loader_v4;
8-
9-
pub use self::loader_v4::LoaderV4Error;

program/idl.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,6 @@
207207
}
208208
}
209209
],
210-
"errors": [
211-
{
212-
"code": 0,
213-
"name": "Placeholder",
214-
"msg": "This is a placeholder error"
215-
}
216-
],
217210
"metadata": {
218211
"origin": "shank",
219212
"address": "CoreBPFLoaderV41111111111111111111111111111",

program/src/entrypoint.rs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
//! Program entrypoint.
22
33
use {
4-
crate::{error::LoaderV4Error, processor},
5-
solana_program::{
6-
account_info::AccountInfo, entrypoint::ProgramResult, program_error::PrintProgramError,
7-
pubkey::Pubkey,
8-
},
4+
crate::processor,
5+
solana_program::{account_info::AccountInfo, entrypoint::ProgramResult, pubkey::Pubkey},
96
};
107

118
solana_program::entrypoint!(process_instruction);
@@ -15,9 +12,5 @@ fn process_instruction(
1512
accounts: &[AccountInfo],
1613
input: &[u8],
1714
) -> ProgramResult {
18-
if let Err(error) = processor::process(program_id, accounts, input) {
19-
error.print::<LoaderV4Error>();
20-
return Err(error);
21-
}
22-
Ok(())
15+
processor::process(program_id, accounts, input)
2316
}

program/src/error.rs

Lines changed: 0 additions & 37 deletions
This file was deleted.

program/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#[cfg(all(target_os = "solana", feature = "bpf-entrypoint"))]
55
mod entrypoint;
6-
pub mod error;
76
pub mod instruction;
87
pub mod processor;
98
pub mod state;

0 commit comments

Comments
 (0)