Skip to content

Commit cf2691a

Browse files
AlexKushnir1AlexKushnir1
and
AlexKushnir1
authored
docs: Updated outdated links (#247)
Co-authored-by: AlexKushnir1 <alex@alex-Precision-7510>
1 parent 1ed7aa1 commit cf2691a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ You cannot perform arbitrary mutation on contract state with transactions since
270270

271271
It is true that you can alter contract code, accounts, and access keys using normal transactions via the `DeployContract`, `CreateAccount`, and `AddKey` [actions](https://nomicon.io/RuntimeSpec/Actions.html?highlight=actions#actions). But this limits you to altering your own account or sub-account. `patchState` allows you to perform these operations on any account.
272272

273-
To see an example of how to do this, see the [patch-state test](https://github.com/near/workspaces-js/blob/main/__tests__/02.patch-state.ava.ts).
273+
To see an example of how to do this, see the [patch-state test](https://github.com/near/near-workspaces-js/blob/main/__tests__/ci-ignore-02.patch-state.ava.ts).
274274

275275
Time Traveling
276276
===============
@@ -280,7 +280,7 @@ In Sandbox-mode, you can forward time-related state (the block height, timestamp
280280
This means contracts which require time sensitive data do not need to sit and wait the same amount of time for blocks on the sandbox to be produced.
281281
We can simply just call the api to get us further in time.
282282

283-
For an example, see the [fast-forward test](./__tests__/08.fast-forward.ava.ts)
283+
For an example, see the [fast-forward test](./__tests__/09.fast-forward.ava.ts)
284284

285285
Note: `fastForward` does not speed up an in-flight transactions.
286286

@@ -289,7 +289,7 @@ Pro Tips
289289

290290
* `NEAR_WORKSPACES_DEBUG=true`run tests with this environment variable set to get copious debug output and a full log file for each Sandbox instance.
291291

292-
* `Worker.init` [config](https://github.com/near/workspaces-js/blob/main/packages/js/src/interfaces.ts) – you can pass a config object as the first argument to `Worker.init`. This lets you do things like:
292+
* `Worker.init` [config](https://github.com/near/near-workspaces-js/blob/1ed7aa1579af53c87086f09f92cc0c3df02743d4/packages/js/src/types.ts#L73) – you can pass a config object as the first argument to `Worker.init`. This lets you do things like:
293293

294294
* skip initialization if specified data directory already exists (the default behavior)
295295

0 commit comments

Comments
 (0)