Conversation
Codecov Report
@@ Coverage Diff @@
## dev #854 +/- ##
==========================================
+ Coverage 92.12% 92.53% +0.41%
==========================================
Files 28 27 -1
Lines 7187 7155 -32
==========================================
Hits 6621 6621
+ Misses 566 534 -32
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Kailai-Wang
requested changes
Sep 23, 2022
Collaborator
Kailai-Wang
left a comment
There was a problem hiding this comment.
I believe there're still some basic problems:
- weights not used
- the runtime weights need benchmarking
- both litmus and litentry runtime weights need to be updated
…try/litentry-parachain into 855-refactor-benchmark-yml
Co-authored-by: Jinsipang <Jinsipang@users.noreply.github.com>
Kailai-Wang
requested changes
Oct 4, 2022
Kailai-Wang
approved these changes
Oct 4, 2022
Collaborator
Kailai-Wang
left a comment
There was a problem hiding this comment.
I approve it first, however, the weight calculation for acknowledge_proposal is incorrect.
And we should (almost) never modify the generated weights file manually.
I'll create another issue for better readability
Co-authored-by: Jinsipang <Jinsipang@users.noreply.github.com>
wangminqi
added a commit
that referenced
this pull request
Oct 11, 2022
* Types import and web3 signature verification for IMP mock (#850) * update rust toolchain for llvm15 * add web3 verification skeleton * implement verification * fix ecdsa verify * clippy fix and comments * minor comment update * debug: relocate migration file (#844) * debug: relocate migration file * debug: change runtime methpd public to private * debug: correct chain spec * debug: correct chain spec Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com> * Add tests for IMP mock (#856) * remove MrenclaveType * use oaep padding * add more testcases * add tests for verifying web3 identities * clippy fix * add cargofix * add GHA for benchmarking machine (#870) * Refactor benchmark yml (#868) * separate docker-build and benchmark * add if condition * remove stop instance for debugging * ssh debug * retry * more debugging * go back to normal routine * use reachability test for AWS instance * fix syntax * Initial VCMP impl (#857) * move tee-related primitives to primitives/ * rename and use ALICE * skeleton of vc-management pallet * add basic tests * minor comment update * add vcmp to runtime * cargo update * cargo update * use cargo pkgid for full-qualified pallet names * add benchmark at bridge and bridge transfer pallet (#854) * Fix some events triggered by token-bridge * fix some syntax * issue 794 add benchmark code * fix benchmark code * fix some syntax * about benchmark code * Chengcheng Shi * fix some syntax * add bridge-transfer weight file * add benchmark code at bridge and bridge transfer pallet * fix some syntax * add benchmark code at litentry and litmus * fix asset manager pallet benchmark code * temporarily chose to comment pallet_collator_selection out * Comment out the pallet_collator_selection module in the toml file * fix parachain-staking benchmark code * fix staking benchmark code * fix staking benchmark code * fix staking benchmark code * fix all benchmarks code * common the staking benchmark code * fix some syntax * commond the staking benchmarks * common staking benchmarks * fix syntax * Temporarily comment out the staking benchmark * Temporarily comment out the staking benchmark * Temporarily comment out the staking benchmark * separate docker-build and benchmark * add if condition * remove stop instance for debugging * ssh debug * retry * more debugging * go back to normal routine * use reachability test for AWS instance * fix syntax * [benchmarking bot] Auto commit generated weights files (#869) Co-authored-by: Jinsipang <Jinsipang@users.noreply.github.com> * Change the bridge-related weight configuration in runtime * fix bridge benchmark code * [benchmarking bot] Auto commit generated weights files (#875) Co-authored-by: Jinsipang <Jinsipang@users.noreply.github.com> Co-authored-by: Chengcheng Shi <root@LAPTOP-73QQ3GCK.localdomain> Co-authored-by: Kailai Wang <Kailai.Wang@hotmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jinsipang <Jinsipang@users.noreply.github.com> Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com> * Issue 871 Wrong weight calculation for acknowledge_proposal (#877) * fix bridge benchmarks code * fix some syntax * [benchmarking bot] Auto commit generated weights files (#878) Co-authored-by: Jinsipang <Jinsipang@users.noreply.github.com> * Change how weight is calculated * Change the weight * [benchmarking bot] Auto commit generated weights files (#879) Co-authored-by: Jinsipang <Jinsipang@users.noreply.github.com> Co-authored-by: Chengcheng Shi <root@LAPTOP-73QQ3GCK.localdomain> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jinsipang <Jinsipang@users.noreply.github.com> * Bump serde_json from 1.0.85 to 1.0.86 (#882) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.85 to 1.0.86. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](serde-rs/json@v1.0.85...v1.0.86) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add rococo for local dev (#880) * bug fix about chain identity * add CI/scripts for rococo * add rococo ts-tests * add --allow-fail to benchmark machine Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com> Co-authored-by: SCC <87012234+Jinsipang@users.noreply.github.com> Co-authored-by: Chengcheng Shi <root@LAPTOP-73QQ3GCK.localdomain> Co-authored-by: Kailai Wang <Kailai.Wang@hotmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jinsipang <Jinsipang@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The issue 794 benchmark update has been completed,and weight files were generated.