Skip to content

chore: update controller and enable mkcert#239

Open
broody wants to merge 1 commit intomainfrom
update-controller
Open

chore: update controller and enable mkcert#239
broody wants to merge 1 commit intomainfrom
update-controller

Conversation

@broody
Copy link

@broody broody commented Sep 12, 2025

No description provided.

@vercel
Copy link

vercel bot commented Sep 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
explorer-sepolia Ready Ready Preview Sep 12, 2025 10:54pm
explorer-starknet Ready Ready Preview Sep 12, 2025 10:54pm

kariy added a commit that referenced this pull request Oct 23, 2025
Currently, the request for contract call execution via the
`starknet_call` RPC method is handled by the [`call`] utility function.
The function returns a `Result` where the error type is
[`ExecutionError`] which gets opaquely converted to
`StarknetApiError::ContractError` on the RPC side:


https://github.com/dojoengine/katana/blob/1b50ea8078185ad456fba80678919dcbf7712e06/crates/rpc/rpc/src/starknet/read.rs#L144-L149

Mapping the error entirely as a contract error is not the right
behaviour and doesn't follow the expected error types for the
`starknet_call` RPC method as defined by the [`spec`].

[`call`]:
https://github.com/dojoengine/katana/blob/1b50ea8078185ad456fba80678919dcbf7712e06/crates/rpc/rpc/src/starknet/blockifier.rs#L98-L118
[`ExecutionError`]:
https://github.com/dojoengine/katana/blob/1b50ea8078185ad456fba80678919dcbf7712e06/crates/executor/src/error.rs#L15-L18
[`spec`]:
https://github.com/starkware-libs/starknet-specs/blob/c2e93098b9c2ca0423b7f4d15b201f52f22d8c36/api/starknet_api_openrpc.json#L605-L619
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant