mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-02-28 14:46:24 +00:00
fix: Fix path handling in script execution (#318)
This commit is contained in:
parent
760d4b4a53
commit
2272b5dbfd
@ -1,12 +1,11 @@
|
||||
|
||||
set -e
|
||||
|
||||
artifacts_path="$1"
|
||||
|
||||
check_abis() {
|
||||
for contract_name in "$@"; do
|
||||
diff $(./scripts/search_abi.sh "$artifacts_path" "$contract_name.json") "storage-contracts-abis/$contract_name.json"
|
||||
diff "$(./scripts/search_abi.sh "$artifacts_path" "$contract_name.json")" "storage-contracts-abis/$contract_name.json"
|
||||
done
|
||||
}
|
||||
check_abis DummyMarket DummyReward Flow PoraMine PoraMineTest FixedPrice ChunkLinearReward FixedPriceFlow
|
||||
|
||||
check_abis DummyMarket DummyReward Flow PoraMine PoraMineTest FixedPrice ChunkLinearReward FixedPriceFlow
|
||||
|
Loading…
Reference in New Issue
Block a user