Skip to content

Commit

Permalink
tx fees diff support (#1083)
Browse files Browse the repository at this point in the history
* tx fees diff support

Signed-off-by: Dengjianping <djptux@gmail.com>

* Support all extrinsics in calamari, and update readme, tx fees sheet

Signed-off-by: Dengjianping <djptux@gmail.com>

* Skip reading readme

Signed-off-by: Dengjianping <djptux@gmail.com>

* [no ci]Add one more items to release doc

Signed-off-by: Dengjianping <djptux@gmail.com>

* [no ci]Update readme

Signed-off-by: Dengjianping <djptux@gmail.com>

* Fix some comments

Signed-off-by: Dengjianping <djptux@gmail.com>

* Update extrinsics for tx fee estimation

Signed-off-by: Dengjianping <djptux@gmail.com>

* Calculate tx fees by different multiplier

Signed-off-by: Dengjianping <djptux@gmail.com>

* Fix clippy

Signed-off-by: Dengjianping <djptux@gmail.com>

* Update extrinsics and tx fee data

Signed-off-by: Dengjianping <djptux@gmail.com>

* Support manta runtime

Signed-off-by: Dengjianping <djptux@gmail.com>

* Add missing file

Signed-off-by: Dengjianping <djptux@gmail.com>

* Add tx fee data

Signed-off-by: Dengjianping <djptux@gmail.com>

* [no ci]Add more pallets and update exsiting pallets

Signed-off-by: Dengjianping <djptux@gmail.com>

* Add more pallets and extrinsics

Signed-off-by: Dengjianping <djptux@gmail.com>

* Fix clippy and regenerate tx fees

Signed-off-by: Dengjianping <djptux@gmail.com>

---------

Signed-off-by: Dengjianping <djptux@gmail.com>
Co-authored-by: Georgi Zlatarev <45011053+ghzlatarev@users.noreply.github.com>
  • Loading branch information
Dengjianping and ghzlatarev committed Jul 19, 2023
1 parent 2e30f4f commit 05841c6
Show file tree
Hide file tree
Showing 12 changed files with 7,822 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ These checks should be performed on the codebase prior to freezing our release c
- [ ] Check that a draft release has been created on the [release page](https://github.com/Manta-Network/Manta/releases) and add relevant [release notes](#release-notes)
- [ ] Check that build artifacts have been added to the draft-release
- [ ] Promote the draft to a Pre-Release on github
- [ ] If there's any new extrinsic or pallet introduced, please add it to [runtime/calamari/src/diff_tx_fees.rs](../../runtime/calamari/src/diff_tx_fees.rs), then follow [tx-fees-data/README](../../runtime/calamari/tx-fees-data/README.md) to generate a new tx fees sheet.

# Deploy to internal testnets ( fast runtime )

Expand Down
31 changes: 31 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions runtime/calamari/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,11 @@ substrate-wasm-builder = { git = 'https://github.com/paritytech/substrate.git',

[dev-dependencies]
# Generic 3rd-party dependencies
csv = "1.2.1"
lazy_static = "1.4.0"
reqwest = { version = "0.11.6", features = ["blocking"] }
serde_json = "1.0"
version-compare = "0.1.1"

# Substrate 3rd-party dependencies
cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.37" }
Expand Down
Loading

0 comments on commit 05841c6

Please sign in to comment.