File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
evm/contracts/apps/ucs/03-zkgm Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import "solady/utils/EfficientHashLib.sol";
1818import "../../Base.sol " ;
1919import "../../../core/04-channel/IBCPacket.sol " ;
2020import "../../../core/05-port/IIBCModule.sol " ;
21+ import "../../../core/24-host/IBCCommitment.sol " ;
2122
2223import "./IEurekaModule.sol " ;
2324import "./IZkgmERC20.sol " ;
@@ -1044,8 +1045,10 @@ contract UCS03Zkgm is
10441045 )
10451046 );
10461047 // Guaranteed to be unique by the above sendPacket
1047- bytes32 packetHash = IBCPacketLib.commitPacket (sentPacket);
1048- inFlightPacket[packetHash] = ibcPacket;
1048+ bytes32 commitmentKey = IBCCommitment.batchPacketsCommitmentKey (
1049+ IBCPacketLib.commitPacket (sentPacket)
1050+ );
1051+ inFlightPacket[commitmentKey] = ibcPacket;
10491052 return ZkgmLib.ACK_EMPTY;
10501053 }
10511054
You can’t perform that action at this time.
0 commit comments