Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ require (
github.com/smartcontractkit/chain-selectors v1.0.104
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.11-0.20261005132539-b7d63d5fd549
github.com/smartcontractkit/chainlink-protos/billing/go v0.0.0-20251024234028-0988426d98f4
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260804191526-b7a850ae7648
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20261013212015-e622e8b83b6b
github.com/smartcontractkit/chainlink-protos/linking-service/go v0.0.0-20251002192024-d2ad9222409b
github.com/smartcontractkit/chainlink-protos/metering/go v0.0.0-20260710151514-27b5a126dabe
github.com/smartcontractkit/chainlink-protos/node-platform v0.0.0-20260709145319-7782fb89eb16
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 17 additions & 3 deletions pkg/capabilities/v2/chain-capabilities/evm/client.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion pkg/workflows/wasm/host/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,12 @@ func (m *module) Execute(ctx context.Context, req *sdkpb.ExecuteRequest, executo
case *sdkpb.ExecuteRequest_PreHook:
timeout = *m.cfg.PrehookTimeout
}
return runWasm(ctx, m, req, setMaxResponseSize, m.linkV2, executor, timeout)
start := time.Now()
result, err := runWasm(ctx, m, req, setMaxResponseSize, m.linkV2, executor, timeout)
if result != nil {
result.ComputeDurationMs = proto.Int64(time.Since(start).Milliseconds())
Comment thread
DylanTinianov marked this conversation as resolved.
}
return result, err
}

// callStart looks up and invokes the wasm module's _start function, but
Expand Down
1 change: 1 addition & 0 deletions pkg/workflows/wasm/host/standard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func TestStandardConfig(t *testing.T) {
return time.Now()
}).Maybe()
wrappedConfig := runWithBasicTrigger(t, mockExecutionHelper)
require.NotNil(t, wrappedConfig.ComputeDurationMs, "host reports the guest run duration")
wrappedValue := wrappedConfig.GetValue()
require.NotNil(t, wrappedValue, "Expected a value in the response")
actualConfig := wrappedConfig.GetValue().GetBytesValue()
Expand Down
Loading