From f9f7c9bbf6da4544d8c73ebb7a7605c4ab1fe358 Mon Sep 17 00:00:00 2001 From: 0xSpaceShard <0xSpaceShard@users.noreply.github.com> Date: Tue, 2 Jul 2024 12:41:37 +0000 Subject: [PATCH] Deploy website - based on 1d959080db5520f670ea5253b905c334d0e874e1 --- 404.html | 2 +- assets/js/a5ad27b1.a362d764.js | 1 - assets/js/a5ad27b1.d4614e14.js | 1 + ...ain.c770da5a.js => runtime~main.2d6b2a37.js} | 2 +- docs/0.0.6/account-impersonation/index.html | 2 +- docs/0.0.6/api/index.html | 2 +- docs/0.0.6/balance/index.html | 2 +- docs/0.0.6/blocks/index.html | 2 +- docs/0.0.6/category/running/index.html | 2 +- docs/0.0.6/dump-load-restart/index.html | 2 +- docs/0.0.6/forking/index.html | 2 +- docs/0.0.6/historic-state/index.html | 2 +- docs/0.0.6/intro/index.html | 2 +- docs/0.0.6/lite/index.html | 2 +- docs/0.0.6/postman/index.html | 2 +- docs/0.0.6/predeployed/index.html | 2 +- docs/0.0.6/running/cli/index.html | 2 +- docs/0.0.6/running/docker/index.html | 2 +- docs/0.0.6/running/install/index.html | 2 +- docs/0.0.6/server-config/index.html | 2 +- docs/0.0.6/starknet-time/index.html | 2 +- docs/0.0.7/account-impersonation/index.html | 2 +- docs/0.0.7/api/index.html | 2 +- docs/0.0.7/balance/index.html | 2 +- docs/0.0.7/blocks/index.html | 2 +- docs/0.0.7/category/running/index.html | 2 +- docs/0.0.7/dump-load-restart/index.html | 2 +- docs/0.0.7/forking/index.html | 2 +- docs/0.0.7/historic-state/index.html | 2 +- docs/0.0.7/intro/index.html | 2 +- docs/0.0.7/lite/index.html | 2 +- docs/0.0.7/postman/index.html | 2 +- docs/0.0.7/predeployed/index.html | 2 +- docs/0.0.7/running/cli/index.html | 2 +- docs/0.0.7/running/docker/index.html | 2 +- docs/0.0.7/running/install/index.html | 2 +- docs/0.0.7/server-config/index.html | 2 +- docs/0.0.7/starknet-time/index.html | 2 +- docs/0.1.1/account-impersonation/index.html | 2 +- docs/0.1.1/api/index.html | 2 +- docs/0.1.1/balance/index.html | 2 +- docs/0.1.1/blocks/index.html | 2 +- docs/0.1.1/category/running/index.html | 2 +- docs/0.1.1/dump-load-restart/index.html | 2 +- docs/0.1.1/forking/index.html | 2 +- docs/0.1.1/historic-state/index.html | 2 +- docs/0.1.1/intro/index.html | 2 +- docs/0.1.1/lite/index.html | 2 +- docs/0.1.1/postman/index.html | 2 +- docs/0.1.1/predeployed/index.html | 2 +- docs/0.1.1/running/cli/index.html | 2 +- docs/0.1.1/running/docker/index.html | 2 +- docs/0.1.1/running/install/index.html | 2 +- docs/0.1.1/server-config/index.html | 2 +- docs/0.1.1/starknet-time/index.html | 2 +- docs/account-impersonation/index.html | 2 +- docs/api/index.html | 2 +- docs/balance/index.html | 2 +- docs/blocks/index.html | 2 +- docs/category/running/index.html | 2 +- docs/dump-load-restart/index.html | 2 +- docs/forking/index.html | 2 +- docs/historic-state/index.html | 2 +- docs/intro/index.html | 2 +- docs/lite/index.html | 2 +- docs/next/account-impersonation/index.html | 2 +- docs/next/api/index.html | 2 +- docs/next/balance/index.html | 2 +- docs/next/blocks/index.html | 2 +- docs/next/category/running/index.html | 2 +- docs/next/dump-load-restart/index.html | 17 +++++++++-------- docs/next/forking/index.html | 2 +- docs/next/historic-state/index.html | 2 +- docs/next/intro/index.html | 2 +- docs/next/lite/index.html | 2 +- docs/next/postman/index.html | 2 +- docs/next/predeployed/index.html | 2 +- docs/next/running/cli/index.html | 2 +- docs/next/running/docker/index.html | 2 +- docs/next/running/install/index.html | 2 +- docs/next/server-config/index.html | 2 +- docs/next/starknet-time/index.html | 2 +- docs/postman/index.html | 2 +- docs/predeployed/index.html | 2 +- docs/running/cli/index.html | 2 +- docs/running/docker/index.html | 2 +- docs/running/install/index.html | 2 +- docs/server-config/index.html | 2 +- docs/starknet-time/index.html | 2 +- index.html | 2 +- markdown-page/index.html | 2 +- 91 files changed, 98 insertions(+), 97 deletions(-) delete mode 100644 assets/js/a5ad27b1.a362d764.js create mode 100644 assets/js/a5ad27b1.d4614e14.js rename assets/js/{runtime~main.c770da5a.js => runtime~main.2d6b2a37.js} (99%) diff --git a/404.html b/404.html index e08812067..38e6171df 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@
$ starknet-devnet --dump-on block --dump-path <PATH>
exit
mode (replace <HOST>
, <PORT>
and <PATH>
with your own):--dump-on
on startup. E.g. if you run Devnet in exit
mode, you can request dumping by sending POST
to /dump
or via JSON-RPC:$ starknet-devnet --dump-on exit --dump-path <PATH>
$ curl -X POST http://<HOST>:<PORT>/dump -d '{ "path": <PATH> }' -H "Content-Type: application/json"
JSON-RPC
{
"jsonrpc": "2.0",
"id": "1",
"method": "devnet_dump",
"params": {
"path": PATH
}
}
$ starknet-devnet --dump-on exit --dump-path <DEFAULT_PATH>
POST /dump
{
// optional; defaults to the path specified via CLI
"path": <PATH>
}
JSON-RPC
{
"jsonrpc": "2.0",
"id": "1",
"method": "devnet_dump",
"params": {
// optional; defaults to the path specified via CLI
"path": <PATH>
}
}
To load a preserved Devnet instance, the options are:
$ starknet-devnet --dump-path <PATH>
POST
to /load
or via JSON-RPC:curl -X POST http://<HOST>:<PORT>/load -d '{ "path": <PATH> }' -H "Content-Type: application/json"
JSON-RPC
{
"jsonrpc": "2.0",
"id": "1",
"method": "devnet_load",
"params": {
"path": PATH
}
}
Currently, dumping produces a list of received transactions that is stored on disk. Conversely, loading is implemented as the re-execution of transactions from a dump. This means that timestamps of StarknetBlock
will be different on each load.
POST /load
{ "path": <PATH> }
JSON-RPC
{
"jsonrpc": "2.0",
"id": "1",
"method": "devnet_load",
"params": {
"path": <PATH>
}
}
Currently, dumping produces a list of received transactions that is stored on disk. Conversely, loading is implemented as the re-execution of transactions from a dump. This means that timestamps of StarknetBlock
will be different on each load.
Dumping and loading are not guaranteed to work across versions. I.e. if you dumped one version of Devnet, do not expect it to be loadable with a different version.
If you dumped a Devnet utilizing one class for account predeployment (e.g. --account-class cairo0
), you should use the same option when loading. The same applies for dumping a Devnet in --block-generation-on demand
mode.