From 8e00117b3fec4888040369d8af2ffa3850698652 Mon Sep 17 00:00:00 2001 From: PeepoFrog Date: Mon, 3 Jun 2024 00:46:25 +0300 Subject: [PATCH 1/2] fix: added missed code for interx init and start --- src/shidai/internal/commands/commands.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/shidai/internal/commands/commands.go b/src/shidai/internal/commands/commands.go index d2b4d5f..5059f44 100644 --- a/src/shidai/internal/commands/commands.go +++ b/src/shidai/internal/commands/commands.go @@ -6,6 +6,7 @@ import ( "net/http" "strconv" + interxhandler "github.com/kiracore/sekin/src/shidai/internal/interx_handler" mnemonicmanager "github.com/kiracore/sekin/src/shidai/internal/mnemonic_manager" sekaihandler "github.com/kiracore/sekin/src/shidai/internal/sekai_handler" configconstructor "github.com/kiracore/sekin/src/shidai/internal/sekai_handler/config_constructor" @@ -101,6 +102,14 @@ func handleJoinCommand(args map[string]interface{}) (string, error) { return "", fmt.Errorf("unable to start sekai: %w", err) } + err = interxhandler.InitInterx(ctx, masterMnemonic) + if err != nil { + return "", fmt.Errorf("unable to init interx: %w", err) + } + err = interxhandler.StartInterx() + if err != nil { + return "", fmt.Errorf("unable to start interx: %w", err) + } // Example of using the IP, and similar for other fields // This function would contain the logic specific to handling a join command return fmt.Sprintf("Join command processed for IP: %s", ip), nil From 2d06a1de77e84c30f2b52f451c4c98101861bedd Mon Sep 17 00:00:00 2001 From: PeepoFrog Date: Mon, 3 Jun 2024 00:52:46 +0300 Subject: [PATCH 2/2] fix: cidi fix --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c3cacf..8f01104 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,7 +125,7 @@ jobs: git config --global user.email "actions@github.com" git config --global user.name "GitHub Actions" git add compose.yml - git commit -m "feat(cidi_auto): Update compose.yml" \ + git commit -m "fix(cidi_auto): Update compose.yml" \ -m "Update image versions to ${{ steps.create_tag.outputs.new_tag }}" - git tag -a v${{ steps.create_tag.outputs.new_tag }} -m "Update image versions to ${{ steps.create_tag.outputs.new_tag }}" + git tag -a ${{ steps.create_tag.outputs.new_tag }} -m "Update image versions to ${{ steps.create_tag.outputs.new_tag }}" git push