This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Restructure frame_benchmarking
macro related exports
#14787
Merged
paritytech-processbot
merged 51 commits into
master
from
jg/restructure-benchmarking-macro-related-exports
Aug 24, 2023
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
1dfc9b4
make reexports private
juangirini dccfaeb
make reexports private 2
juangirini 9706353
make reexports private for runtime-benchmarking
juangirini 7d6c124
make reexports private for try-runtime
juangirini 87fd6de
fix for try-runtime
juangirini 1ffc743
make reexports private for tests
juangirini 222b45d
rebase and fix conflicts
juangirini e795557
fmt
juangirini 4c9ef13
make reexports private for tests
juangirini 4d0b806
make reexports private for experimental
juangirini e32c82f
fix beefy
juangirini 4386de3
fix ui test
juangirini 54657c0
fix ui test
juangirini 3566961
fix benches
juangirini 08de067
Merge branch 'master' into jg/restructure-macro-related-exports
juangirini c419d4a
".git/.scripts/commands/fmt/fmt.sh"
b931ecb
fix contracts use
juangirini f4e5f55
wip
juangirini 4ecbfff
wip
juangirini b7eaa34
Merge remote-tracking branch 'origin/master' into jg/restructure-macr…
juangirini 095356c
do not reexport sp_api::metadata_ir
juangirini 3bc2ddc
Merge branch 'master' into jg/restructure-macro-related-exports
juangirini 3816fc4
fix CI checks
juangirini 32f74a6
fix support tests
juangirini 7d7d73b
".git/.scripts/commands/fmt/fmt.sh"
86ddd81
Update frame/support/src/lib.rs
juangirini 5d00dfd
import codec directly
juangirini a6a4e3d
fmt
juangirini 4df379c
Merge remote-tracking branch 'origin/master' into jg/restructure-macr…
d32e625
wip
juangirini 5eb43f1
wip
juangirini b09e913
remove benchmarking private exports
juangirini 50651b7
fix zepter warning
juangirini 6889b65
fix imports
juangirini 024765e
partially fix node-cli tests
juangirini 0fcc322
fix node-cli tests
juangirini 8c95104
Merge branch 'jg/restructure-macro-related-exports' into jg/restructu…
juangirini fdb2be4
fix node-cli build
juangirini 8c72509
fix zepter warning
juangirini fb6f332
fix test
juangirini 713a8ef
fix ui test
juangirini daf3dcb
Merge remote-tracking branch 'origin/master' into jg/restructure-macr…
ea40484
Merge branch 'jg/restructure-macro-related-exports' into jg/restructu…
juangirini e94e54b
Merge remote-tracking branch 'origin/master' into jg/restructure-macr…
96c726e
Merge remote-tracking branch 'origin/jg/restructure-macro-related-exp…
d8c10ce
Merge branch 'master' into jg/restructure-benchmarking-macro-related-…
juangirini 6398e06
Merge branch 'master' into jg/restructure-benchmarking-macro-related-…
juangirini 55f3ab2
fix ci
juangirini 08c6e5b
remove unnecessary imports
juangirini b6414ca
add import back
juangirini 0cd5bc9
add import back
juangirini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
|
||
#![cfg(feature = "runtime-benchmarks")] | ||
|
||
use super::*; | ||
use crate::benchmarks; | ||
use frame_system::Pallet as System; | ||
use sp_runtime::{ | ||
traits::{AppVerify, Hash}, | ||
RuntimeAppPublic, | ||
}; | ||
use sp_std::{vec, vec::Vec}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here again? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is actually required https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3434492
|
||
|
||
mod crypto { | ||
use sp_application_crypto::{app_crypto, sr25519, KeyTypeId}; | ||
|
@@ -110,7 +110,6 @@ benchmarks! { | |
|
||
#[cfg(test)] | ||
pub mod mock { | ||
use super::*; | ||
use sp_runtime::{testing::H256, BuildStorage}; | ||
|
||
type AccountId = u64; | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ | |
|
||
#![cfg(test)] | ||
|
||
use super::*; | ||
use frame_support::traits::ConstU32; | ||
use sp_runtime::{ | ||
testing::H256, | ||
|
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks wrong? I don't see any usage of the macro in here. Maybe some macro needs this? If yes, it should pull this in automatically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is expected here https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3434676