Skip to content

Commit

Permalink
update meta CI and test
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Sep 5, 2023
1 parent 8d015f0 commit 6d032ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
test:
strategy:
matrix:
meta-file: [src/concrete/OrderBook.meta.json, src/concrete/GenericPoolOrderBookFlashBorrower.meta.json]
meta-file: [src/concrete/OrderBook.meta.json, src/concrete/GenericPoolOrderBookV3FlashBorrower.meta.json, src/concrete/GenericPoolOrderBookV3ArbOrderTaker.meta.json, src/concrete/RouteProcessorOrderBookV3ArbOrderTaker.meta.json]
name: Test metadata
runs-on: ubuntu-latest
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ contract GenericPoolOrderBookV3FlashBorrowerTest is Test {
abi.encode(address(0), address(0), address(0))
);
bytes memory meta = vm.readFileBinary(GENERIC_POOL_ORDER_BOOK_FLASH_BORROWER_META_PATH);
console2.log("GenericPoolOrderBookFlashBorrowerTest meta hash:");
console2.log("GenericPoolOrderBookV3FlashBorrowerTest meta hash:");
console2.logBytes32(keccak256(meta));
implementation = address(
new GenericPoolOrderBookV3FlashBorrower(DeployerDiscoverableMetaV2ConstructionConfig(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: CAL
pragma solidity ^0.8.18;

string constant GENERIC_POOL_ORDER_BOOK_FLASH_BORROWER_META_PATH = "meta/GenericPoolOrderBookFlashBorrower.rain.meta";
string constant GENERIC_POOL_ORDER_BOOK_FLASH_BORROWER_META_PATH = "meta/GenericPoolOrderV3BookFlashBorrower.rain.meta";

0 comments on commit 6d032ec

Please sign in to comment.