Skip to content

Commit 081c8eb

Browse files
committed
fix: append entrypoint contract to outputs regardless
1 parent 54ebc62 commit 081c8eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/state-processing/transactions.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ func (t TxVscCallContract) ExecuteTx(se common_types.StateEngine, ledgerSession
105105
w := wasm_runtime_ipc.New()
106106
w.Init()
107107

108+
// ensure entrypoint contract is appended to outputs regardless of state access or logs
109+
callSession.GetContractSession(t.ContractId)
110+
108111
ctxValue := contract_execution_context.New(contract_execution_context.Environment{
109112
ContractId: t.ContractId,
110113
ContractOwner: info.Owner,

0 commit comments

Comments
 (0)