From 09a5d7f49429e0350930a5469ab133d521b91c15 Mon Sep 17 00:00:00 2001 From: cor Date: Mon, 20 May 2024 23:04:34 +0200 Subject: [PATCH] fix(hubble): complete abis --- evm/evm.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/evm/evm.nix b/evm/evm.nix index da8ab603c6..e56c1466fc 100644 --- a/evm/evm.nix +++ b/evm/evm.nix @@ -328,8 +328,16 @@ ${contracts}/out/OwnableIBCHandler.sol/OwnableIBCHandler.json \ ${contracts}/out/IBCChannelHandshake.sol/IBCChannelHandshake.json > ibc-handler.json - cat ${contracts}/out/Relay.sol/UCS01Relay.json | jq --compact-output '.abi' > ucs-01.json - cat ${contracts}/out/NFT.sol/UCS02NFT.json | jq --compact-output '.abi' > ucs-02.json + jq --compact-output --slurp 'map(.abi) | add' \ + ${contracts}/out/Relay.sol/IRelay.json \ + ${contracts}/out/Relay.sol/UCS01Relay.json \ + ${contracts}/out/Relay.sol/RelayLib.json \ + ${contracts}/out/Relay.sol/RelayPacketLib.json > ucs-01.json + + jq --compact-output --slurp 'map(.abi) | add' \ + ${contracts}/out/NFT.sol/NFTLib.json \ + ${contracts}/out/NFT.sol/NFTPacketLib.json \ + ${contracts}/out/NFT.sol/UCS02NFT.json > ucs-02.json '';