Skip to content

Commit

Permalink
Merge pull request #117 from freespek/th/refactor
Browse files Browse the repository at this point in the history
Move non-commands to subdir
  • Loading branch information
thpani authored Aug 27, 2024
2 parents 3b8c487 + ddd5241 commit fb89c12
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { assert } from 'console'
import { ContractCallEntry } from './fetcher/storage.js'
import { ContractCallEntry } from '../fetcher/storage.js'

/**
* Expected monitor shape:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
scValToNative,
} from '@stellar/stellar-sdk'
import { Api } from '@stellar/stellar-sdk/rpc'
import { VerificationStatus } from './fetcher/storage.js'
import { VerificationStatus } from '../fetcher/storage.js'

/**
* @license
Expand Down
4 changes: 2 additions & 2 deletions solarkraft/src/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import {
storagePath,
VerificationStatus,
} from './fetcher/storage.js'
import { instrumentMonitor } from './instrument.js'
import { invokeAlert } from './invokeAlert.js'
import { instrumentMonitor } from './verifier/instrument.js'
import { invokeAlert } from './verifier/invokeAlert.js'

type Result<T> = Either<string, T>
type ApalacheResult = Result<void>
Expand Down
2 changes: 1 addition & 1 deletion solarkraft/test/e2e/invokeAlert.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { assert } from 'chai'
import { describe, it } from 'mocha'
import { spawn } from 'nexpect'

import { invokeAlert } from '../../src/invokeAlert.js'
import { invokeAlert } from '../../src/verifier/invokeAlert.js'
import { Keypair, Networks } from '@stellar/stellar-sdk'
import { VerificationStatus } from '../../src/fetcher/storage.js'

Expand Down
2 changes: 1 addition & 1 deletion solarkraft/test/unit/instrument.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
tlaJsonTypeOfPrimitive,
tlaJsonOfNative,
isTlaName,
} from '../../src/instrument.js'
} from '../../src/verifier/instrument.js'

import { instrumentedMonitor as expected } from './verify.instrumentedMonitor.js'
import { instrumentedMonitor as expected2 } from './verify.instrumentedMonitor2.js'
Expand Down

0 comments on commit fb89c12

Please sign in to comment.