Skip to content

Commit f8aa0db

Browse files
authored
Change InvalidInboxEntry repr i64->i32 for jsonrpsee error compat (#532)
Changes repr of `InvalidInboxEntry` to `i32` for better conversion to `jsonrpsee::ErrorObjectOwned` error code
1 parent 8e0ebc6 commit f8aa0db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/rpc-types/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use derive_more;
2727
///
2828
/// Specs: <https://specs.optimism.io/interop/supervisor.html#protocol-specific-error-codes>
2929
#[derive(thiserror::Error, Debug, Clone, Copy, PartialEq, Eq, derive_more::TryFrom)]
30-
#[repr(i64)]
30+
#[repr(i32)]
3131
#[try_from(repr)]
3232
pub enum InvalidInboxEntry {
3333
// -3204XX DEADLINE_EXCEEDED errors

0 commit comments

Comments
 (0)