From 1dbde8340960f1d4a6d0281f2b62df735ed2c4c4 Mon Sep 17 00:00:00 2001 From: evan-forbes Date: Wed, 26 Jul 2023 09:29:30 +0200 Subject: [PATCH] docs: add docs pointing to the code used to generated the plots --- specs/src/specs/resource_pricing.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specs/src/specs/resource_pricing.md b/specs/src/specs/resource_pricing.md index 453e600362..afe7753d0e 100644 --- a/specs/src/specs/resource_pricing.md +++ b/specs/src/specs/resource_pricing.md @@ -211,6 +211,8 @@ dot over the execution lifecycle of a given transaction. The y-axis is units of gas and the x-axis is cumulative gas consumption. The legend shows which color indicates what the cause of the gas consumption was. +This code used to trace gas consumption can be found in the `tools/gasmonitor` of the branch for [#2131](https://github.com/celestiaorg/celestia-app/pull/2131), and the script to generate the plots below can be found [here](https://gist.github.com/evan-forbes/948c8cf574f2f50b101c89a95ee1d43c) (warning: this script will not be maintained). + ### MsgSend Here we can see the gas consumption trace of a common send transaction for