8000 GitHub - saroupille/dedale: DAL performance tool
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

saroupille/dedale

Repository files navigation

dedale

7 millions bureau de vote

35k communes

35M votants

run local setup

In case of this error File "tezt/lib_cloud/dune", line 11, characters 2-7: 11 | dream ^^^^^ Error: Library "dream" not found.

then run

eval $(opam env)

//becareful I added 0 to the chain id ...

LOCAL (not working ...)

dune exec tezt/tests/cloud/main.exe -- dal cloud --etherlink -v --log-file /tmp/log --localhost --website --prometheus --grafana --tezt-cloud debian --etherlink-chain-id 1281230 --etherlink-dal-slots 0 --etherlink-dal-slots 1 --etherlink-dal-slots 2 --etherlink-dal-slots 3 --keep-alive

GCP CLOUD

dune exec tezt/tests/cloud/main.exe -- dal cloud --etherlink -v --log-file /tmp/log  --website --prometheus --grafana --tezt-cloud benjamin --dockerfile-alias debian --etherlink-chain-id 1281230 --etherlink-dal-slots 0 --etherlink-dal-slots 1 --etherlink-dal-slots 2 --etherlink-dal-slots 3 --keep-alive --max-run-duration 30000 --monitoring --machine-type n1-highmem-2

Aller chercher l'IP ici : http://localhost:8080/#debugging sur etherlink-operator et le port est visible dans le fichier /tmp/log , rechercher "run sequencer"

destroy

dune exec tezt/tests/cloud/main.exe -- cloud destroy --tezt-cloud benjamin -v

clean up

dune exec tezt/tests/cloud/main.exe -- cloud clean up --tezt-cloud benjamin -v

find an Etherlink account : etherlink/tezt/lib/eth_account.ml

public hash key : 0x6ce4d79d4E77402e1ef3417Fdda433aA744C6e1c private key : 0x9722f6cc9ff938e63f8ccb74c3daa6b45837e5c5e3835ac08c44c50ab5f39dc0

MM

ETHERLINK LOCAL 1281230 XTZ http://34.140.122.254:30007

run dapp

npx hardhat compile

npx hardhat vars set DEPLOYER_PRIVATE_KEY

yes | npx hardhat ignition deploy ignition/modules/Counter.ts --network etherlinkTestnet yes | npx hardhat ignition deploy ignition/modules/Referendum.ts --network etherlinkTestnet

0xd77420F73B4612a7A99DBA8c2AFd30a1886b0344

PROMETHEUS

  • Throughput (as seen by the sequencer): rate(octez_evm_node_transactions{job="etherlink-operator"}[20s])

  • Average cost per transaction over the last 10 minutes: label_replace(-deriv(tezt_etherlink_operator_balance_total[10m]), "transactions", "Etherlink", "app", "tezt") / on(transactions) deriv(octez_evm_node_transactions{job="etherlink-operator"}[10m])

  • size of L1 blocks, I used : octez_store_last_written_block_size{job="baker-0"}

  • nb dal attested tezt_dal_commitments_total blueprint_chunks_sent_on_inbox blueprint_chunks_sent_on_dal

DAL metrics

8 is attestation lag. The lag between the commitment of a slot is published and when the bakers are supposed to fetch the pieces of the slots they're assigned and attest it

Call RPC "GET /levels/<slot_level>/slots/<slot_index>/status" to get the status known about the given slot. RESPONSE : waiting_attestation, attested, or unattested

  • slot_index : 0 to 31
  • slot_level : L1 head + wait 2 x time between blocks (assuming blocks are baked at round 0)

About

DAL performance tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0