MCPcopy Create free account
hub / github.com/DNAProject/DNA / PreExecuteContract

Function PreExecuteContract

http/base/actor/ledger.go:91–93  ·  view source on GitHub ↗

PreExecuteContract from ledger

(tx *types.Transaction)

Source from the content-addressed store, hash-verified

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

Callers 1

AppendTxToPoolFunction · 0.85

Calls 1

PreExecuteContractMethod · 0.65

Tested by

no test coverage detected