Skip to content

Commit

Permalink
Merge branch 'main' into get-anchor-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jtieri authored Dec 7, 2023
2 parents c20ae5b + dd40ff2 commit acbfe8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
2 changes: 1 addition & 1 deletion relayer/chains/penumbra/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func (cc *PenumbraProvider) Timeout() string {
}

func (cc *PenumbraProvider) CommitmentPrefix() commitmenttypes.MerklePrefix {
return commitmenttypes.NewMerklePrefix([]byte("PenumbraAppHash"))
return commitmenttypes.NewMerklePrefix([]byte("ibc-data"))
}

// Address returns the chains configured address as a string
Expand Down
23 changes: 1 addition & 22 deletions relayer/chains/penumbra/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -2018,28 +2018,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: false,
}

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 acbfe8d

Please sign in to comment.