Skip to content

Commit

Permalink
Revert "namespace first pass (#2891)" (#2892)
Browse files Browse the repository at this point in the history
This reverts commit ad43b04.
  • Loading branch information
trajan0x authored Jul 18, 2024
1 parent 9c697d8 commit 2f02af4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
id: filter_go
with:
github_token: ${{ secrets.WORKFLOW_PAT || secrets.GITHUB_TOKEN }}
fetch-tags: 'false'
timeout: '10m'

- name: Check For Solidity Changes
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/goreleaser-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: 'false'
submodules: 'recursive'

- uses: docker://ghcr.io/synapsecns/sanguine/git-changes-action:latest
id: filter_go
Expand All @@ -111,7 +111,7 @@ jobs:

# TODO: we may want to dry run this on prs
run-goreleaser:
runs-on: namespace-profile-fast-goreleaser
runs-on: ubuntu-latest
needs: [build-goreleaser,changes]
if: ${{ needs.changes.outputs.package_count > 0 }}
permissions:
Expand All @@ -130,7 +130,7 @@ jobs:
image: ${{ needs.build-goreleaser.outputs.goreleaser-image }}
volumes: [ /repo ]
steps:
- name: Git Checkout (gh)
- name: Git Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
Expand All @@ -146,7 +146,6 @@ jobs:
restore-keys: |
${{ runner.os }}-go-${{matrix.package}}
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v6
Expand Down
1 change: 0 additions & 1 deletion core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Core contains common libraries used across the synapse Go repositories.
## Directory Structure



<pre>
root
├── <a href="./bytemap">bytemap</a>: Implements a map using `[]rune` or `[]byte` instead of `string`
Expand Down
4 changes: 0 additions & 4 deletions docker/goreleaser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,3 @@ RUN apt-get update && apt-get install -y nodejs
RUN curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin

RUN rm -rf /var/lib/apt/lists/* /var/log/apt/* /tmp/* /var/tmp/*

RUN curl -fsSL https://get.namespace.so/cloud/install.sh | NS_ROOT=/usr/local/bin sh
ENV NS_ROOT=/usr/local/bin
ENV PATH=${PATH}:/usr/local/bin
1 change: 1 addition & 0 deletions services/rfq/guard/service/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func (g *Guard) handleBridgeRequestedLog(parentCtx context.Context, req *fastbri
defer func() {
metrics.EndSpanWithErr(span, err)
}()

originClient, err := g.client.GetChainClient(ctx, chainID)
if err != nil {
return fmt.Errorf("could not get correct omnirpc client: %w", err)
Expand Down

0 comments on commit 2f02af4

Please sign in to comment.