mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-10 10:05:17 +00:00
13 lines
322 B
Bash
Executable File
13 lines
322 B
Bash
Executable File
|
|
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"
|
|
done
|
|
}
|
|
check_abis DummyMarket DummyReward Flow PoraMine PoraMineTest FixedPrice ChunkLinearReward FixedPriceFlow
|
|
|