You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When forwarding DEPLOY transactions to the sequencer gateway, the node incorrectly encodes constructor_calldata elements as hex strings, while the sequencer actually expects decimal representations.
(Let's take a moment to appreciate the inconsistencies in the gateway APIs lol)
Description
When forwarding
DEPLOY
transactions to the sequencer gateway, the node incorrectly encodesconstructor_calldata
elements as hex strings, while the sequencer actually expects decimal representations.(Let's take a moment to appreciate the inconsistencies in the gateway APIs lol)
This inconsistency is taken care of in starknet-rs:
(
FieldElement
serializes as decimal representation by default, so withoutserde_as
onconstructor_calldata
it just uses decimal.)Steps to reproduce
Send this request to a running node (adding in
abi
because of #369):Expected result
Transaction can be successfully submitted.
Actual result
Transaction submission fails with:
The text was updated successfully, but these errors were encountered: