Skip to content

Commit

Permalink
remove sudo migration and update vesting pallet Cargo.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Ferrell <[email protected]>
  • Loading branch information
ferrell-code committed Apr 15, 2024
1 parent 847a8ed commit 52cbf8e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 70 deletions.
4 changes: 2 additions & 2 deletions node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,12 +353,12 @@ pub fn run_with(cli: Cli) -> Result {
None => {
let runner = cli.create_runner(&cli.run.normalize())?;
let chain_spec = &runner.config().chain_spec;
let is_dev = chain_spec.is_localdev();
let is_localdev = chain_spec.is_localdev();
info!("id:{}", chain_spec.id());
let collator_options = cli.run.collator_options();

runner.run_node_until_exit(|config| async move {
if is_dev {
if is_localdev {
info!("⚠️ DEV STANDALONE MODE.");
return Err("Dev mode not support for current chain".into());
}
Expand Down
2 changes: 2 additions & 0 deletions pallets/vesting/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ runtime-benchmarks = [
'frame-system/runtime-benchmarks',
'pallet-timestamp/runtime-benchmarks',
'pallet-balances/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
'manta-primitives/runtime-benchmarks',
]
std = [
"codec/std",
Expand Down
2 changes: 1 addition & 1 deletion runtime/calamari/src/migrations/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
// You should have received a copy of the GNU General Public License
// along with Manta. If not, see <http://www.gnu.org/licenses/>.

pub mod sudo;
// put runtime migrations here. View git history for old migrations
67 changes: 0 additions & 67 deletions runtime/calamari/src/migrations/sudo.rs

This file was deleted.

0 comments on commit 52cbf8e

Please sign in to comment.