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

feat(eth-bytecode-db): update verifier alliance schema to v1 #1134

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
refactor(verifier-alliance-database): remove repeated checks from tests
rimrakhimov committed Dec 12, 2024
commit ef22791ee7aa5e416bd98a842a72603144d21f8d
Original file line number Diff line number Diff line change
@@ -425,19 +425,14 @@ impl TestCase {
Some(Value::from(self.creation_transformations.clone())),
"invalid verified contract creation transformations"
);
assert_eq!(
verified_contract.creation_metadata_match,
Some(self.creation_metadata_match),
"invalid verified contract creation metadata match"
);

assert!(
verified_contract.runtime_match,
"invalid verified contract runtime match"
);
assert_eq!(
verified_contract.runtime_metadata_match,
Some(self.creation_metadata_match),
Some(self.runtime_metadata_match),
"invalid verified contract runtime metadata match"
);
assert_eq!(
@@ -450,11 +445,6 @@ impl TestCase {
Some(Value::from(self.runtime_transformations.clone())),
"invalid verified contract runtime transformations"
);
assert_eq!(
verified_contract.runtime_metadata_match,
Some(self.runtime_metadata_match),
"invalid verified contract runtime metadata match"
);

verified_contract
}

Unchanged files with check annotations Beta

FROM ghcr.io/blockscout/services-base:latest as chef

Check warning on line 1 in eth-bytecode-db/Dockerfile

GitHub Actions / Docker build and docker push / build-and-push

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
FROM chef AS plan
COPY . .
RUN cargo chef prepare --recipe-path recipe.json
FROM chef as cache

Check warning on line 7 in eth-bytecode-db/Dockerfile

GitHub Actions / Docker build and docker push / build-and-push

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
COPY --from=plan /app/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json
COPY --from=cache $CARGO_HOME $CARGO_HOME
RUN cargo build --release
FROM ubuntu:20.04 as run

Check warning on line 18 in eth-bytecode-db/Dockerfile

GitHub Actions / Docker build and docker push / build-and-push

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
RUN apt-get update && apt-get install -y libssl1.1 libssl-dev ca-certificates
WORKDIR /app