Skip to content

Commit

Permalink
fix: fix ci by starting dev-ticker
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscotobar committed Oct 27, 2023
1 parent 1ef58df commit 622c231
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-iov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
ci_run zk
ci_run zk init
- name: restart dev-ticker
run: docker-compose -f docker-compose.ci.yml up dev-ticker
- name: start dev-ticker
run: docker-compose -f docker-compose.ci.yml up -d dev-ticker

- name: Toolchain info
run: |
Expand Down Expand Up @@ -85,8 +85,8 @@ jobs:
ci_run zk
ci_run zk init
- name: restart dev-ticker
run: docker-compose -f docker-compose.ci.yml restart dev-ticker
- name: start dev-ticker
run: docker-compose -f docker-compose.ci.yml up -d dev-ticker

- name: run-services
run: |
Expand Down
15 changes: 1 addition & 14 deletions core/bin/zksync_api/src/bin/providers/proxy_price_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,8 @@ mod fetch_coins_list_tests {
let body: Vec<CoinsListItem> = serde_json::from_slice(&body_bytes).unwrap();

let rif_token = body.iter().find(|coin| coin.id == "rif-token").unwrap();
let rbtc = body.iter().find(|coin| coin.id == "rootstock").unwrap();

assert_eq!(body.len(), 2);
assert_eq!(body.len(), 1);
assert_eq!(rif_token.name, "RIF Token");
assert_eq!(rif_token.symbol, "TRIF");
assert_eq!(
Expand All @@ -121,17 +120,5 @@ mod fetch_coins_list_tests {
.unwrap(),
RIF_TOKEN_TESTNET_ADDRESS
);
assert_eq!(rbtc.name, "Rootstock RSK");
assert_eq!(rbtc.symbol, "TRBTC");
assert_eq!(
rbtc.platforms
.as_ref()
.unwrap()
.get("rootstock")
.unwrap()
.as_ref()
.unwrap(),
RIF_TOKEN_TESTNET_ADDRESS
);
}
}

0 comments on commit 622c231

Please sign in to comment.