From 9cd10387d17c6ac82fc1705f8906a420248650b2 Mon Sep 17 00:00:00 2001 From: Dmitry Gusakov Date: Fri, 6 Oct 2023 12:18:29 +0400 Subject: [PATCH 1/2] feat: Update ET executed text --- .../e2e/__snapshots__/agent-easy-track.e2e-spec.ts.snap | 2 +- ethereum-governance/src/subagents/easy-track/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ethereum-governance/e2e/__snapshots__/agent-easy-track.e2e-spec.ts.snap b/ethereum-governance/e2e/__snapshots__/agent-easy-track.e2e-spec.ts.snap index a4901846..b345fdc4 100644 --- a/ethereum-governance/e2e/__snapshots__/agent-easy-track.e2e-spec.ts.snap +++ b/ethereum-governance/e2e/__snapshots__/agent-easy-track.e2e-spec.ts.snap @@ -9,7 +9,7 @@ Finding { "metadata": Object { "args": "362", }, - "name": "✅ EasyTrack: Motion executed", + "name": "✅ EasyTrack: Motion executed successfully 🎉", "protocol": "ethereum", "severity": 1, "type": 4, diff --git a/ethereum-governance/src/subagents/easy-track/constants.ts b/ethereum-governance/src/subagents/easy-track/constants.ts index 69a66089..bd84333c 100644 --- a/ethereum-governance/src/subagents/easy-track/constants.ts +++ b/ethereum-governance/src/subagents/easy-track/constants.ts @@ -66,7 +66,7 @@ export const EASY_TRACK_EVENTS_OF_NOTICE = [ address: EASY_TRACK_ADDRESS, event: MOTION_ENACTED_EVENT, alertId: "EASY-TRACK-MOTION-ENACTED", - name: "✅ EasyTrack: Motion executed", + name: "✅ EasyTrack: Motion executed successfully 🎉", description: (args: any) => `EasyTrack motion ${args._motionId} was enacted`, severity: FindingSeverity.Info, From 1f53f7099c43b4d6f912af3ee975ec4b964d9751 Mon Sep 17 00:00:00 2001 From: Dmitry Gusakov Date: Fri, 6 Oct 2023 12:20:53 +0400 Subject: [PATCH 2/2] fix: Tests --- .../e2e/__snapshots__/agent-easy-track.e2e-spec.ts.snap | 4 ++-- ethereum-governance/e2e/agent-easy-track.e2e-spec.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ethereum-governance/e2e/__snapshots__/agent-easy-track.e2e-spec.ts.snap b/ethereum-governance/e2e/__snapshots__/agent-easy-track.e2e-spec.ts.snap index b345fdc4..4393096a 100644 --- a/ethereum-governance/e2e/__snapshots__/agent-easy-track.e2e-spec.ts.snap +++ b/ethereum-governance/e2e/__snapshots__/agent-easy-track.e2e-spec.ts.snap @@ -4,10 +4,10 @@ exports[`agent-easy-track e2e tests should process tx with executed motion 1`] = Finding { "addresses": Array [], "alertId": "EASY-TRACK-MOTION-ENACTED", - "description": "EasyTrack motion 362 was enacted", + "description": "EasyTrack motion 495 was enacted", "labels": Array [], "metadata": Object { - "args": "362", + "args": "495", }, "name": "✅ EasyTrack: Motion executed successfully 🎉", "protocol": "ethereum", diff --git a/ethereum-governance/e2e/agent-easy-track.e2e-spec.ts b/ethereum-governance/e2e/agent-easy-track.e2e-spec.ts index 6272aa8a..32c1d29c 100644 --- a/ethereum-governance/e2e/agent-easy-track.e2e-spec.ts +++ b/ethereum-governance/e2e/agent-easy-track.e2e-spec.ts @@ -74,7 +74,7 @@ describe("agent-easy-track e2e tests", () => { "should process tx with executed motion", async () => { const findings = await runTransaction( - "0x9bbabb4891f324def5a0b073d89babaf7db84eb89d43afa46319ae7b377048c1", + "0x4f0b1a48a364bed1699979b581908f1f96396fc42b16fad066fa68d002a49580", ); expect(findings.at(0)).toMatchSnapshot(); },