Skip to content

Commit

Permalink
bump nightly version
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec committed Oct 29, 2024
1 parent 82e33b2 commit 43d0f1a
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 137 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ members = ["clients/rust", "program"]
solana = "2.0.2"

[workspace.metadata.toolchains]
format = "nightly-2023-10-05"
lint = "nightly-2023-10-05"
format = "nightly-2024-05-02"
lint = "nightly-2024-05-02"
9 changes: 0 additions & 9 deletions clients/js/src/generated/errors/index.ts

This file was deleted.

51 changes: 0 additions & 51 deletions clients/js/src/generated/errors/loaderV3.ts

This file was deleted.

1 change: 0 additions & 1 deletion clients/js/src/generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
* @see https://github.com/kinobi-so/kinobi
*/

export * from './errors';
export * from './instructions';
export * from './programs';
20 changes: 0 additions & 20 deletions clients/rust/src/generated/errors/loader_v3.rs

This file was deleted.

4 changes: 0 additions & 4 deletions clients/rust/src/generated/errors/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@
//! to add features, then rerun kinobi to update it.
//!
//! <https://github.com/kinobi-so/kinobi>
pub(crate) mod loader_v3;

pub use self::loader_v3::LoaderV3Error;
7 changes: 0 additions & 7 deletions program/idl.json
Original file line number Diff line number Diff line change
Expand Up @@ -371,13 +371,6 @@
}
}
],
"errors": [
{
"code": 0,
"name": "Placeholder",
"msg": "This is a placeholder error"
}
],
"metadata": {
"origin": "shank",
"address": "CoreBPFLoaderUpgradeab1e1111111111111111111",
Expand Down
6 changes: 1 addition & 5 deletions program/src/entrypoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,5 @@ fn process_instruction(
accounts: &[AccountInfo],
input: &[u8],
) -> ProgramResult {
if let Err(error) = processor::process(program_id, accounts, input) {
error.print::<LoaderV3Error>();
return Err(error);
}
Ok(())
processor::process(program_id, accounts, input)
}
37 changes: 0 additions & 37 deletions program/src/error.rs

This file was deleted.

1 change: 0 additions & 1 deletion program/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#[cfg(all(target_os = "solana", feature = "bpf-entrypoint"))]
mod entrypoint;
pub mod error;
pub mod instruction;
pub mod processor;
pub mod state;
Expand Down

0 comments on commit 43d0f1a

Please sign in to comment.