Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Dec 19, 2024
1 parent abc9b67 commit c9ae7e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/protobuf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ jobs:
git checkout $(git merge-base $BASE $HEAD) --recurse-submodules
working-directory: ./before
- name: compile before
run: |
pwd
ls -la
cargo check --manifest-path ./core/Cargo.toml --all-targets
run: cargo check --manifest-path ./core/Cargo.toml --all-targets
working-directory: ./before
- name: build before.binpb
run: >
Expand Down Expand Up @@ -83,4 +80,3 @@ jobs:
ls -la
buf breaking './after.binpb' --against './before.binpb' --exclude-path 'zksync/config/experimental.proto' \
--config '{"version":"v1","breaking":{"use":["WIRE_JSON","WIRE"]}}' --error-format 'github-actions'
2 changes: 1 addition & 1 deletion core/lib/contracts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const _FAIL_ON_RECEIVE_CONTRACT_FILE: &str =
"contracts/l1-contracts/artifacts/contracts/zksync/dev-contracts/FailOnReceive.sol/FailOnReceive.json";

fn home_path() -> PathBuf {
Workspace::locate().core()
Workspace::locate().core().join("..")
}

fn read_file_to_json_value(path: impl AsRef<Path> + std::fmt::Debug) -> Option<serde_json::Value> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub(crate) async fn build(shell: &Shell) -> anyhow::Result<()> {
let chain = ecosystem
.load_current_chain()
.context(MSG_CHAIN_NOT_FOUND_ERR)?;
let _dir_guard = shell.push_dir(&chain.link_to_code);
let _dir_guard = shell.push_dir(chain.link_to_code.join("core"));

logger::info(MSG_BUILDING_EN);

Expand Down

0 comments on commit c9ae7e2

Please sign in to comment.