Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed Jan 28, 2024
1 parent 6b3eefb commit 903fb0e
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 25 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,18 @@ jobs:
npm install
npm run lint:docs:check
check-coverage:
name: Check Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
# RUN COVERAGE CHECK
- name: Coverage Check
run: |
npm install
node scripts/coverage/index.mjs
48 changes: 24 additions & 24 deletions docs/reference/mutations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,73 +9,73 @@ category: Reference

## `startSession`

### `startSession` `args`
**args:**

`id: ID!`
`id`: `ID!`

returns `Boolean!`

## `endSession`

### `endSession` `args`
**args:**

`id: ID!`
`id`: `ID!`

returns `Boolean!`

## `reset`

### `reset` `args`
**args:**

`id: ID!`
`id`: `ID!`

returns `Boolean!`

## `execute`

### `execute` `args`
**args:**

`id: ID!`
`id`: `ID!`

`op: String!`
`op`: `String!`

returns `Boolean!`

## `setSingleStepping`

### `setSingleStepping` `args`
**args:**

`id: ID!`
`id`: `ID!`

`enable: boolean`
`enable`: `boolean`

returns `Boolean!`

## `setBreakpoint`

### `setBreakpoint` `args`
**args:**

`id: ID!`
`id`: `ID!`

`breakpoint`: [`Breakpoint!`](/docs/reference/objects/#breakpoint)

returns `Boolean!`

## `startTx`

### `startTx` `args`
**args:**

`id: ID!`
`id`: `ID!`

`txJson: String!`
`txJson`: `String!`

returns `RunResult!`

## `continueTx`

### `continueTx` `args`
**args:**

`id: ID!`
`id`: `ID!`

returns `RunResult!`

Expand All @@ -85,20 +85,20 @@ A mutation that spins up a new temporary node from the current state and emulate
It returns a [`[Receipt!]!`](/docs/reference/objects/#receipt) for the emulated transaction.
You can optionally use UTXO validation.

### `dryRun` `args`
**args:**

`tx`: [`HexString!`](/docs/reference/scalars/#hexstring)

The transaction hex string.

`utxoValidation: Boolean`:
`utxoValidation`: `Boolean`:
Whether or not to use UTXO validation.

## `produceBlocks`

A mutation that produces blocks, that can be used for testing that requires block advancement. Returns a [`U32!`](/docs/reference/scalars/#u32).

### `produceBlocks` `args`
**args:**

`startTimestamp`: [`Tai64Timestamp!`](/docs/reference/scalars/#tai64timestamp)

Expand All @@ -112,8 +112,8 @@ The number of blocks to produce.

A mutation that submits transaction to the transaction pool and returns a [`Transaction!`](/docs/reference/objects/#transaction).

### `submit` `args`
**args:**

`tx:` [`HexString!`](/docs/reference/scalars/#hexstring)
`tx`: [`HexString!`](/docs/reference/scalars/#hexstring)

The transaction hex string.
2 changes: 1 addition & 1 deletion scripts/coverage/utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export function checkIfEqual(a, b) {
const bVal = b[index];
const isEqual = value.id === bVal.id && value.name === bVal.name;
if (!isEqual) {
console.log('!!!!!!NOT EQUAL!!!!');
console.log('*********NOT EQUAL*********');
console.log('VALUE A:', value);
console.log('VALUE B:', bVal);
}
Expand Down

0 comments on commit 903fb0e

Please sign in to comment.