PreExecuteContract from ledger
(tx *types.Transaction)
| 89 | |
| 90 | //PreExecuteContract from ledger |
| 91 | func PreExecuteContract(tx *types.Transaction) (*cstate.PreExecResult, error) { |
| 92 | return ledger.DefLedger.PreExecuteContract(tx) |
| 93 | } |
| 94 | |
| 95 | func PreExecuteContractBatch(tx []*types.Transaction, atomic bool) ([]*cstate.PreExecResult, uint32, error) { |
| 96 | return ledger.DefLedger.PreExecuteContractBatch(tx, atomic) |
no test coverage detected