NEWTON

NEWTON


Popular tags

    Does anyone have an example of a positional request to `starknet_addInvokeTransaction` on devnet that is working?

    Asked

    4 months ago

    66

    views


    0

    Hello, I am facing an issue with starknet-devnet (v0.3.1) . I do not manage to run RPC starknet_addInvokeTransaction with positional parameters; yet it works with pathfinder and other vers like starknet_estimateFee. It returns int() can't convert non-string with explicit base. It is working fine on GOERLI. I have document the case on the repo https://github.com/Shard-Labs/starknet-devnet/issues/282. Does anyone have an example of a positional request to starknet_addInvokeTransaction on devnet that is working? The test inside the testsuite is also using named parameters. Thank you for your help

    This question was originally posted on StarkNet Discord

      goerlipathfinderdiscordcairo

    Newton

    asked

    4 months ago


    1 answers

    0

    Accepted answer

    That is a bug... I've proposed a fix https://github.com/Shard-Labs/starknet-devnet/pull/283 even if I assume you did what you did for a good reason. I will argue that the starknet_addInvokeTransaction is not compliant with the v0,1 rpc spec the way it is coded right now. Also, sorry to not provide a set of tests but I do not write Python code at all!

    This answer was originally posted on StarkNet Discord

    Newton

    answered

    4 months ago

    Your answer

    NEWTON

    NEWTON