From fe7c601f2595ddae42e878fd56adeaad0d1088dd Mon Sep 17 00:00:00 2001 From: 0xSpaceShard <0xSpaceShard@users.noreply.github.com> Date: Thu, 19 Sep 2024 12:54:02 +0000 Subject: [PATCH] Deploy website - based on 765013727b7acd797a95a2f20524882f3e1df447 --- 404.html | 2 +- assets/js/{a5ad27b1.45ba4134.js => a5ad27b1.660fa43f.js} | 2 +- assets/js/bca784a7.09d406cb.js | 1 + assets/js/bca784a7.6d0a4228.js | 1 - .../js/{runtime~main.a6a3d067.js => runtime~main.674ddd26.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/examples/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 | 4 ++-- docs/next/examples/index.html | 2 +- docs/next/forking/index.html | 2 +- docs/next/gas/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 | 4 +++- docs/next/predeployed/index.html | 2 +- docs/next/restrictive/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 +- 95 files changed, 97 insertions(+), 95 deletions(-) rename assets/js/{a5ad27b1.45ba4134.js => a5ad27b1.660fa43f.js} (60%) create mode 100644 assets/js/bca784a7.09d406cb.js delete mode 100644 assets/js/bca784a7.6d0a4228.js rename assets/js/{runtime~main.a6a3d067.js => runtime~main.674ddd26.js} (98%) diff --git a/404.html b/404.html index 62d0dbc88..45a225dcd 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@
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.
Currently, dumping produces a list of reproducible Devnet actions (state-changing requests and transactions). 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. This is due to the nature of Devnet's dependencies, which prevent Devnet's state from being serialized.
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.
Loading a messaging contract is a dumpable event, meaning that, if you've enabled dumping, a messaging-contract-loading event will be dumped. Keep in mind that, if you rely on Devnet deploying a new contract, i.e. if you don't specify a contract address of an already deployed messaging contract, a new contract will be deployed at a new address on each loading of the dump. Read more about dumping here.
POST /postman/flush
JSON-RPC
{
"jsonrpc": "2.0",
"id": "1",
"method": "devnet_postmanFlush"
}
{ "dry_run": true }
JSON-RPC
{
"jsonrpc": "2.0",
"id": "1",
"method": "devnet_postmanFlush",
"params": {
"dry_run": true
}
}
A running L1 node is required if dry_run
is not set.
Flushing is not dumpable, meaning that, if you've enabled dumping, a flushing event will not itself be re-executed on loading. This is because it produces L2 messaging events that are themselves dumped. No L1-side actions are dumped, you need to take care of those yourself. Read more about dumping here.
This method of L1-L2 communication testing differs from how Starknet mainnet and testnets work. Taking L1L2Example.sol (originally from Starknet documentation, no longer available there):
constructor(IStarknetCore starknetCore_) public {
starknetCore = starknetCore_;
}