Skip to content

Commit df58454

Browse files
committed
fix compiling errors
1 parent ce8054b commit df58454

File tree

5 files changed

+23
-11
lines changed

5 files changed

+23
-11
lines changed

pallets/phala/src/compute/vault.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ pub mod pallet {
543543
}
544544

545545
#[pallet::call_index(7)]
546-
#[pallet::weight(0)]
546+
#[pallet::weight({0})]
547547
#[frame_support::transactional]
548548
pub fn refresh_vault_lock_and_check(origin: OriginFor<T>, pid: u64) -> DispatchResult {
549549
let who = ensure_signed(origin.clone())?;

standalone/node/src/service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pub fn new_partial(
162162
})
163163
.transpose()?;
164164

165-
let executor = sc_service::new_native_or_wasm_executor(&config);
165+
let executor = sc_service::new_native_or_wasm_executor(config);
166166

167167
let (client, backend, keystore_container, task_manager) =
168168
sc_service::new_full_parts::<Block, RuntimeApi, _>(

standalone/prouter/Cargo.lock

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

standalone/pruntime/Cargo.lock

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

standalone/rpc/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ pub fn create_full<C, P, SC, B>(
152152
)?;
153153

154154
io.merge(
155-
SyncState::new(chain_spec, client.clone(), shared_authority_set, babe_worker_handle)?
155+
SyncState::new(chain_spec, client, shared_authority_set, babe_worker_handle)?
156156
.into_rpc(),
157157
)?;
158158

0 commit comments

Comments
 (0)