ApeWorX / silverback

Blockchain automation library, and SDK for the Silverback Platform
https://apeworx.io/silverback
Apache License 2.0
88 stars 10 forks source link

Track `app.signer` transactions in `TaskResult` #88

Open fubuloubu opened 5 months ago

fubuloubu commented 5 months ago

Overview

We need a hook to show whether a task triggered a transaction by app.signer for deeper integration with platform monitoring

Specification

The app.signer should be a part of the system registration flow, so that we can reference transactions by app.signer's .nonce in the task recorder interface, which will allow us to index further downstream what transactions that a signer has made during execution (after it has fully settled).

Since it may be the case that we have auto-update functionality in "smart receipts" further down the road, and also that transactions may not actually be fully "mined" by the time the task is completed, it seems smartest to reference by .nonce in this fashion and to wait until a finalization threshold to record properties from the final transaction result

Dependencies

n/a

linear[bot] commented 5 months ago

SBK-463 Track `app.signer` transactions in `TaskResult`