Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
feat: global state root 🔥 (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvolveArt authored Jun 28, 2023
1 parent 380d4d5 commit fea86ad
Show file tree
Hide file tree
Showing 30 changed files with 1,949 additions and 476 deletions.
114 changes: 24 additions & 90 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ cairo-vm = { git = "https://github.com/keep-starknet-strange/cairo-rs", branch =
starknet-crypto = { version = "0.5.1", default-features = false }
starknet-core = { version = "0.3.0", default-features = false }
starknet-ff = { version = "0.3.4", default-features = false }
poseidon_hash = { default-features = false, package = "poseidon", git = "https://github.com/EvolveArt/poseidon-rs", branch = "feature/no-std-refractor", features = [
"alloc",
] }
blockifier = { git = "https://github.com/keep-starknet-strange/blockifier", branch = "no_std-support", default-features = false }
starknet_api = { git = "https://github.com/keep-starknet-strange/starknet-api", branch = "no_std-support", features = [
"testing",
Expand All @@ -146,7 +143,7 @@ futures-timer = { version = "3.0.2", default-features = false }
serde = { version = "1.0.163", default-features = false }
serde_json = { version = "1.0.99", default-features = false }
serde_with = "2.3.3"
bitvec = { version = "0.17.4", default-features = false }
bitvec = { version = "1", default-features = false }
thiserror = "1.0.40"
thiserror-no-std = "2.0.2"
derive_more = { version = "0.99.17", default-features = false }
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,16 @@ In other words, while the absolute throughput numbers may not be reflective of
are what we focus on. This way, we can ensure that Madara is always improving,
and that we maintain a high standard of performance as the project evolves.

One can use flamegraph-rs to generate flamegraphs and look for
the performance bottlenecks of the system by running the following :

```bash
flamegraph --root --open -- ./target/release/madara --dev --pool-limit=100000 --pool-kbytes=500000 --rpc-methods=unsafe --rpc-cors=all --in-peers=0 --out-peers=1 --no-telemetry
```

In parallel to that, run `npm run test` within the `benchmarking` folder.
Once you stop the node, the flamegraph will open in your browser.

## 🌐 Connect to the dev webapp

Once your Madara node is up and running, you can connect to the Polkadot-JS Apps
Expand Down
Loading

0 comments on commit fea86ad

Please sign in to comment.