Skip to content

Commit

Permalink
add nix dependency + fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
aalu1418 committed Oct 7, 2024
1 parent 2fff433 commit 3c0d7ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/open-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
go-version-file: "go.mod"
check-latest: true
cache: true
- uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run changes
id: run
run: ${{ inputs.run }}
Expand Down
1 change: 1 addition & 0 deletions pkg/solana/txm/txm_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ func TestTxm_Enqueue(t *testing.T) {
cfg := config.NewDefault()
mc := mocks.NewReaderWriter(t)
mc.On("SendTx", mock.Anything, mock.Anything).Return(solana.Signature{}, nil).Maybe()
mc.On("SimulateTx", mock.Anything, mock.Anything, mock.Anything).Return(&rpc.SimulateTransactionResult{}, nil).Maybe()
ctx := tests.Context(t)

// mock solana keystore
Expand Down

0 comments on commit 3c0d7ed

Please sign in to comment.