Skip to content

Commit

Permalink
fix compiling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jasl committed May 11, 2023
1 parent ce8054b commit df58454
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pallets/phala/src/compute/vault.rs
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ pub mod pallet {
}

#[pallet::call_index(7)]
#[pallet::weight(0)]
#[pallet::weight({0})]
#[frame_support::transactional]
pub fn refresh_vault_lock_and_check(origin: OriginFor<T>, pid: u64) -> DispatchResult {
let who = ensure_signed(origin.clone())?;
Expand Down
2 changes: 1 addition & 1 deletion standalone/node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ pub fn new_partial(
})
.transpose()?;

let executor = sc_service::new_native_or_wasm_executor(&config);
let executor = sc_service::new_native_or_wasm_executor(config);

let (client, backend, keystore_container, task_manager) =
sc_service::new_full_parts::<Block, RuntimeApi, _>(
Expand Down
14 changes: 10 additions & 4 deletions standalone/prouter/Cargo.lock

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

14 changes: 10 additions & 4 deletions standalone/pruntime/Cargo.lock

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

2 changes: 1 addition & 1 deletion standalone/rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ pub fn create_full<C, P, SC, B>(
)?;

io.merge(
SyncState::new(chain_spec, client.clone(), shared_authority_set, babe_worker_handle)?
SyncState::new(chain_spec, client, shared_authority_set, babe_worker_handle)?
.into_rpc(),
)?;

Expand Down

0 comments on commit df58454

Please sign in to comment.