rooch icon indicating copy to clipboard operation
rooch copied to clipboard

[RPC] provide an API to simulate running the transaction

Open jolestar opened this issue 2 years ago • 1 comments

Provide an API to simulate running the transaction and get the transaction ChangeSet, Event, and TransactionExecutionInfo(GasUsed).

Refs

  • Aptos transactions/simulate: https://aptos.dev/nodes/aptos-api-spec#/
  • Starcoin contract.dry_run : https://github.com/starcoinorg/starcoin/blob/5772b323b08397875a3a0806307d7f6f6f735476/rpc/api/src/contract_api.rs#L35

jolestar avatar Jul 06 '23 15:07 jolestar

I want to try this task so that I can become more familiar with the storage of Rooch status, which will facilitate game status synchronization later.

yubing744 avatar Feb 01 '24 14:02 yubing744

#2380

jolestar avatar Aug 19 '24 01:08 jolestar