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

Bump lcp to v0.2.10 #8

Merged
merged 5 commits into from
Oct 2, 2024
Merged

Conversation

junichi-tanaka
Copy link
Contributor

@junichi-tanaka junichi-tanaka commented Oct 1, 2024

@junichi-tanaka junichi-tanaka marked this pull request as ready for review October 2, 2024 00:59
e2e/Enclave.mk Outdated
@@ -130,6 +129,6 @@ $(Signed_RustEnclave_Name): $(RustEnclave_Name)

.PHONY: enclave
enclave:
@cd enclave && RUSTFLAGS=$(RUSTFLAGS) cargo build $(CARGO_TARGET) $(CARGO_FEATURES)
cd enclave && RUSTFLAGS=$(RUSTFLAGS) cargo build $(CARGO_TARGET) $(CARGO_FEATURES)
Copy link
Member

Choose a reason for hiding this comment

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

Is this change needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, it's my mistake. I'll revert it. 🙇🏼‍♂️

e2e/Enclave.mk Outdated
@@ -52,7 +49,8 @@ endif

SGX_COMMON_CFLAGS += -fstack-protector

CARGO_FEATURES = --features=default
ENCLAVE_CARGO_FEATURES = --features=default
APP_CARGO_FEATURES = --features=default
Copy link
Member

Choose a reason for hiding this comment

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

Looks like APP_CARGO_FEATURES is unused and not necessary. I think these changes (*_CARGO_FEATURES) are unnecessary.

# cargo-machete found the following unused dependencies in this directory:
# light-client -- ./e2e/lcp/modules/light-client/Cargo.toml:
# serde
lcp/
Copy link
Member

Choose a reason for hiding this comment

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

I didn't realize this. In cases where the ibc feature is not enabled, serde may not be necessary.

@@ -52,27 +49,20 @@ endif

SGX_COMMON_CFLAGS += -fstack-protector

CARGO_FEATURES = --features=default
Copy link
Member

Choose a reason for hiding this comment

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

@junichi-tanaka Can you also remove CARGO_FEATURES reference in enclave target?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bluele removed in 70106c3

@bluele bluele self-requested a review October 2, 2024 05:24
Copy link
Member

@bluele bluele left a comment

Choose a reason for hiding this comment

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

LGTM👍

@bluele bluele merged commit 394650b into datachainlab:main Oct 2, 2024
2 checks passed
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.

2 participants