From 0ce3002f2a3b7fc30479991fc70f2568eb723393 Mon Sep 17 00:00:00 2001 From: Ava Howell Date: Tue, 5 Dec 2023 13:37:16 -0800 Subject: [PATCH] penumbra: update proof spec to new multistore format --- relayer/chains/penumbra/tx.go | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/relayer/chains/penumbra/tx.go b/relayer/chains/penumbra/tx.go index dd90ac098..6529b95a6 100644 --- a/relayer/chains/penumbra/tx.go +++ b/relayer/chains/penumbra/tx.go @@ -2017,28 +2017,7 @@ var JmtSpec = &ics23.ProofSpec{ PrehashKeyBeforeComparison: true, } -var ApphashSpec = &ics23.ProofSpec{ - LeafSpec: &ics23.LeafOp{ - Prefix: nil, - Hash: ics23.HashOp_SHA256, - Length: ics23.LengthOp_NO_PREFIX, - PrehashKey: ics23.HashOp_NO_HASH, - PrehashValue: ics23.HashOp_NO_HASH, - }, - InnerSpec: &ics23.InnerSpec{ - Hash: ics23.HashOp_SHA256, - MaxPrefixLength: 0, - MinPrefixLength: 0, - ChildOrder: []int32{0, 1}, - ChildSize: 32, - EmptyChild: nil, - }, - MinDepth: 0, - MaxDepth: 1, - PrehashKeyBeforeComparison: true, -} - -var PenumbraProofSpecs = []*ics23.ProofSpec{JmtSpec, ApphashSpec} +var PenumbraProofSpecs = []*ics23.ProofSpec{JmtSpec, JmtSpec} // NewClientState creates a new tendermint client state tracking the dst chain. func (cc *PenumbraProvider) NewClientState(