Skip to content

Commit e3979e3

Browse files
committed
bump nightly version
1 parent 2e888b4 commit e3979e3

File tree

10 files changed

+3
-137
lines changed

10 files changed

+3
-137
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: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,5 @@ fn process_instruction(
1515
accounts: &[AccountInfo],
1616
input: &[u8],
1717
) -> ProgramResult {
18-
if let Err(error) = processor::process(program_id, accounts, input) {
19-
error.print::<LoaderV4Error>();
20-
return Err(error);
21-
}
22-
Ok(())
18+
processor::process(program_id, accounts, input)
2319
}

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)