Philippe ROSTAN

Results 90 comments of Philippe ROSTAN

I have started to work on this subject. Any Rust devs would immediately say : use Rust enums ; it's made for a such case. So, my idea is to...

I know how to generate in my tests a Success or a Reverted transaction response, with the response in `provider.getTransactionReceipt()`. But how to generate a Rejected response in a test?

What will be the benefits for the user ?

Are Starknet nodes already able to handle such batched requests? The JSON-RPC spec https://www.jsonrpc.org/specification#batch() is telling : > The Server MAY process a batch rpc call as a set of...

I have found this interesting doc of Ethereum node Geth : https://geth.ethereum.org/docs/interacting-with-geth/rpc/batch Similar spirit to mine.

Available for guide update.

Requested by users : https://discord.com/channels/793094838509764618/927918707613786162/1115479123347910656

Requested by users : https://discord.com/channels/793094838509764618/927918707613786162/1115479123347910656

Note that Contract interface is : https://github.com/starknet-io/starknet.js/blob/8e058fbd4d6f8f4ed6f098ff8e31c4bfca943fe7/src/contract/interface.ts#L115 and contract/default.ts is : https://github.com/starknet-io/starknet.js/blob/8e058fbd4d6f8f4ed6f098ff8e31c4bfca943fe7/src/contract/default.ts#L320 Return type is not consistent between interface and implementation. Should be corrected (`args` type also). Once corrected, this...

> > Once corrected, this type is used only in Account.execute() and Contract.invoke() ; both functions will pass a mandatory Starknet standard signature to invokeFunction(). > > So, it seems...