Skip to content

Commit

Permalink
penumbra: update proof spec to new multistore format
Browse files Browse the repository at this point in the history
  • Loading branch information
avahowell committed Dec 5, 2023
1 parent 4598b0e commit 0ce3002
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions relayer/chains/penumbra/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0ce3002

Please sign in to comment.