Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bc-worker build #2661

Merged
merged 2 commits into from
Apr 12, 2024
Merged

Fix bc-worker build #2661

merged 2 commits into from
Apr 12, 2024

Conversation

Traf333
Copy link
Contributor

@Traf333 Traf333 commented Apr 12, 2024

Context

this PR fixes missing usage of type

   --> src/rpc/worker_api_direct.rs:346:46
    |
346 | ...                   return match GLOBAL_SCHEDULED_ENCLAVE.update(bn, enclave_to_set) {
    |                                                             ^^^^^^ method not found in `GLOBAL_SCHEDULED_ENCLAVE`
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
18  | use lc_scheduled_enclave::ScheduledEnclaveUpdater;

was broken by this PR

@Traf333 Traf333 requested a review from a team April 12, 2024 14:24
Copy link
Member

@kziemianek kziemianek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I've added feature checks in linked PR.

@kziemianek kziemianek merged commit 73dff69 into dev Apr 12, 2024
29 checks passed
@Kailai-Wang Kailai-Wang deleted the fix-bitacross-rpc branch April 12, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants