From 49d28acdaa4571f25465019516b78db8388063cf Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@matterlabs.dev>
Date: Wed, 26 Jun 2024 15:20:52 +0200
Subject: [PATCH] chore: add starting command to era-fee-withdrawer

Added an extra command to announce the start of the era-fee-withdrawer in the nix configuration. Updated flake.lock dependencies following the changes.
---
 container-era-fee-withdrawer.nix | 2 ++
 flake.lock                       | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/container-era-fee-withdrawer.nix b/container-era-fee-withdrawer.nix
index 6d6c44f..da94e5f 100644
--- a/container-era-fee-withdrawer.nix
+++ b/container-era-fee-withdrawer.nix
@@ -14,6 +14,8 @@ pkgs.callPackage nixsgx-flake.lib.mkSGXContainer {
   packages = [ efw.era-fee-withdrawer ];
   entrypoint = "${efw.era-fee-withdrawer}/bin/era-fee-withdrawer";
 
+  extraCmd = "echo Starting era-fee-withdrawer; gramine-sgx-sigstruct-view app.sig";
+
   isAzure = true;
 
   manifest = {
diff --git a/flake.lock b/flake.lock
index 7da2e76..d22507c 100644
--- a/flake.lock
+++ b/flake.lock
@@ -93,11 +93,11 @@
         "snowfall-lib": "snowfall-lib"
       },
       "locked": {
-        "lastModified": 1718961396,
-        "narHash": "sha256-RAyAHji/WLd7W/rMlDSC9XO5VREVFRuVo/LK0a9QIEI=",
+        "lastModified": 1719403531,
+        "narHash": "sha256-JYqPdAB393YZIndGs5om7EsLUha3fpLckb9RKjKN7Fg=",
         "owner": "matter-labs",
         "repo": "nixsgx",
-        "rev": "f6c55e4229be64e146679c2f77e48ba8351ba77b",
+        "rev": "3a272950fa21601f31e8ca8b4e4897975069a00a",
         "type": "github"
       },
       "original": {