Skip to content

Commit 02a7df5

Browse files
committedJun 22, 2023
fix: bsd vs gnu compatibility
1 parent 65c3e0f commit 02a7df5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
 

‎contracts/scripts/console-init-chiado.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// .load scripts/console-init-chiado.ts
22
receiver = await ethers.getContract("VeaInboxArbToGnosisDevnet");
3-
// gateway = await ethers.getContract("ForeignGatewayOnGnosis");
4-
gateway = await ethers.getContractAt("ForeignGatewayOnGnosis", "0x8F1a2B8F9b04320375856580Fc6B1669Cb12a9EE");
3+
gateway = await ethers.getContract("ForeignGatewayOnGnosis");
54
weth = await ethers.getContract("WETH");
65
wethFaucet = await ethers.getContract("WETHFaucet");
76
wpnk = await ethers.getContract("WrappedPinakionV2");

‎contracts/scripts/docPostprocess.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
55
# Forge doc assumes that the code is in the top-level folder.
66
# We need to add contracts/ to the path
77
find $SCRIPT_DIR/../dist -type f \( -name "*.md" -o -name "*.html" \) \
8-
| xargs sed -i "" 's|\(github.com/kleros/kleros-v2/.*\)\(/src\)|\1/contracts\2|g'
8+
| xargs sed -i.bak 's|\(github.com/kleros/kleros-v2/.*\)\(/src\)|\1/contracts\2|g'
99

0 commit comments

Comments
 (0)