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

Fuck this whole web3.js thing #30062

Merged
merged 7 commits into from
Feb 1, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update file reference in custom_error.rs
  • Loading branch information
steveluscher committed Feb 1, 2023
commit 272b745c6eba2d534be3fe962b4b0d40b73402ff
2 changes: 1 addition & 1 deletion rpc-client-api/src/custom_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use {
thiserror::Error,
};

// Keep in sync with web3.js/src/errors.ts
// Keep in sync with https://github.com/solana-labs/solana-web3.js/blob/master/src/errors.ts
pub const JSON_RPC_SERVER_ERROR_BLOCK_CLEANED_UP: i64 = -32001;
pub const JSON_RPC_SERVER_ERROR_SEND_TRANSACTION_PREFLIGHT_FAILURE: i64 = -32002;
pub const JSON_RPC_SERVER_ERROR_TRANSACTION_SIGNATURE_VERIFICATION_FAILURE: i64 = -32003;
Expand Down